Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| mackron | dr_libs | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | qtads +2 | No fix yet | — |
| Ubuntu 26.04 LTS | qtads +2 | No fix yet | — |
| Ubuntu 24.04 LTS | qtads +2 | No fix yet | — |
| Ubuntu 22.04 LTS | qtads +1 | No fix yet | — |
| Ubuntu 20.04 LTS | qtads | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | qtads | No fix yet | — |
| Ubuntu 16.04 LTS | qtads | No fix yet | — |
References
- https://github.com/mackron/dr_libs third-party-advisory
- https://github.com/mackron/dr_libs/blob/master/dr_wav.h third-party-advisory