CVE-2022-3341
Reported by fedora · Published January 12, 2023
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ffmpeg | ffmpeg | 5.0.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | FFmpeg | Fixed-in ffmpeg 5.1 |
| n/a | FFmpeg | 5.1 |
Timeline
- Jan 1, 2023 CVE Published
- Jan 13, 2023 EPSS Score (30 in total, the first dated here)
- Mar 20, 2026 Distribution Patch
- Mar 20, 2026 Security Advisory (2 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Jun 23, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-3341
vulnetix vdb fixes CVE-2022-3341
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-3341/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart