Bug 2157054 (CVE-2022-3341) - CVE-2022-3341 ffmpeg: null pointer dereference in decode_main_header() in libavformat/nutdec.c
Summary: CVE-2022-3341 ffmpeg: null pointer dereference in decode_main_header() in lib...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2022-3341
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2157057 2157055 2157056
Blocks: 2143769
TreeView+ depends on / blocked
 
Reported: 2022-12-30 10:13 UTC by TEJ RATHI
Modified: 2022-12-31 09:31 UTC (History)
0 users

Fixed In Version: ffmpeg 5.1
Doc Type: If docs needed, set a value
Doc Text:
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.
Clone Of:
Environment:
Last Closed: 2022-12-31 09:31:14 UTC
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2022-12-30 10:13:36 UTC
An issue was discovered in the FFmpeg in decode_main_header in libavformat/nutdec.c lacks check of the return value of avformat_new_stream() and will cause the null pointer dereference.

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

Comment 1 TEJ RATHI 2022-12-30 10:14:04 UTC
Created ffmpeg tracking bugs for this issue:

Affects: fedora-all [bug 2157055]


Created qt5-qtwebengine tracking bugs for this issue:

Affects: epel-all [bug 2157057]
Affects: fedora-all [bug 2157056]

Comment 2 Product Security DevOps Team 2022-12-31 09:31:13 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.