CVE-2019-13590

NameCVE-2019-13590
DescriptionAn issue was discovered in libsox.a in SoX 14.4.2. In sox-fmt.h (startread function), there is an integer overflow on the result of integer addition (wraparound to 0) fed into the lsx_calloc macro that wraps malloc. When a NULL pointer is returned, it is used without a prior check that it is a valid pointer, leading to a NULL pointer dereference on lsx_readbuf in formats_i.c.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)
Debian Bugs932082

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sox (PTS)jessie14.4.1-5vulnerable
jessie (security)14.4.1-5+deb8u4vulnerable
stretch14.4.1-5+deb9u2vulnerable
bullseye, sid, buster14.4.2+git20190427-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
soxsource(unstable)(unfixed)low932082

Notes

[buster] - sox <ignored> (Minor issue)
[stretch] - sox <ignored> (Minor issue)
[jessie] - sox <ignored> (Minor issue)
https://sourceforge.net/p/sox/bugs/325/

Search for package or bug name: Reporting problems