mackron / dr_libs dr_flac.h Excessive Memory Allocation in PICTURE Metadata Parsing
mackron dr_libs dr_flac.h
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| mackron dr_libs dr_flac.h |
|
|
Original description
dr_libs dr_flac.h version 0.13.3 and earlier (fixed in commits fefced4, 4f5a4cd, and 663239a) contain an uncontrolled memory allocation vulnerability in drflac__read_and_decode_metadata() that allows attackers to trigger excessive memory allocation by supplying crafted PICTURE metadata blocks. Attackers can exploit attacker-controlled mimeLength and descriptionLength fields to cause denial of service through memory exhaustion when processing FLAC streams with metadata callbacks.