Bug 1574728 (CVE-2018-10538) - CVE-2018-10538 wavpack: out of bounds write in ParseRiffHeaderConfig in riff.c
Summary: CVE-2018-10538 wavpack: out of bounds write in ParseRiffHeaderConfig in riff.c
Alias: CVE-2018-10538
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1574720 1574721 1574723 1574732 1609113
Blocks: 1574733
TreeView+ depends on / blocked
Reported: 2018-05-03 21:45 UTC by Laura Pardo
Modified: 2021-10-21 20:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-10-21 20:02:44 UTC

Attachments (Terms of Use)

Description Laura Pardo 2018-05-03 21:45:22 UTC
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.



Comment 1 Laura Pardo 2018-05-03 21:50:55 UTC
Created mingw-wavpack tracking bugs for this issue:

Affects: epel-7 [bug 1574720]
Affects: fedora-all [bug 1574723]

Created wavpack tracking bugs for this issue:

Affects: fedora-all [bug 1574721]

Comment 3 Doran Moppert 2018-07-27 03:09:15 UTC
The affected chunk of code in wavpack prior to 4.80 is in cli/wavpack.c

Comment 4 Doran Moppert 2018-07-27 03:20:34 UTC

Red Hat Enterprise Linux 6 is now in Maintenance support 2 Phase of the support and maintenance life cycle. This issue has been rated as having a security impact of Moderate, and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/

Note You need to log in before you can comment on or make changes to this bug.