{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.1.2"
                  },
                  {
                    "last_affected": "3.2.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "df966f698e18ae849bd92796a26311e79c555718"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "da02588817a565fccfa60fa2f0bb661a3c77b8f0"
            },
            {
              "last_affected": "72a81869b45e249e8e67102db4e98dd2441f05a1"
            },
            {
              "fixed": "df966f698e18ae849bd92796a26311e79c555718"
            }
          ],
          "repo": "https://github.com/libsdl-org/sdl_mixer",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-121"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122328.json"
  },
  "details": "SDL_mixer 3.1.2 through 3.2.4 contains a stack-based buffer overflow vulnerability in FetchXLaw() of src/decoder_wav.c when decoding A-law or mu-law WAV files. Attackers can supply a crafted WAV file whose doubly-offset float expansion overwrites about 1 KB of adjacent stack memory, causing crashes or potentially code execution.",
  "id": "CVE-2026-122328",
  "modified": "2026-11-05T21:15:34.090509912Z",
  "published": "2026-11-05T15:11:47.143Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122328.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/libsdl-org/SDL_mixer"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c#L1658-1659"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c#L750-761"
    },
    {
      "type": "FIX",
      "url": "https://github.com/libsdl-org/SDL_mixer/commit/df966f698e18ae849bd92796a26311e79c555718"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/libsdl-org/SDL_mixer/issues/907"
    },
    {
      "type": "FIX",
      "url": "https://github.com/libsdl-org/SDL_mixer/pull/910"
    },
    {
      "type": "ADVISORY",
      "url": "https://hackmd.io/@haindpwn/sdl-mixer-fetchxlaw-stack-overflow"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-122328"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/sdl-mixer-3.1.2-through-3.2.4-stack-based-buffer-overflow-via-fetchxlaw-in-wav-decoder"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "SDL_mixer 3.1.2 through 3.2.4 Stack-based Buffer Overflow via FetchXLaw() in WAV Decoder"
}