CVE-2026-71261
dr_wav.h W64 CUE Chunk Metadata Parsing Integer Overflow Leading to Heap Buffer Overflow on 32-bit Builds
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.
INFO
Published Date :
Aug. 5, 2026, 1:24 p.m.
Last Modified :
Oct. 24, 2026, 3:10 p.m.
Remotely Exploit :
No
Source :
309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c |
Solution
- Update dr_libs dr_wav.h to patch integer overflow.
- Ensure 64-bit size checks are performed.
- Validate metadata capacity before reading.
- Avoid assertions for release builds.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-71261.
| URL | Resource |
|---|---|
| https://github.com/mackron/dr_libs | |
| https://github.com/mackron/dr_libs/blob/master/dr_wav.h |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-71261 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-71261
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-71261 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-71261 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 24, 2026
Action Type Old Value New Value Changed Translation Title: dr_libs de mackron, Description: dr_libs dr_wav.h (todas las versiones hasta la actual master) contiene un desbordamiento de entero en el análisis de metadatos de fragmentos CUE W64. En drwav__metadata_process_chunk(), una estimación de capacidad de etapa 1 trunca el tamaño de fragmento W64 de 64 bits sizeInBytes a size_t antes de dividir por DRWAV_CUE_POINT_BYTES; en compilaciones de 32 bits esta truncación causa que la capacidad de metadatos extra preasignada se calcule incorrectamente. La lectura subsiguiente en drwav__read_cue_to_metadata_obj() calcula el recuento real de puntos de referencia y el tamaño de asignación utilizando el campo cuePointCount de precisión completa y controlado por el atacante sin cotejarlo con la estimación de capacidad de etapa 1, y la única aplicación de límites en la región de memoria resultante (drwav__metadata_get_memory()) es un DRWAV_ASSERT, que se compila como una operación nula bajo -DNDEBUG (el valor predeterminado para las compilaciones de lanzamiento). Un archivo WAV W64 manipulado puede, por lo tanto, causar un desbordamiento de búfer de pila en cualquier aplicación de 32 bits que analice metadatos WAV no confiables. Title: dr_libs de mackron, Description: dr_libs dr_wav.h (todas las versiones hasta la actual master) contiene un desbordamiento de entero en el análisis de metadatos de fragmentos CUE W64. En drwav__metadata_process_chunk(), una estimación de capacidad de etapa 1 trunca el tamaño de fragmento W64 de 64 bits sizeInBytes a size_t antes de dividir por DRWAV_CUE_POINT_BYTES; en compilaciones de 32 bits esta truncación causa que la capacidad de metadatos extra preasignada se calcule incorrectamente. La lectura subsiguiente en drwav__read_cue_to_metadata_obj() calcula el recuento real de puntos de referencia y el tamaño de asignación utilizando el campo cuePointCount de precisión completa y controlado por el atacante sin cotejarlo con la estimación de capacidad de etapa 1, y la única aplicación de límites en la región de memoria resultante (drwav__metadata_get_memory()) es un DRWAV_ASSERT, que se compila como una operación nula bajo -DNDEBUG (el valor predeterminado para las compilaciones de lanzamiento). Un archivo WAV W64 manipulado puede, por lo tanto, causar un desbordamiento de búfer de pila en cualquier aplicación de 32 bits que analice metadatos WAV no confiables. -
CVE Translated by [email protected]
Oct. 23, 2026
Action Type Old Value New Value Added Translation Title: dr_libs de mackron, Description: dr_libs dr_wav.h (todas las versiones hasta la actual master) contiene un desbordamiento de entero en el análisis de metadatos de fragmentos CUE W64. En drwav__metadata_process_chunk(), una estimación de capacidad de etapa 1 trunca el tamaño de fragmento W64 de 64 bits sizeInBytes a size_t antes de dividir por DRWAV_CUE_POINT_BYTES; en compilaciones de 32 bits esta truncación causa que la capacidad de metadatos extra preasignada se calcule incorrectamente. La lectura subsiguiente en drwav__read_cue_to_metadata_obj() calcula el recuento real de puntos de referencia y el tamaño de asignación utilizando el campo cuePointCount de precisión completa y controlado por el atacante sin cotejarlo con la estimación de capacidad de etapa 1, y la única aplicación de límites en la región de memoria resultante (drwav__metadata_get_memory()) es un DRWAV_ASSERT, que se compila como una operación nula bajo -DNDEBUG (el valor predeterminado para las compilaciones de lanzamiento). Un archivo WAV W64 manipulado puede, por lo tanto, causar un desbordamiento de búfer de pila en cualquier aplicación de 32 bits que analice metadatos WAV no confiables. -
CVE Modified by 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
Aug. 10, 2026
Action Type Old Value New Value Changed 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. 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. 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. -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 05, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-71261', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-08-05T15:36:58.042254Z'} -
New CVE Received by 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
Aug. 05, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'mackron', 'product': 'dr_libs', 'versions': [{'status': 'affected', 'version': '0', 'versionType': 'custom', 'lessThanOrEqual': '*'}], 'programFiles': ['dr_wav.h'], 'defaultStatus': 'unaffected'}] Added 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. 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. Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Added CWE CWE-190 Added Reference https://github.com/mackron/dr_libs Added Reference https://github.com/mackron/dr_libs/blob/master/dr_wav.h