CVE-2019-13590

sox: integer overflow in libsox.a leading to a NULL pointer dereference

Published Jul 14, 2019 CVSS 3.1 · 5.5 Medium EPSS 1.1% KEV · Not listed
Description
An 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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3315-1 sox security update
EUVD EUVD EUVD-2019-5037 An 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.
Ubuntu USN Ubuntu USN USN-5904-1 SoX vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 11:57 PM
Reserved
Jul 14, 2019, 12:00 AM
Status
Modified
Published
Jul 14, 2019, 4:15 PM
Modified
Jun 17, 2026, 2:17 AM
Severity
Low
Public date
Aug 6, 2019, 12:00 AM