FFmpeg before 8.1.3 and 9.x before 9.0.2 contains an out-of-bounds read vulnerability in put_vector() in libavcodec/vorbisenc.c when NaN samples leave the codebook entry at -1. Attackers can supply audio with NaN float samples to the native Vorbis encoder, causing heap reads before arrays that crash the application or leak adjacent heap memory into output.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"ffmpeg:ffmpeg": [
"< 8.1.3",
">= 9.0, < 9.0.2"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125228",
"id": "CVE-2026-125228",
"imported": "2026-12-02T20:13:53.436Z",
"modified": "2026-11-30T15:48:59.417Z",
"published": "2026-11-09T19:17:00.540Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-125228"
},
{
"html_url": "https://github.com/advisories/GHSA-fcxc-3rc8-vgxj",
"id": "GHSA-fcxc-3rc8-vgxj",
"imported": "2026-12-02T20:15:17.380Z",
"modified": "2026-11-09T21:32:06Z",
"published": "2026-11-09T21:31:59Z",
"url": "https://api.github.com/advisories/GHSA-fcxc-3rc8-vgxj"
},
{
"affected": {
"FFMPEG:FFmpeg": [
"0 <8.1.3",
"9.0 <9.0.2"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-120178",
"id": "EUVD-2026-120178",
"imported": "2026-12-02T20:13:54.829Z",
"modified": "2026-11-10T15:58:40Z",
"published": "2026-11-09T19:11:40Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-120178"
}
]
}