Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-71261

Опубликовано: 05 авг. 2026
Источник: redhat
CVSS3: 7.8
EPSS Низкий

Описание

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.

A flaw was found in dr_libs. An integer overflow vulnerability exists in the W64 CUE chunk metadata parsing within the dr_wav.h component. A remote attacker could exploit this by providing a specially crafted W64 WAV file. This could lead to a heap buffer overflow, potentially allowing for arbitrary code execution on 32-bit applications processing untrusted WAV metadata.

Отчет

An integer overflow flaw was found in the dr_libs dr_wav.h W64 CUE chunk metadata parsing. When a 32-bit application linked against dr_libs processes a specially crafted W64 WAV file, a truncated capacity estimate combined with an attacker-controlled cuePointCount field causes a heap buffer overflow during WAV metadata parsing, which could result in arbitrary code execution in the context of the application or a crash. Red Hat rated this flaw as Important (CVSS 7.8, CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H); exploitation requires a victim to open or process a malicious W64 WAV file with an affected 32-bit application, and 64-bit builds are not affected by this specific integer truncation. This flaw only affects Red Hat community-supported offerings: the dr_libs package in Fedora is affected, and a fix is being pursued by the Fedora community maintainers. The dr_libs package in EPEL and Fedora's dosbox-staging, which bundles dr_libs, were assessed by the community maintainers as not affected. No supported Red Hat Enterprise Linux products are affected, as dr_libs is not shipped in them.

Меры по смягчению последствий

To mitigate this issue, avoid processing untrusted W64 WAV files with applications linked against the dr_libs library, especially in 32-bit environments. Users should exercise caution when handling WAV files from unknown or untrusted sources.

Дополнительная информация

Статус:

Important
Дефект:
CWE-131
https://bugzilla.redhat.com/show_bug.cgi?id=2511564dr_libs: dr_libs: Heap buffer overflow via crafted W64 WAV file

EPSS

Процентиль: 7%
0.00174
Низкий

7.8 High

CVSS3

Связанные уязвимости

CVSS3: 7.8
ubuntu
4 месяца назад

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.

CVSS3: 7.8
nvd
4 месяца назад

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.

CVSS3: 7.8
debian
4 месяца назад

dr_libs dr_wav.h (all versions through current master) contains an int ...

CVSS3: 7.8
github
4 месяца назад

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.

EPSS

Процентиль: 7%
0.00174
Низкий

7.8 High

CVSS3