CVE-2019-8355
published 2019-02-15CVE-2019-8355: An issue was discovered in SoX 14.4.2. In xmalloc.h, there is an integer overflow on the result of multiplication fed into the lsx_valloc macro that wraps…
PriorityP423medium5.5CVSS 3.0
AVLACLPRNUIRSUCNINAH
EPSS
1.69%
74.5th percentile
An issue was discovered in SoX 14.4.2. In xmalloc.h, there is an integer overflow on the result of multiplication fed into the lsx_valloc macro that wraps malloc. When the buffer is allocated, it is smaller than expected, leading to a heap-based buffer overflow in channels_start in remix.c.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | sox | < sox 14.4.2+git20190427-1 (bookworm) | sox 14.4.2+git20190427-1 (bookworm) |
| sound_exchange_project | sound_exchange | — | — |
CVSS provenance
nvdv3.05.5MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
vendor_ubuntu5.0MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-6fj7-6wcf-937v: An issue was discovered in SoX 14
ghsa_unreviewed·2022-05-13
CVE-2019-8355 [MEDIUM] CWE-787 GHSA-6fj7-6wcf-937v: An issue was discovered in SoX 14
An issue was discovered in SoX 14.4.2. In xmalloc.h, there is an integer overflow on the result of multiplication fed into the lsx_valloc macro that wraps malloc. When the buffer is allocated, it is smaller than expected, leading to a heap-based buffer overflow in channels_start in remix.c.
OSV
sox vulnerabilities
osv·2019-08-01·CVSS 5.0
CVE-2019-8354 [MEDIUM] sox vulnerabilities
sox vulnerabilities
USN-4079-1 fixed vulnerabilities in SoX. This update provides the corresponding
update for Ubuntu 18.04 LTS and Ubuntu 19.04.
Original advisory details:
It was discovered that SoX incorrectly handled certain MP3 files. An attacker
could possibly use this issue to cause a denial of service. (CVE-2019-8354,
CVE-2019-8355, CVE-2019-8356, CVE-2019-8357)
OSV
sox vulnerabilities
osv·2019-07-30·CVSS 5.0
CVE-2019-8354 [MEDIUM] sox vulnerabilities
sox vulnerabilities
It was discovered that SoX incorrectly handled certain MP3 files. An attacker
could possibly use this issue to cause a denial of service. (CVE-2019-8354,
CVE-2019-8355, CVE-2019-8356, CVE-2019-8357)
OSV
CVE-2019-8355: An issue was discovered in SoX 14
osv·2019-02-15·CVSS 5.5
CVE-2019-8355 [MEDIUM] CVE-2019-8355: An issue was discovered in SoX 14
An issue was discovered in SoX 14.4.2. In xmalloc.h, there is an integer overflow on the result of multiplication fed into the lsx_valloc macro that wraps malloc. When the buffer is allocated, it is smaller than expected, leading to a heap-based buffer overflow in channels_start in remix.c.
Ubuntu
SoX vulnerabilities
vendor_ubuntu·2019-08-01·CVSS 5.0
CVE-2019-8354 [MEDIUM] SoX vulnerabilities
Title: SoX vulnerabilities
Summary: SoX could be made to crash if it received a specially crafted MP3 file.
USN-4079-1 fixed vulnerabilities in SoX. This update provides the corresponding
update for Ubuntu 18.04 LTS and Ubuntu 19.04.
Original advisory details:
It was discovered that SoX incorrectly handled certain MP3 files. An attacker
could possibly use this issue to cause a denial of service. (CVE-2019-8354,
CVE-2019-8355, CVE-2019-8356, CVE-2019-8357)
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
SoX vulnerabilities
vendor_ubuntu·2019-07-30·CVSS 5.0
CVE-2019-8354 [MEDIUM] SoX vulnerabilities
Title: SoX vulnerabilities
Summary: SoX could be made to crash if it received a specially crafted MP3 file.
It was discovered that SoX incorrectly handled certain MP3 files. An attacker
could possibly use this issue to cause a denial of service. (CVE-2019-8354,
CVE-2019-8355, CVE-2019-8356, CVE-2019-8357)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
sox: integer overflow in xmalloc.h
vendor_redhat·2019-02-07·CVSS 5.5
CVE-2019-8355 [MEDIUM] CWE-190 sox: integer overflow in xmalloc.h
sox: integer overflow in xmalloc.h
An issue was discovered in SoX 14.4.2. In xmalloc.h, there is an integer overflow on the result of multiplication fed into the lsx_valloc macro that wraps malloc. When the buffer is allocated, it is smaller than expected, leading to a heap-based buffer overflow in channels_start in remix.c.
Package: sox (Red Hat Enterprise Linux 5) - Not affected
Package: sox (Red Hat Enterprise Linux 6) - Not affected
Package: sox (Red Hat Enterprise Linux 7) - Fix deferred
Debian
CVE-2019-8355: sox - An issue was discovered in SoX 14.4.2. In xmalloc.h, there is an integer overflo...
vendor_debian·2019·CVSS 5.5
CVE-2019-8355 [MEDIUM] CVE-2019-8355: sox - An issue was discovered in SoX 14.4.2. In xmalloc.h, there is an integer overflo...
An issue was discovered in SoX 14.4.2. In xmalloc.h, there is an integer overflow on the result of multiplication fed into the lsx_valloc macro that wraps malloc. When the buffer is allocated, it is smaller than expected, leading to a heap-based buffer overflow in channels_start in remix.c.
Scope: local
bookworm: resolved (fixed in 14.4.2+git20190427-1)
bullseye: resolved (fixed in 14.4.2+git20190427-1)
trixie: resolved (fixed in 14.4.2+git20190427-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-8355 sox: integer overflow in xmalloc.h [fedora-all]
bugzilla·2019-02-18·CVSS 5.5
CVE-2019-8355 [MEDIUM] CVE-2019-8355 sox: integer overflow in xmalloc.h [fedora-all]
CVE-2019-8355 sox: integer overflow in xmalloc.h [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora. Whil
Bugzilla
CVE-2019-8355 sox: integer overflow in xmalloc.h
bugzilla·2019-02-18·CVSS 5.5
CVE-2019-8355 [MEDIUM] CVE-2019-8355 sox: integer overflow in xmalloc.h
CVE-2019-8355 sox: integer overflow in xmalloc.h
An issue was discovered in SoX 14.4.2. In xmalloc.h, there is an integer overflow on the result of multiplication fed into the lsx_valloc macro that wraps malloc. When the buffer is allocated, it is smaller than expected, leading to a heap-based buffer overflow in channels_start in remix.c.
Reference:
https://sourceforge.net/p/sox/bugs/320
Discussion:
Created sox tracking bugs for this issue:
Affects: fedora-all [bug 1678289]
---
So, for this flaw, we get to lsx_realloc with the following newsize:
```
│30 void *lsx_realloc(void *ptr, size_t newsize) │
│31 { │
>│32 if (ptr && newsize == 0) { │
│33 free(ptr); │
│34 return NULL; │
│35 }
(gdb) print newsize
$11 = 17179869184
```
The system tries, and fails, to allocate 17 gigabytes and
https://lists.debian.org/debian-lts-announce/2019/05/msg00040.htmlhttps://sourceforge.net/p/sox/bugs/320https://usn.ubuntu.com/4079-1/https://usn.ubuntu.com/4079-2/https://lists.debian.org/debian-lts-announce/2019/05/msg00040.htmlhttps://sourceforge.net/p/sox/bugs/320https://usn.ubuntu.com/4079-1/https://usn.ubuntu.com/4079-2/
2019-02-15
Published