# CVE-2026-125228: FFmpeg before 8.1.3 and 9.x before 9.0.2 Out-of-Bounds Read in Vorbis Encoder

- Severity: Medium 5.8 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-11-09T19:11:40.844Z
- Modified: 2026-11-30T15:48:59.417Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

FFmpeg before 8.1.3 and 9.x before 9.0.2 contains an out-of-bounds read vulnerability in put_vector() in libavcodec/vorbisenc.c when NaN samples leave the codebook entry at -1. Attackers can supply audio with NaN float samples to the native Vorbis encoder, causing heap reads before arrays that crash the application or leak adjacent heap memory into output.

(As written by CVE List.)

## Affected

- FFmpeg FFmpeg: before 8.1.3; from 9.0 before 9.0.2

## Every score

- VulnCheck: CVSS:4.0 5.8 Medium `CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H`

## References

- <https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24392> (issue-tracking, patch)
- <https://github.com/FFmpeg/FFmpeg/commit/e33548ad13fd3495466a651792e8206b1c6f7fd7> (patch)
- <https://github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavcodec/vorbisenc.c#L915> (patch, technical-description)
- <https://github.com/FFmpeg/FFmpeg> (product)
- <https://www.vulncheck.com/advisories/ffmpeg-before-8.1.3-and-9-x-before-9.0.2-out-of-bounds-read-in-vorbis-encoder> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-125228](https://www.cve.org/CVERecord?id=CVE-2026-125228), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2026-125228](https://nvd.nist.gov/vuln/detail/CVE-2026-125228), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-125228 · Whole record: https://cve.day/CVE-2026-125228.json · Rebuilt by cve.day 2026-11-30T16:02:34.632Z
