FFmpeg through 9.0.2 contains an out-of-bounds write vulnerability in v4l2_buffer_swframe_to_buf() in libavcodec/v4l2_buffers.c because cumulative plane offsets are not checked against the V4L2 buffer length. Attackers can supply crafted video whose dimensions or padding cause unsigned wraparound in v4l2_bufref_to_buf(), making memcpy() write past the mmaped driver buffer during V4L2 M2M encoding.
{
"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-125208",
"id": "CVE-2026-125208",
"imported": "2026-12-02T20:13:53.415Z",
"modified": "2026-11-30T16:11:42.543Z",
"published": "2026-11-09T19:16:57.493Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-125208"
},
{
"html_url": "https://github.com/advisories/GHSA-4rxc-7q96-c86h",
"id": "GHSA-4rxc-7q96-c86h",
"imported": "2026-12-02T20:16:02.790Z",
"modified": "2026-11-09T21:31:57Z",
"published": "2026-11-09T21:31:56Z",
"url": "https://api.github.com/advisories/GHSA-4rxc-7q96-c86h"
},
{
"affected": {
"FFMPEG:FFmpeg": [
"0 ≤9.0.2"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-120297",
"id": "EUVD-2026-120297",
"imported": "2026-12-02T20:13:54.821Z",
"modified": "2026-11-10T16:04:13Z",
"published": "2026-11-09T19:11:25Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-120297"
}
]
}