VDB

CVE-2026-65704

CVE-2026-65704 PUBLISHED CVSS 7.3 HIGH

FFmpeg 8.1.2 Out-of-Bounds Write via TY Demuxer and Shorten Decoder

Reported by vulncheck · Published July 23, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
ffmpeg-8.1Wolfi8.1.3-r0
ffmpeg-8.1Chainguard8.1.3-r0
eco-python-ffmpeg-8-minimalChainguard8.1.3-r0
ffmpegffmpeg8.1.2

Risk scores

CVSS 4.0
7.3
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
FFmpegFFmpeg0, de771bd52774a52d45b0e2c82e56995a1ef40df7
wolfiffmpeg-8.10
chainguardffmpeg-8.10
FFmpegFFmpeg*, 0
chainguardeco-python-ffmpeg-8-minimal0
ffmpegffmpeg0

Timeline

  • Jul 23, 2026 CVE Published
  • Jul 24, 2026 EPSS Score (14 in total, the first dated here)
  • Jul 24, 2026 Coalition ESS Score
  • Jul 25, 2026 Security Advisory (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-65704
vulnetix vdb fixes CVE-2026-65704

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-65704/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›