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 demux_audio() function decrements packet size without bounds checking, producing a negative size value that is passed to memcpy() in shorten_decode_frame(), where conversion to size_t wraps the value to near SIZE_MAX and triggers reads beyond the source allocation and writes far beyond the Shorten decoder's bitstream buffer.
CVE-2026-65704
Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2026-07-23. a secondary CVSS source baseline 7.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.8
- EG Score
- 7.8(medium)
- EG Risk
- 35(Track)EG Risk 35/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity78% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 2%
- KEV
- Not listed
Published
July 23, 2026
Last Modified
August 7, 2026
Advisory Details (3)
Auto-updated Jul 23, 2026FFmpeg 8.1.2 Out-of-Bounds Write via TY Demuxer and Shorten Decoder | Advisories | VulnCheck
https://www.vulncheck.com/advisories/ffmpeg-out-of-bounds-write-via-ty-demuxer-and-shorten-decoderavformat/ty: don't let the Series2 AC3 trim underflow the packet size · de771bd527 - FFmpeg/FFmpeg - FFmpeg Forgejo
https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/de771bd52774a52d45b0e2c82e56995a1ef40df7#23767 - avformat/ty: don't let the Series2 AC3 trim underflow the packet size - FFmpeg/FFmpeg - FFmpeg Forgejo
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23767Vendor Advisories for CVE-2026-65704(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(2)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | libswscale7 (7:6.1.1-3ubuntu5+esm13) @ noble | 2026-09-14 | ubuntu |
| ubuntu | libswscale9 (7:8.0.1-3ubuntu2+esm4) @ resolute | 2026-09-14 | ubuntu |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(4 across 4 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| ffmpeg | 7:4.3.2-0+deb11u2 ... 7:8.1.2-2 (91 versions) | — | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| ffmpeg | 7:5.1.3-1 ... 7:9.0.1-1 (59 versions) | — | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| ffmpeg | 7:7.1.1-1 ... 7:9.0.1-1 (23 versions) | — | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| ffmpeg | 7:7.1.1-1 ... 7:9.0.1-1 (19 versions) | — | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(2)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 24× in last 7d / 94× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 187 total refreshes for this CVE.
- 2026-09-14 06:20 UTCVendor advisory
- 2026-09-14 06:20 UTCGHSA enrichment
- 2026-09-13 18:09 UTCEG score recompute
- 2026-09-13 18:09 UTCVendor advisory
- 2026-09-13 18:09 UTCGHSA enrichment
- 2026-09-13 05:53 UTCGHSA enrichment
- 2026-09-12 17:42 UTCEG score recompute
- 2026-09-12 17:42 UTCVendor advisory
- 2026-09-12 17:42 UTCGHSA enrichment
- 2026-09-12 05:08 UTCVendor advisory
- 2026-09-12 05:08 UTCGHSA enrichment
- 2026-09-11 16:42 UTCEG score recompute
- 2026-09-11 16:42 UTCVendor advisory
- 2026-09-11 16:42 UTCGHSA enrichment
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 09:37 UTCEPSS rescore
- 2026-09-11 03:17 UTCVendor advisory
- 2026-09-11 03:17 UTCGHSA enrichment
- 2026-09-10 15:06 UTCEG score recompute
- 2026-09-10 15:06 UTCVendor advisory
- 2026-09-10 15:06 UTCGHSA enrichment
- 2026-09-09 08:54 UTCEG score recompute
- 2026-09-09 08:54 UTCVendor advisory
- 2026-09-09 08:54 UTCGHSA enrichment
- 2026-09-08 22:01 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-07 21:29 UTCEG score recompute
- 2026-09-07 21:29 UTCVendor advisory
- 2026-09-07 21:28 UTCGHSA enrichment
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-06 08:29 UTCVendor advisory
- 2026-09-06 08:29 UTCGHSA enrichment
- 2026-09-05 19:27 UTCEG score recompute
- 2026-09-05 19:27 UTCVendor advisory
- 2026-09-05 19:27 UTCGHSA enrichment
- 2026-09-05 15:31 UTCEPSS rescore
- 2026-09-05 06:58 UTCEG score recompute
- 2026-09-05 06:58 UTCVendor advisory
- 2026-09-05 06:58 UTCGHSA enrichment
- 2026-09-04 13:14 UTCEG score recompute
- 2026-09-04 13:14 UTCGHSA enrichment
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 23:21 UTCEG score recompute
- 2026-09-01 23:21 UTCGHSA enrichment
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-31 00:55 UTCEG score recompute
- 2026-08-31 00:55 UTCGHSA enrichment
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 12:44 UTCEG score recompute
- 2026-08-30 12:44 UTCGHSA enrichment
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-30 00:30 UTCEG score recompute
- 2026-08-30 00:29 UTCGHSA enrichment
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-27 23:45 UTCEG score recompute
- 2026-08-27 23:45 UTCGHSA enrichment
- 2026-08-27 11:19 UTCGHSA enrichment
- 2026-08-26 23:07 UTCEG score recompute
- 2026-08-26 23:07 UTCGHSA enrichment
- 2026-08-26 14:47 UTCEPSS rescore
- 2026-08-26 10:56 UTCGHSA enrichment
- 2026-08-25 22:44 UTCGHSA enrichment
- 2026-08-25 10:33 UTCGHSA enrichment
- 2026-08-24 22:21 UTCEG score recompute
- 2026-08-24 22:21 UTCGHSA enrichment
- 2026-08-24 10:10 UTCEG score recompute
- 2026-08-24 10:10 UTCGHSA enrichment
- 2026-08-23 21:59 UTCGHSA enrichment
- 2026-08-23 09:48 UTCEG score recompute
- 2026-08-23 09:48 UTCGHSA enrichment
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 21:37 UTCEG score recompute
- 2026-08-22 21:37 UTCGHSA enrichment
- 2026-08-22 09:26 UTCGHSA enrichment
- 2026-08-21 21:15 UTCGHSA enrichment
- 2026-08-21 09:04 UTCEG score recompute
- 2026-08-21 09:04 UTCGHSA enrichment
- 2026-08-20 22:56 UTCEPSS rescore
- 2026-08-20 20:53 UTCGHSA enrichment
- 2026-08-20 08:42 UTCGHSA enrichment
- 2026-08-19 20:31 UTCEG score recompute
- 2026-08-19 20:31 UTCGHSA enrichment
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-19 07:09 UTCGHSA enrichment
- 2026-08-18 18:57 UTCEG score recompute
- 2026-08-18 18:57 UTCGHSA enrichment
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-18 04:47 UTCGHSA enrichment
- 2026-08-17 16:36 UTCEG score recompute
- 2026-08-17 16:36 UTCGHSA enrichment
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 03:59 UTCGHSA enrichment
- 2026-08-16 15:48 UTCEG score recompute
- 2026-08-16 15:48 UTCGHSA enrichment
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 03:37 UTCEG score recompute
- 2026-08-16 03:37 UTCGHSA enrichment
- 2026-08-15 15:26 UTCGHSA enrichment
Related CVEs(same vendor + same CWE)
Same vendor
10 shownubuntu
- CVE-2004-0989EG 10.0EPSS p97HIGH
- CVE-2004-0990EG 10.0EPSS p98HIGH
- CVE-2004-1010EG 10.0EPSS p95HIGH
- CVE-2004-0941EG 10.0EPSS p96HIGH
- CVE-2004-0981EG 10.0EPSS p93HIGH
- CVE-2004-0882EG 10.0EPSS p96HIGH
- CVE-2004-0888EG 10.0EPSS p95HIGH
- CVE-2004-1012EG 10.0EPSS p93HIGH
- CVE-2004-1013EG 10.0EPSS p93HIGH
- CVE-2004-1018EG 10.0EPSS p97HIGH
Same CWE
10 shownCWE-191 · CWE-787
Frequently asked(5)
What is CVE-2026-65704?
When was CVE-2026-65704 disclosed?
Is CVE-2026-65704 actively exploited?
What is the CVSS score of CVE-2026-65704?
How do I remediate CVE-2026-65704?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-65704
Is Your Infrastructure Affected by CVE-2026-65704?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.