Lucene search
K

libmad 0.15.1b - 'mp3' Memory Corruption

🗓️ 01 Aug 2017 00:00:00Reported by qflb.wuType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 99 Views

libmad 0.15.1b memory corruption via crafted mp3 file denial of servic

Related
Code
ReporterTitlePublishedViews
Family
0day.today
libmad 0.15.1b - mp3 Memory Corruption Exploit
1 Aug 201700:00
zdt
AlpineLinux
CVE-2017-11552
1 Aug 201713:00
alpinelinux
CNVD
libmad 'mad_decoder_run' function denial of service vulnerability
3 Aug 201700:00
cnvd
CVE
CVE-2017-11552
1 Aug 201713:00
cve
Cvelist
CVE-2017-11552
1 Aug 201713:00
cvelist
Debian CVE
CVE-2017-11552
1 Aug 201713:00
debiancve
EUVD
EUVD-2017-3168
7 Oct 202500:30
euvd
exploitpack
libmad 0.15.1b - mp3 Memory Corruption
1 Aug 201700:00
exploitpack
Fedora
[SECURITY] Fedora 27 Update: libmad-0.15.1b-26.fc27
5 Oct 201815:59
fedora
Fedora
[SECURITY] Fedora 29 Update: libmad-0.15.1b-26.fc29
2 Oct 201819:36
fedora
Rows per page
libmad memory corruption vulnerability
================
Author : qflb.wu
===============


Introduction:
=============
libmad is a high-quality MPEG audio decoder capable of 24-bit output.


Affected version:
=====
0.15.1b


Vulnerability Description:
==========================
the mad_decoder_run function in decoder.c in libmad 0.15.1b can cause a denial of service(memory corruption) via a crafted mp3 file.


I found this bug when I test mpg321 0.3.2 which used the libmad library.


./mpg321 libmad_0.15.1b_memory_corruption.mp3


----debug info:----
Program received signal SIGABRT, Aborted.
0x00007ffff6bf7cc9 in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007ffff6bf7cc9 in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff6bfb0d8 in __GI_abort () at abort.c:89
#2  0x00007ffff6c34394 in __libc_message (do_abort=do_abort@entry=1, 
    fmt=fmt@entry=0x7ffff6d42b28 "*** Error in `%s': %s: 0x%s ***\n")
    at ../sysdeps/posix/libc_fatal.c:175
#3  0x00007ffff6c4066e in malloc_printerr (ptr=<optimized out>, 
    str=0x7ffff6d42c58 "double free or corruption (out)", action=1)
    at malloc.c:4996
#4  _int_free (av=<optimized out>, p=<optimized out>, have_lock=0)
    at malloc.c:3840
#5  0x00007ffff749ab43 in mad_decoder_run (
    decoder=decoder@entry=0x7fffffffbd20, 
    mode=mode@entry=MAD_DECODER_MODE_SYNC) at decoder.c:559
#6  0x0000000000403d5d in main (argc=<optimized out>, argv=<optimized out>)
    at mpg321.c:1092
(gdb)


POC:
libmad_0.15.1b_memory_corruption.mp3
CVE:
CVE-2017-11552


Proof of Concept:
https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/42409.zip

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

01 Aug 2017 00:00Current
8.1High risk
Vulners AI Score8.1
CVSS 24.3
CVSS 36.5
EPSS0.0875
99