libav.git
6 years agoavcodec/ivi: Check image dimensions
Michael Niedermayer [Sat, 14 Nov 2015 00:36:22 +0000 (01:36 +0100)]
avcodec/ivi: Check image dimensions

avcodec/ivi: Check image dimensions

Fixes integer overflow
Fixes: 1e32c6c591d940337c20b197ec1c4d3d/asan_heap-oob_4a52e5_8946_0bb0d9e863def56005e49f1d89bdc94d.avi
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Gbp-Pq: Name CVE-2015-8364.patch

6 years agoavcodec/jpeg2000dec: Check for duplicate SIZ marker
Debian Multimedia Maintainers [Mon, 7 Jan 2019 18:45:12 +0000 (18:45 +0000)]
avcodec/jpeg2000dec: Check for duplicate SIZ marker

avcodec/jpeg2000dec: Check for duplicate SIZ marker

Fixes: 0231a17345734228011c6f35a64e4594/asan_heap-oob_1d92a72_3218_1213809a9e3affec77e4c191fdfdc0a9.mov
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Gbp-Pq: Name CVE-2015-8363.patch

6 years agoavcodec/hevc_ps: Check chroma_format_idc
Michael Niedermayer [Thu, 5 Nov 2015 12:52:33 +0000 (13:52 +0100)]
avcodec/hevc_ps: Check chroma_format_idc

avcodec/hevc_ps: Check chroma_format_idc

Fixes out of array access
Fixes: 24d05e8b84676799c735c9e27d97895e/asan_heap-oob_1b70f6a_2955_7c3652a7f370f9f3ef40642bc2c99bb2.bit
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
[sunweaver] Ported to libav 11.12 in Debian jessie LTS.

Gbp-Pq: Name CVE-2015-8217.patch

6 years agoavcodec/mjpegdec: Check index in ljpeg_decode_yuv_scan() before using it
Michael Niedermayer [Wed, 4 Nov 2015 16:08:52 +0000 (17:08 +0100)]
avcodec/mjpegdec: Check index in ljpeg_decode_yuv_scan() before using it

avcodec/mjpegdec: Check index in ljpeg_decode_yuv_scan() before using it

Fixes: 04715144ba237443010554be0d05343f/asan_heap-oob_1eafc76_1737_c685b48041a563461839e4e7ab97abb8.jpg
Fixes out of array access

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
[sunweaver] Re-based for libav 11.12 in Debian jessie LTS.

Gbp-Pq: Name CVE-2015-8216.patch

6 years agoavcodec/rv34: Clear pointers in ff_rv34_decode_init_thread_copy()
Michael Niedermayer [Sat, 18 Jul 2015 07:24:45 +0000 (09:24 +0200)]
avcodec/rv34: Clear pointers in ff_rv34_decode_init_thread_copy()

avcodec/rv34: Clear pointers in ff_rv34_decode_init_thread_copy()

Avoids leaving stale pointers
Fixes: signal_sigabrt_7ffff70eccc9_819_sabtriple.rm with memlimit 536870912
Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Gbp-Pq: Name CVE-2015-6826.patch

6 years agoavcodec/pthread_frame: clear priv_data, avoid stale pointer in error case
Michael Niedermayer [Thu, 16 Jul 2015 07:52:33 +0000 (09:52 +0200)]
avcodec/pthread_frame: clear priv_data, avoid stale pointer in error case

avcodec/pthread_frame: clear priv_data, avoid stale pointer in error case

Fixes: b4b47bc2b3fb7ca710bfffe5aa969e37_signal_sigabrt_7ffff70eccc9_744_nc_sample2.avi with memlimit of 4194304
Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Gbp-Pq: Name CVE-2015-6825.patch

6 years agoswscale/utils: Clear pix buffers
Michael Niedermayer [Wed, 15 Jul 2015 15:20:19 +0000 (17:20 +0200)]
swscale/utils: Clear pix buffers

swscale/utils: Clear pix buffers

Fixes use of uninitialized memory
Fixes: a96874b9466b6edc660a519c7ad47977_signal_sigsegv_7ffff713351a_744_nc_sample.avi with memlimit 2147483648
Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Gbp-Pq: Name CVE-2015-6824.patch

