{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.1.2"
                  },
                  {
                    "last_affected": "3.2.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "34486847a607540ce9ef5fbe20979c7140bf8c82"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "da02588817a565fccfa60fa2f0bb661a3c77b8f0"
            },
            {
              "last_affected": "72a81869b45e249e8e67102db4e98dd2441f05a1"
            },
            {
              "fixed": "34486847a607540ce9ef5fbe20979c7140bf8c82"
            }
          ],
          "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-122329.json"
  },
  "details": "SDL_mixer 3.1.2 through 3.2.4 contains a stack-based buffer overflow in FetchXLaw() in src/decoder_aiff.c due to miscalculated output offsets when expanding A-law or mu-law samples. Attackers can supply a crafted AIFF-C file that overwrites roughly 1 KB of adjacent stack memory when decoded, causing crashes or potential code execution.",
  "id": "CVE-2026-122329",
  "modified": "2026-11-05T21:16:18.679337443Z",
  "published": "2026-11-05T15:11:47.851Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122329.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_aiff.c#L535-536"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_aiff.c#L86-97"
    },
    {
      "type": "FIX",
      "url": "https://github.com/libsdl-org/SDL_mixer/commit/34486847a607540ce9ef5fbe20979c7140bf8c82"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/libsdl-org/SDL_mixer/issues/907"
    },
    {
      "type": "ADVISORY",
      "url": "https://hackmd.io/@haindpwn/sdl-mixer-fetchxlaw-stack-overflow"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-122329"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/sdl-mixer-3.1.2-through-3.2.4-stack-based-buffer-overflow-via-fetchxlaw-in-aiff-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 AIFF Decoder"
}