CVE-2026-64835
JSON

8.7high

FFmpeg 4.4 - 8.1.2 Out-of-Bounds Memory Access in ADX Audio Decoder

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.33% (higher than 27% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

FFmpeg versions 4.4 through 8.1.2 contain an out-of-bounds memory access vulnerability in the ADX audio decoder within libavcodec/adxdec.c that allows attackers to trigger both out-of-bounds reads and writes by supplying a crafted ADX or AAX audio file with a mid-stream channel layout change. When AV_PKT_DATA_NEW_EXTRADATA side data is received mid-stream, the adx_decode_frame function re-parses the stream header but fails to update the internal channel state, causing subsequent decoding operations to access the prev[] state array using a stale channel count.

Affected

Product or packageVersionsReported by
FFmpeg FFmpegfrom 4.4 up to 8.1.2, 1836ef96846937a6cc2443698a693104f5c0b21eCVE List, NVD

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

FFmpeg versions 4.4 through 8.1.2 contain an out-of-bounds memory access vulnerability in the ADX audio decoder within libavcodec/adxdec.c that allows attackers to trigger both out-of-bounds reads and writes by supplying a crafted ADX or AAX audio file with a mid-stream channel layout change. When AV_PKT_DATA_NEW_EXTRADATA side data is received mid-stream, the adx_decode_frame function re-parses the stream header but fails to update the internal channel state, causing subsequent decoding operations to access the prev[] state array using a stale channel count.

NVD (es)

Las versiones 4.4 a 8.1.2 de FFmpeg contienen una vulnerabilidad de acceso a memoria fuera de límites en el decodificador de audio ADX dentro de libavcodec/adxdec.c que permite a los atacantes activar tanto lecturas como escrituras fuera de límites al proporcionar un archivo de audio ADX o AAX manipulado con un cambio de diseño de canal a mitad de flujo. Cuando se reciben datos laterales AV_PKT_DATA_NEW_EXTRADATA a mitad de flujo, la función adx_decode_frame vuelve a analizar el encabezado del flujo pero no actualiza el estado interno del canal, lo que provoca que las operaciones de decodificación subsiguientes accedan al array de estado prev[] utilizando un recuento de canales obsoleto.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-64835 changed 2026-07-28CVE Terms of Use
NVDCVE-2026-64835 changed 2026-10-24Public domain