FFmpeg through 9.0.2 contains a heap out-of-bounds read vulnerability in v4l2_buffer_swframe_to_buf() in libavcodec/v4l2_buffers.c that mishandles frames with negative linesize. Attackers can supply bottom-up AVI or PNM/PFM files that are transcoded to a V4L2 M2M encoder, crashing the application or leaking heap memory into encoded output.
{
"license": "CC-BY-4.0",
"overridden_affected": {
"FFMPEG:FFmpeg": [
"0 ≤9.0.2"
],
"ffmpeg:ffmpeg": [
"<= 9.0.2"
]
},
"sources": [
{
"affected": {
"ffmpeg:ffmpeg": [
"<= 9.0.2"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125270",
"id": "CVE-2026-125270",
"imported": "2026-12-02T20:13:53.545Z",
"modified": "2026-11-25T15:06:50.797Z",
"published": "2026-11-09T20:18:13.843Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-125270"
},
{
"html_url": "https://github.com/advisories/GHSA-mjj3-3wfp-gvm7",
"id": "GHSA-mjj3-3wfp-gvm7",
"imported": "2026-12-02T20:16:40.166Z",
"modified": "2026-11-09T21:32:15Z",
"published": "2026-11-09T21:32:08Z",
"url": "https://api.github.com/advisories/GHSA-mjj3-3wfp-gvm7"
},
{
"affected": {
"FFMPEG:FFmpeg": [
"0 ≤9.0.2"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-120220",
"id": "EUVD-2026-120220",
"imported": "2026-12-02T20:13:54.766Z",
"modified": "2026-11-13T13:06:56Z",
"published": "2026-11-09T19:12:10Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-120220"
}
]
}