# JLSEC-2025-122: A null pointer dereference issue was discovered in 'FFmpeg' in `decode_main_header()` function of...

- Severity: Medium 5.3 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- 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:07.519Z
- Related: CVE-2022-3341

## Description

A null pointer dereference issue was discovered in 'FFmpeg' in `decode_main_header()` function of `libavformat/nutdec.c` file. The flaw occurs because the function lacks check of the return value of `avformat_new_stream()` and triggers the null pointer dereference error, causing an application to crash.

(As written by Julia Security Advisories.)

## Affected

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

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2157054> (web)
- <https://github.com/FFmpeg/FFmpeg/commit/9cf652cef49d74afe3d454f27d49eb1a1394951e> (web)
- <https://lists.debian.org/debian-lts-announce/2023/06/msg00016.html> (web)

## Sources

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

---

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