Technical impact
A bug in FFmpeg’s Vorbis encoder uses an out-of-bounds read in the put_vector() routine when a NaN sample causes the codebook index to become –1. This causes the routine to read heap memory before the target array, which can result in a crash or leaking of adjacent heap contents into the encoded output. The flaw does not enable 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 by all releases before version 8.1.3 and by all 9.x releases prior to 9.0.2. Upgrading to any release equal to or newer than those thresholds applies the vendor fix and removes the vulnerability.
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, suggesting limited evidence of active exploitation. The likely attack vector is supply of malicious audio containing NaN float samples to the native Vorbis encoder, which may occur locally or via a service that processes user-supplied audio. Successful exploitation would crash the application or expose adjacent heap memory, potentially revealing sensitive data.