Buffer overflow in Wavpack

CVE-2018-10538

An issue was discovered in WavPack 5.1.0 and earlier for WAV input. Out-of-bounds writes can occur because ParseRiffHeaderConfig in riff.c does not validate the sizes of unknown chunks before attempting memory allocation, related to a lack of integer-overflow protection within a bytes_to_copy calculation and subsequent malloc call, leading to insufficient memory allocation.

Vulnerability class: Buffer Overflow

EPSS: 0.016 (73.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-10538?
CVE-2018-10538 is a medium-severity vulnerability in Wavpack, classified under Out-of-bounds Write. CVSS score: 5.5/10. Published 2018-04-29.
How severe is CVE-2018-10538?
Medium severity. CVSS v3 base score is 5.5 out of 10.
Is CVE-2018-10538 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.