CVE-2026-125235FFmpeg FFmpeg Heap-based Buffer Overflow
NVD
Vulnerability Summary
FFmpeg through 9.0.2 contains a heap overflow vulnerability in libavcodec/qsvenc.c that allows attackers to corrupt memory by reusing an undersized pooled QSVFrame buffer when input dimensions increase. Attackers can supply crafted input whose resolution grows mid-stream, transcoded with Intel Quick Sync encoders without rescaling, to crash the application or corrupt heap memory.
CVSS v4.0 Base Metrics — Score 7.3 (HIGH)
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NAttack VectorLocal
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredNone
User InteractionPassive
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 7.0)
CVSS v3.1 Base Metrics — Score 7.0 (HIGH)
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HAttack VectorLocal
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- FFmpeg FFmpeg <= 9.0.2
- FFmpeg FFmpeg 9.0.2
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run FFmpeg FFmpeg and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 9, 2026Published
- Nov 10, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new FFmpeg FFmpeg CVEsYou are reading CVE-2026-125235. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25682
- Patchhttps://github.com/FFmpeg/FFmpeg/commit/9b99973b2bbecee0b7e1e57035b95498b42f54a6
- Referencehttps://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/qsvenc.c#L2081
- Referencehttps://github.com/FFmpeg/FFmpeg
- Referencehttps://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-overflow-via-qsv-encoder-submit-frame
Data last checked: Nov 13, 2026 21:28 UTC