Code execution via undersized BWDIF chroma planes
Published Apr 19, 2024 · Updated Nov 4, 2025
Heap-based buffer overflow in FFmpeg n6.1-3-g466799d4f5 allows local users to execute arbitrary code through crafted video input. BWDIF validates only the luma dimensions, so a chroma-subsampled frame can pass the minimum-size check even when its chroma planes are too small, causing out-of-bounds heap writes. Processing that frame with the BWDIF deinterlacing filter is required, and successful exploitation executes code in the FFmpeg process.
Summary
What happened
Heap-based buffer overflow in FFmpeg n6.1-3-g466799d4f5 allows local users to execute arbitrary code through crafted video input. BWDIF validates only the luma dimensions, so a chroma-subsampled frame can pass the minimum-size check even when its chroma planes are too small, causing out-of-bounds heap writes. Processing that frame with the BWDIF deinterlacing filter is required, and successful exploitation executes code in the FFmpeg process.
The record
- CVE
- CVE-2023-49502
- Published
- Apr 19, 2024
- Updated
- Nov 4, 2025
- Vendor
- FFmpeg
- Product
- FFmpeg
- Classifications
- CWE-120, T1203
- Attack vector
- Unavailable
- Privileges
- Unavailable
Timeline
How it unfolded
- Apr 19, 2024CVE publishedPublication date reported by the CVE source.
- Nov 4, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=v.n6.1-3-g466799d4f5
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo