# JLSEC-2025-125: FFmpeg version n6.1.1 was discovered to contain a heap use-after-free via the `av_hwframe_ctx_init`...

- Severity: High 7.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-10-19T19:08:53.760Z
- Modified: 2026-07-23T22:30:08.929Z
- Related: CVE-2024-31578

## Description

FFmpeg version n6.1.1 was discovered to contain a heap use-after-free via the `av_hwframe_ctx_init` function.

(As written by Julia Security Advisories.)

## Affected

- FFMPEG_jll (Julia): before 7.1.0+0
- FFplay_jll (Julia): before 7.1.0+0

## References

- <https://gist.github.com/1047524396/45400cce5859d78dcd3a62010df8d179> (web)
- <https://github.com/ffmpeg/ffmpeg/commit/3bb00c0a420c3ce83c6fafee30270d69622ccad7> (web)
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00019.html> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6G7EYH2JAK5OJPVNC6AXYQ5K7YGYNCDN/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IPETICRXUOGRIM4U3BCRTIKE3IZWCSBT/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LE3ASLH6QF2E5OVJI5VA3JSEPJFFFMNY/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6G7EYH2JAK5OJPVNC6AXYQ5K7YGYNCDN/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LE3ASLH6QF2E5OVJI5VA3JSEPJFFFMNY/> (web)

## Sources

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

---

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