# JLSEC-2026-1170: Out-of-bounds read in FFmpeg 8.0 and 8.0.1 RV60 video decoder (libavcodec/rv60dec.c).

- Severity: Medium 5.4 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-08-07T13:27:45.313Z
- Modified: 2026-08-07T13:30:06.519Z
- Related: CVE-2025-69693

## Description

Out-of-bounds read in FFmpeg 8.0 and 8.0.1 RV60 video decoder (`libavcodec/rv60dec.c`). The quantization parameter (qp) validation at line 2267 only checks the lower bound (qp < 0) but is missing upper bound validation. The qp value can reach 65 (base value 63 from 6-bit frame header + offset +2 from `read_qp_offset`) while the `rv60_qp_to_idx` array has size 64 (valid indices 0-63). This results in out-of-bounds array access at lines 1554 (`decode_cbp8`), 1655 (`decode_cbp16`), and 1419/1421 (`get_c4x4_set`), potentially leading to memory disclosure or crash. A previous fix in commit 61cbcaf93f added validation only for intra frames. This vulnerability affects the released versions 8.0 (released 2025-08-22) and 8.0.1 (released 2025-11-20) and is fixed in git master commit 8abeb879df which will be included in FFmpeg 8.1.

(As written by Julia Security Advisories.)

## Affected

- FFMPEG_jll (Julia): from 8.0.0+0 before 8.1.0+0
- FFMPEG_nogpl_jll (Julia): before 8.1.0+0

## References

- <https://github.com/FFmpeg/FFmpeg/commit/8abeb879df66ea8d27ce1735925ced5a30813de4> (web)
- <https://github.com/FFmpeg/FFmpeg/releases/tag/n8.0> (web)
- <https://github.com/FFmpeg/FFmpeg/releases/tag/n8.0.1> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1170](https://osv.dev/vulnerability/JLSEC-2026-1170), CC-BY-4.0, modified 2026-08-07

---

Page: https://cve.day/JLSEC-2026-1170 · Whole record: https://cve.day/JLSEC-2026-1170.json · Rebuilt by cve.day 2026-11-25T22:56:25.887Z
