Bug 2511715 - CVE-2026-71261 dr_libs: dr_libs: Heap buffer overflow via crafted W64 WAV file [epel-all]
Summary: CVE-2026-71261 dr_libs: dr_libs: Heap buffer overflow via crafted W64 WAV fil...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: dr_libs
Version: epel10
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Ben Beasley
QA Contact:
URL:
Whiteboard: {"flaws": ["4b16e13a-9cc6-4283-8495-c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-05 19:19 UTC by bmoragn
Modified: 2026-08-05 19:46 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-08-05 19:46:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description bmoragn 2026-08-05 19:19:22 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

dr_libs dr_wav.h (all versions through current master) contains an integer overflow in W64 CUE chunk metadata parsing. In drwav__metadata_process_chunk(), a stage-1 capacity estimate truncates the 64-bit W64 chunk sizeInBytes to size_t before dividing by DRWAV_CUE_POINT_BYTES; on 32-bit builds this truncation causes the pre-allocated extra metadata capacity to be computed incorrectly. The subsequent read in drwav__read_cue_to_metadata_obj() computes the actual cue point count and allocation size using the full-precision, attacker-controlled cuePointCount field without cross-checking it against the stage-1 capacity estimate, and the only bounds enforcement on the resulting memory region (drwav__metadata_get_memory()) is a DRWAV_ASSERT, which compiles to a no-op under -DNDEBUG (the default for release builds). A crafted W64 WAV file can therefore cause a heap buffer overflow in any 32-bit application parsing untrusted WAV metadata.

Comment 1 Ben Beasley 2026-08-05 19:46:51 UTC
Hmm, this CVE apparently hasn’t been reported upstream to https://github.com/mackron/dr_libs, and no patch is available. That means there’s nothing I can usefully do about it.

The fact that the problem is reported to only affect 32-bit builds means there cannot be any impact in EPEL, because EPEL doesn’t have any 32-bit architectures.


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