CVE-2022-3341: Null Pointer Dereference

Published Dec 30, 2022
·
Updated

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

Other sources

An issue was discovered in the FFmpeg in decodemainheader in libavformat/nutdec.c lacks check of the return value of avformatnewstream() and will cause the null pointer dereference.

https://github.com/FFmpeg/FFmpeg/commit/9cf652cef49d74afe3d454f27d49eb1a1394951e

Red Hat

Affected Software

4 affected componentsFixes available
redhat/ffmpeg<5.1
5.1
FFmpeg FFmpeg<5.1
Debian Debian Linux=10.0
FFmpeg FFmpeg<5.0.3

Event History

Jan 12, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2022-3341?

CVE-2022-3341 is a null pointer dereference issue in FFmpeg.

2

How does the null pointer dereference issue occur in FFmpeg?

The null pointer dereference issue occurs in the decode_main_header() function of the libavformat/nutdec.c file in FFmpeg when the return value of avformat_new_stream() is not checked.

3

What is the impact of CVE-2022-3341?

The vulnerability can cause an application using FFmpeg to crash due to the null pointer dereference error.

4

How can I fix CVE-2022-3341?

To fix CVE-2022-3341, update FFmpeg to version 5.1 or later.

5

Where can I find more information about CVE-2022-3341?

You can find more information about CVE-2022-3341 at the following references: [1] [2] [3]

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203