6 years agoavcodec/alac: Clear pointers in allocate_buffers()
Michael Niedermayer [Mon, 13 Jul 2015 11:46:10 +0000 (13:46 +0200)]
avcodec/alac: Clear pointers in allocate_buffers()

avcodec/alac: Clear pointers in allocate_buffers()

Fixes: 06a4edb39ad8a9883175f9bd428334a2_signal_sigsegv_7ffff713351a_706_mov__alac__ALAC_6ch.mov
Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Gbp-Pq: Name CVE-2015-6823.patch

6 years agoavcodec/sanm: Reset sizes in destroy_buffers()
Michael Niedermayer [Mon, 13 Jul 2015 12:05:21 +0000 (14:05 +0200)]
avcodec/sanm: Reset sizes in destroy_buffers()

avcodec/sanm: Reset sizes in destroy_buffers()

Fixes crash in 1288a2fe8e9ae6b00ca40e089d08ca65_signal_sigsegv_7ffff71426a7_354_accident.san with allocation limit 65536

Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Gbp-Pq: Name CVE-2015-6822.patch

6 years agoavcodec/mpegvideo: Clear pointers in ff_mpv_common_init()
Michael Niedermayer [Thu, 9 Jul 2015 18:16:15 +0000 (20:16 +0200)]
avcodec/mpegvideo: Clear pointers in ff_mpv_common_init()

avcodec/mpegvideo: Clear pointers in ff_mpv_common_init()

This ensures that no stale pointers leak through on any path

Fixes: signal_sigsegv_c3097a_991_xtrem_e2_m64q15_a32sxx.3gp
Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Gbp-Pq: Name CVE-2015-6821.patch

6 years agoavcodec/aacsbr: check that the element type matches before applying SBR
Michael Niedermayer [Tue, 30 Jun 2015 22:05:43 +0000 (00:05 +0200)]
avcodec/aacsbr: check that the element type matches before applying SBR

avcodec/aacsbr: check that the element type matches before applying SBR

Fixes out of array access
Fixes: signal_sigsegv_3670fc0_2818_cov_2307326154_moon.mux
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Gbp-Pq: Name CVE-2015-6820.patch

6 years agoavcodec/pngdec: Only allow one IHDR chunk
Michael Niedermayer [Mon, 29 Jun 2015 17:08:05 +0000 (19:08 +0200)]
avcodec/pngdec: Only allow one IHDR chunk

avcodec/pngdec: Only allow one IHDR chunk

Multiple IHDR chunks are forbidden in PNG
Fixes inconsistency and out of array accesses

Fixes: asan_heap-oob_4d5c5a_1738_cov_2638287726_c-m2-8f2b481b7fd9bd745e620b7c01a18df2.png
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Gbp-Pq: Name CVE-2015-6818.patch

6 years agoavcodec/pngdec: Check IHDR/IDAT order
Michael Niedermayer [Wed, 26 Nov 2014 13:45:47 +0000 (14:45 +0100)]
avcodec/pngdec: Check IHDR/IDAT order

avcodec/pngdec: Check IHDR/IDAT order

Fixes out of array access
Fixes: asan_heap-oob_20a6c26_2690_cov_3434532168_mail.png
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
[sunweaver] - Port this commit to libav in Debian jessie.

Gbp-Pq: Name CVE-2014-9317.patch

6 years agoavcodec/vp8: Do not use num_coeff_partitions in thread/buffer setup
Michael Niedermayer [Wed, 30 Sep 2015 09:10:48 +0000 (11:10 +0200)]
avcodec/vp8: Do not use num_coeff_partitions in thread/buffer setup

avcodec/vp8: Do not use num_coeff_partitions in thread/buffer setup

The variable is not a constant and can lead to race conditions

Fixes: repro.webm (not reproducable with FFmpeg alone)
Found-by: Dale Curtis <dalecurtis@google.com>
Tested-by: Dale Curtis <dalecurtis@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Gbp-Pq: Name CVE-2015-6761.patch

6 years agodisable-configuration-warnings
Debian Multimedia Maintainers [Mon, 7 Jan 2019 18:45:12 +0000 (18:45 +0000)]
disable-configuration-warnings

Gbp-Pq: Name 03-disable-configuration-warnings.patch

