CVE-2026-65704: FFmpeg 8.1.2 Out-of-Bounds Write via TY Demuxer and Shorten Decoder

Published Jul 23, 2026
·
Updated

FFmpeg through 8.1.2 contains an out-of-bounds write vulnerability that allows attackers to cause heap corruption by supplying a crafted ffconcat file processed with the -safe 0 flag. The TY demuxer's demuxaudio() function decrements packet size without bounds checking, producing a negative size value that is passed to memcpy() in shortendecodeframe(), where conversion to sizet wraps the value to near SIZEMAX and triggers reads beyond the source allocation and writes far beyond the Shorten decoder's bitstream buffer.

Affected Software

1 affected component
FFmpeg FFmpeg<=8.1.2

Event History

Jul 23, 2026
CVE Published
via MITRE·06:55 PM
Data Sourced
via MITRE·06:55 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
DescriptionSeverityWeakness
Sep 25, 58532
Event
via NVD·11:35 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-65704?

CVE-2026-65704 has a high severity rating of 7.8.

2

How do I fix CVE-2026-65704?

To fix CVE-2026-65704, upgrade to FFmpeg version 8.1.3 or later.

3

What type of vulnerability is CVE-2026-65704?

CVE-2026-65704 is an out-of-bounds write vulnerability.

4

What software is affected by CVE-2026-65704?

CVE-2026-65704 affects FFmpeg versions up to and including 8.1.2.

5

What can attackers do with CVE-2026-65704?

Attackers can exploit CVE-2026-65704 to cause heap corruption through a crafted ffconcat file.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203