{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.18.0"
              },
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.19.0"
              },
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.20.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "06fa5325f8b3cd42e6fba3d57835d5924c9ea2e7"
            },
            {
              "introduced": "0"
            },
            {
              "last_affected": "00b8a5f15c7d671cdf107c3d01e71a729581d1cd"
            },
            {
              "introduced": "0"
            },
            {
              "last_affected": "ab3b175848fa6cd8b2340809631e30bc0fe1d136"
            },
            {
              "fixed": "baee906ef35b99283f9a1a060a2ce5ac86159b63"
            }
          ],
          "repo": "https://github.com/libretro/retroarch",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "A flaw has been found in libretro RetroArch 1.18.0/1.19.0/1.20.0. This affects the function filestream_vscanf of the file libretro-common/streams/file_stream.c. This manipulation causes out-of-bounds read. The attack needs to be launched locally. Upgrading to version 1.21.0 mitigates this issue. It is recommended to upgrade the affected component.",
  "id": "CVE-2025-9136",
  "modified": "2026-04-01T23:08:39.520703659Z",
  "published": "2025-08-19T12:15:27.390Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/?id.320516"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/?submit.617657"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/libretro/RetroArch/releases/tag/v1.21.0"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/?ctiid.320516"
    },
    {
      "type": "FIX",
      "url": "https://github.com/libretro/RetroArch/pull/17555"
    },
    {
      "type": "FIX",
      "url": "https://github.com/libretro/RetroArch/pull/17555#issuecomment-2651403849"
    },
    {
      "type": "FIX",
      "url": "https://github.com/libretro/RetroArch/pull/17555/commits/6446f045ec7fc6a5cac3e8ec35a2f0a5889c88e8"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}