6 years agoconfigure-disable-ebx-gcc-4.9
Debian Multimedia Maintainers [Mon, 7 Jan 2019 18:45:12 +0000 (18:45 +0000)]
configure-disable-ebx-gcc-4.9

Gbp-Pq: Name 02-configure-disable-ebx-gcc-4.9.patch

6 years agolibav (6:11.12-1~deb8u4) jessie-security; urgency=high
Markus Koschany [Mon, 7 Jan 2019 18:45:12 +0000 (18:45 +0000)]
libav (6:11.12-1~deb8u4) jessie-security; urgency=high

  * Non-maintainer upload by the LTS team.
  * Fix the following security vulnerabilities:
  * CVE-2017-14055: a DoS in mv_read_header() due to lack of an EOF (End of
    File) check might cause huge CPU and memory consumption.
  * CVE-2017-14056: a DoS in rl2_read_header() due to lack of an EOF (End of
    File) check might cause huge CPU and memory consumption.
  * CVE-2017-14057: a DoS in asf_read_marker() due to lack of an EOF (End of
    File) check might cause huge CPU and memory consumption.
  * CVE-2017-14170: a DoS in mxf_read_index_entry_array() due to lack of an EOF
    (End of File) check might cause huge CPU consumption.
  * CVE-2017-14171: a DoS in nsv_parse_NSVf_header() due to lack of an EOF (End
    of File) check might cause huge CPU consumption.
  * CVE-2017-14767: The sdp_parse_fmtp_config_h264 function in
    libavformat/rtpdec_h264.c mishandles empty sprop-parameter-sets values, which
    allows remote attackers to cause a denial of service (heap buffer overflow)
    or possibly have unspecified other impact via a crafted sdp file.
  * CVE-2017-15672: The read_header function in libavcodec/ffv1dec.c allows
    remote attackers to have unspecified impact via a crafted MP4 file, which
    triggers an out-of-bounds read.
  * CVE-2017-17130: The ff_free_picture_tables function in
    libavcodec/mpegpicture.c allows remote attackers to cause a denial of service
    (heap-based buffer overflow and application crash) or possibly have
    unspecified other impact via a crafted file, related to
    vc1_decode_i_blocks_adv.
  * CVE-2017-9993: Libav does not properly restrict HTTP Live Streaming
    filename extensions and demuxer names, which allows attackers to read
    arbitrary files via crafted playlist data.
  * CVE-2017-9994: libavcodec/webp.c in Libav before does not ensure that
    pix_fmt is set, which allows remote attackers to cause a denial of service
    (heap-based buffer overflow and application crash) or possibly have
    unspecified other impact via a crafted file, related to the
    vp8_decode_mb_row_no_filter and pred8x8_128_dc_8_c functions.
  * CVE-2018-14394: libavformat/movenc.c in Libav allows attackers to cause a
    denial of service (application crash caused by a divide-by-zero error) with a
    user crafted Waveform audio file.
  * CVE-2018-1999010: Libav contains multiple out of array access
    vulnerabilities in the mms protocol that can result in attackers accessing
    out of bound data.
  * CVE-2018-6621: The decode_frame function in libavcodec/utvideodec.c in
    Libav allows remote attackers to cause a denial of service (out of array
    read) via a crafted AVI file.
  * CVE-2018-7557: The decode_init function in libavcodec/utvideodec.c in
    Libav allows remote attackers to cause a denial of service (Out of array
    read) via an AVI file with crafted dimensions within chroma subsampling
    data.

[dgit import unpatched libav 6:11.12-1~deb8u4]

6 years agoImport libav_11.12-1~deb8u4.debian.tar.xz
Markus Koschany [Mon, 7 Jan 2019 18:45:12 +0000 (18:45 +0000)]
Import libav_11.12-1~deb8u4.debian.tar.xz

[dgit import tarball libav 6:11.12-1~deb8u4 libav_11.12-1~deb8u4.debian.tar.xz]

7 years agoImport libav_11.12.orig.tar.xz
Sebastian Ramacher [Sun, 18 Feb 2018 20:20:56 +0000 (20:20 +0000)]
Import libav_11.12.orig.tar.xz

[dgit import orig libav_11.12.orig.tar.xz]