Bug 1003806 (CVE-2016-7122)

Summary: VUL-1: CVE-2016-7122, CVE-2016-7450, CVE-2016-7502, CVE-2016-7555, CVE-2016-7562, CVE-2016-7785, CVE-2016-7905: ffmpeg: Various vulnerabilities
Product: [Novell Products] SUSE Security Incidents Reporter: Mikhail Kasimov <mikhail.kasimov>
Component: IncidentsAssignee: Jan Engelhardt <jengelh>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P5 - None CC: astieger, davejplater, jengelh, jsegitz
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE 42.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Mikhail Kasimov 2016-10-08 11:47:59 UTC
Reference: http://seclists.org/oss-sec/2016/q4/58

=====================================================
CVE-2016-7562

ff_draw_pc_font in ffmpeg before 3.1.4 uses incorrect font_height value ,which allows remote attackers to cause ffmpeg 
service a out-of-bounds array write fault
when it uses 'ansi' to decode a AVI file which has a crafted 'strf' struct.

fixs:https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/496267f8e9ec218351e4359e1fde48722d4fc804



CVE-2016-7122

avi_read_nikon in ffmpeg before 3.1.4 is vulnerable to infinite loop when it decode an AVI file which has a crafted 
'nctg' struct.

fixs:https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/ed38046c5c2e3b310980be32287179895c83e0d8


CVE-2016-7450

i2f in ffmpeg before 3.1.4 uses incorrect re_signal value ,which results in an out-of-bounds array read .

fixs:https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/ac8ac46641adef208485baebc3734463bf0bd266


CVE-2016-7502

cavs_idct8_add_c in ffmpeg before 3.1.4 uses incorrect block value ,which results in an out-of-bounds array read .

fixs:https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/9d738e6968757d4e70c8e07e0b720ac0004accc4


CVE-2016-7555

avi_read_header in ffmpeg before 3.1.4 is vulnerable to a memory leakage issue when it decodes an AVI file which has a 
crafted 'strh' struct.

fixs:https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/8834e080c20d3d23c3ffe779371359f9b9b835ec


CVE-2016-7785

avi_read_seek in ffmpeg before 3.1.4 uses incorrect scale value , which allows remote attackers to cause a assert fault 
of service via an AVI file which has a craft 'strh' struct.

fixs:https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/c8c5f66b42edc37474baa5cb51460cbf6f33075b


CVE-2016-7905

read_gab2_sub in ffmpeg before 3.1.4 is vulnerable to a null-point-exception when it decodes an AVI file which has a 
crafted 'gab2' struct.

fixs:https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/622ccbd8ab894e3ac6cdf607e3d4f39e406786e9


Reported by LianYihan in Qihoo 360 Gear Team.
=====================================================

Due to https://software.opensuse.org/package/ffmpeg , version 3.1.4 is actual for TW and in multimedia:libs repo for 42.1, 13.2 and 13.1.
Comment 1 Bernhard Wiedemann 2016-10-08 20:00:22 UTC
This is an autogenerated message for OBS integration:
This bug (1003806) was mentioned in
https://build.opensuse.org/request/show/433948 42.1 / ffmpeg
Comment 2 Bernhard Wiedemann 2016-10-10 12:00:27 UTC
This is an autogenerated message for OBS integration:
This bug (1003806) was mentioned in
https://build.opensuse.org/request/show/434097 42.1+Backports:SLE-12-SP1 / ffmpeg
Comment 3 Swamp Workflow Management 2016-10-18 12:09:22 UTC
openSUSE-SU-2016:2556-1: An update that fixes 5 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1003806
CVE References: CVE-2016-7502,CVE-2016-7555,CVE-2016-7562,CVE-2016-7785,CVE-2016-7905
Sources used:
openSUSE Leap 42.1 (src):    ffmpeg-2.8.8-22.1
Comment 4 Swamp Workflow Management 2016-10-18 12:10:33 UTC
openSUSE-SU-2016:2560-1: An update that fixes 5 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1003806
CVE References: CVE-2016-7502,CVE-2016-7555,CVE-2016-7562,CVE-2016-7785,CVE-2016-7905
Sources used:
SUSE Package Hub for SUSE Linux Enterprise 12 (src):    ffmpeg-2.8.8-6.1
Comment 5 Jan Engelhardt 2016-10-19 12:24:14 UTC
it's on the mirrors
Comment 6 Bernhard Wiedemann 2016-10-30 19:00:13 UTC
This is an autogenerated message for OBS integration:
This bug (1003806) was mentioned in
https://build.opensuse.org/request/show/437933 42.2 / ffmpeg2
Comment 7 Bernhard Wiedemann 2016-10-30 21:00:21 UTC
This is an autogenerated message for OBS integration:
This bug (1003806) was mentioned in
https://build.opensuse.org/request/show/437942 42.2 / ffmpeg2
Comment 8 Swamp Workflow Management 2018-07-18 14:40:06 UTC
This is an autogenerated message for OBS integration:
This bug (1003806) was mentioned in
https://build.opensuse.org/request/show/623663 15.0+42.3+Backports:SLE-12-SP2 / chromium+codec2+ffmpeg-2+ffmpeg-3+ffmpeg-4+libsodium+libvpx-1_6+zeromq