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.
Published: 2026-11-09
Score: 5.8 Medium
EPSS: n/a
KEV: No
Impact: Out-of-Bounds Read causing application crash or memory disclosure
Action: Apply Patch
AI Analysis

Impact

An out-of-bounds read in the Vorbis encoder’s put_vector() routine occurs when NaN samples trigger a codebook index of –1. This results in the function reading heap memory beyond the input array bounds, potentially crashing the encoder or leaking adjacent heap contents into the encoded output. The flaw does not provide remote code execution but can lead to denial of service or unintended disclosure of information stored on the heap.

Affected Systems

FFmpeg, the open‑source multimedia framework, is affected for all releases prior to version 8.1.3 and for all 9.x series releases earlier than 9.0.2. Upgrading to any release equal to or newer than these thresholds contains the fix, while older builds remain vulnerable.

Risk and Exploitability

The CVSS score of 5.8 indicates medium severity. No EPSS score is available and the vulnerability is not listed in the CISA KEV catalog, implying limited evidence of active exploitation. The attack requires an attacker to supply audio data containing NaN float samples to the native Vorbis encoder, which is achievable by a local or privileged adversary who can control input to the encoder. Successful exploitation would crash the application or expose adjacent heap memory, potentially revealing sensitive data.

Generated by OpenCVE AI on November 9, 2026 at 21:29 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update FFmpeg to 8.1.3 or later, or to 9.0.2 or later, to apply the vendor patch.
  • If an upgrade is temporarily infeasible, modify the vorbisenc.c source to validate samples before invoking put_vector(); reject or clamp NaN values to prevent the out-of-bounds read.
  • Restrict usage of the native Vorbis encoder to trusted or sanitized audio streams; do not process untrusted audio that may contain NaN samples until the CVE is patched or mitigated.

Generated by OpenCVE AI on November 9, 2026 at 21:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 09 Nov 2026 19:15:00 +0000

Type Values Removed Values Added
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.
Title FFmpeg before 8.1.3 and 9.x before 9.0.2 Out-of-Bounds Read in Vorbis Encoder
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-125
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H'}

cvssV4_0

{'score': 5.8, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-09T19:11:40.844Z

Reserved: 2026-11-09T18:15:22.207Z

Link: CVE-2026-125228

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-09T19:17:00.540

Modified: 2026-11-09T19:17:00.540

Link: CVE-2026-125228

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T21:30:11Z

Weaknesses