CVE Catalog

CVE-2026-125256

HighCVSS 7.0
Published: Translated: NVD NIST

Summary

FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in ff_llvidenc_diff_bytes_rvv() that allows attackers to corrupt heap memory by triggering negative length values in the Huffyuv encoder. Attackers can supply RGB video narrower than 8 or 16 pixels for huffyuv transcoding on RVV-enabled RISC-V builds, causing writes past the encoder's temp buffer.

Risk Assessment

Transcoding malicious narrow RGB video to Huffyuv on RVV-enabled RISC-V platforms may lead to heap memory corruption, crashes, or potential code execution.

Recommendation

Upgrade FFmpeg to version 9.0.3 or later and avoid transcoding untrusted RGB video to Huffyuv on RVV-enabled RISC-V builds.

Other vulnerabilities in FFmpeg

See all
Original NVD description (English source)

FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in ff_llvidenc_diff_bytes_rvv() that allows attackers to corrupt heap memory by triggering negative length values in the Huffyuv encoder. Attackers can supply RGB video narrower than 8 or 16 pixels for huffyuv transcoding on RVV-enabled RISC-V builds, causing writes past the encoder's temp buffer.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS