Home / FFmpeg / FFmpeg / CVE-2025-59734
CVE-2025-59734: is it exploited, and which versions of FFmpeg are affected and fixed?
CVE-2025-59734 is an use after free vulnerability in FFmpeg. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: FFmpeg from 7.1.1 before 8.0 (CVE record by Google). Fixed in 8.0 (CVE record by Google). Severity: High (8.7, CVSS 4.0, from Google).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:16 UTC.
What is CVE-2025-59734?
Heap-buffer-overflow write in FFmpeg SANM process_ftch
It is possible to cause an use-after-free write in SANM decoding with a carefully crafted animation using subversion <2. When a STOR chunk is present, a subsequent FOBJ chunk will be saved in ctx->stored_frame. Stored frames can later be referenced by FTCH chunks. For files using subversion < 2, the undecoded frame is stored, and decoded again when the FTCH chunks are parsed. However, in process_frame_obj if the frame has an invalid size, there’s an early return, with a value of 0. This causes the code in decode_frame to still store the raw frame buffer into ctx->stored_frame. Leaving ctx->has_dimensions set to false. A subsequent chunk with type FTCH would call process_ftch and decode that frame obj again, adding to the top/left values and calling process_frame_obj again. Given that we never set ctx->have_dimensions before, this time we set the dimensions, calling init_buffers, which can reallocate the buffer in ctx->stored_frame, freeing the previous one. However, the GetByteContext object gb still holds a reference to the old buffer. Finally, when the code tries to decode the frame, codecs that accept a GetByteContext as a parameter will trigger a use-after-free read when using gb. GetByteContext is only used for reading bytes, so at most one could read invalid data. There are no heap allocations between the free and when the object is accessed. However, upon returning to process_ftch, the code restores the original values for top/left in stored_frame, writing 4 bytes to the freed data at offset 6, potentially corrupting the allocator’s metadata. This issue can be triggered just by probing whether a file has the sanm format. We recommend upgrading to version 8.0 or beyond.
From the CVE record by Google, last updated February 26, 2026, 17:48 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| FFmpeg | FFmpeg SANM | from 7.1.1 before 8.0 | 8.0 |
As the CVE record by Google states it, last updated February 26, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2025-59734?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 4.0 | CVSS:4.0/AV:A/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-59734 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, October 8, 2025)
- EPSS
- 0.18% probability of exploitation activity in the next 30 days, percentile 7.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-416 Use After Free
Where are the vendor advisories and references?
Who found and reported it?
- Google Big Sleep (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 19, 2025
- Published
- October 6, 2025, 08:09 UTC
- CVE record updated
- February 26, 2026, 17:48 UTC by Google
- NVD
- Deferred, last modified October 19, 2026, 16:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:16 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect FFmpeg?
- Nov 29, 2026CVE-2025-71475 FFmpeg: NULL pointer dereference (crash)
- Nov 29, 2026CVE-2025-71476 FFmpeg: NULL pointer dereference (crash)
- Nov 27, 2026CVE-2026-137911 FFmpeg: out-of-bounds read
- Nov 27, 2026CVE-2026-137910 FFmpeg: out-of-bounds read
- Nov 27, 2026CVE-2026-137909 FFmpeg: NULL pointer dereference (crash)
- Nov 27, 2026CVE-2026-137908 FFmpeg: memory leak
- Nov 27, 2026CVE-2026-137907 FFmpeg: out-of-bounds write (memory corruption)
- Nov 27, 2026CVE-2026-137906 FFmpeg: NULL pointer dereference (crash)
Questions about CVE-2025-59734
Is CVE-2025-59734 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.18% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of FFmpeg are affected by CVE-2025-59734?
FFmpeg from 7.1.1 before 8.0, per the CVE record by Google. The tables above give every range the sources list.
Which version fixes CVE-2025-59734?
8.0, per the CVE record by Google. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-59734?
High (8.7, CVSS 4.0, from Google). The severity table above shows each score with its source.
Where is the official record of CVE-2025-59734?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.