Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 890748 (CVE-2022-3341) - <media-video/ffmpeg-4.4.4, <media-video/ffmpeg-5.1: null pointer dereference
Summary: <media-video/ffmpeg-4.4.4, <media-video/ffmpeg-5.1: null pointer dereference
Status: CONFIRMED
Alias: CVE-2022-3341
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Security
URL:
Whiteboard: A3 [glsa?]
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-13 20:52 UTC by John Helmert III
Modified: 2025-03-11 01:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-01-13 20:52:02 UTC
CVE-2022-3341 (https://bugzilla.redhat.com/show_bug.cgi?id=2157054):

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.

Patch (in 5.1): https://github.com/FFmpeg/FFmpeg/commit/9cf652cef49d74afe3d454f27d49eb1a1394951e

Not sure about any backport.
Comment 1 Ionen Wolkens gentoo-dev 2025-03-11 01:43:34 UTC
Was just looking at this old issue and, for the older 4.4.x branch, this has been fixed since ffmpeg-4.4.4[1] (lowest in-tree is 4.4.5 at the moment)

[1] https://github.com/FFmpeg/FFmpeg/commit/c513bd48039a718dabf6d7a829efb6732693c04b