FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in ff_llvidenc_diff_bytes_rvv() that allows attackers to corrupt heap memory by triggering negative length values in the Huffyuv encoder. Attackers can supply RGB video narrower than 8 or 16 pixels for huffyuv transcoding on RVV-enabled RISC-V builds, causing writes past the encoder's temp buffer.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"ffmpeg:ffmpeg": [
"<= 9.0.2"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125256",
"id": "CVE-2026-125256",
"imported": "2026-12-02T20:13:53.530Z",
"modified": "2026-11-30T16:20:54.813Z",
"published": "2026-11-09T20:18:11.790Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-125256"
},
{
"html_url": "https://github.com/advisories/GHSA-4x88-99x2-vh7g",
"id": "GHSA-4x88-99x2-vh7g",
"imported": "2026-12-02T20:15:17.709Z",
"modified": "2026-11-09T21:32:05Z",
"published": "2026-11-09T21:32:04Z",
"url": "https://api.github.com/advisories/GHSA-4x88-99x2-vh7g"
},
{
"affected": {
"FFMPEG:FFmpeg": [
"7.0 ≤9.0.2"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-120206",
"id": "EUVD-2026-120206",
"imported": "2026-12-02T20:13:54.813Z",
"modified": "2026-11-10T16:08:09Z",
"published": "2026-11-09T19:12:00Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-120206"
}
]
}