Description
A flaw was found in GStreamer's WavPack audio decoder in gst-plugins-good. When processing a specially crafted WavPack file, an integer overflow in the buffer size calculation (4 * block_samples * channels) in gst_wavpack_dec_handle_frame() causes a very small heap allocation. The WavPack library then writes decoded audio samples far beyond the allocated buffer, resulting in heap memory corruption. This affects both 32-bit and 64-bit systems since the arithmetic is performed in 32-bit integers before promotion to the allocation size type. A remote attacker could use this flaw to crash an application or potentially execute arbitrary code by convincing a user to open a malicious WavPack audio file.
Problem types
Integer Overflow or Wraparound
Product status
Timeline
| 2026-04-28: | Reported to Red Hat. |
| 2026-06-12: | Made public. |
Credits
Red Hat would like to thank Seung Min Shin for reporting this issue.
References
access.redhat.com/security/cve/CVE-2026-53705
bugzilla.redhat.com/show_bug.cgi?id=2487615 (RHBZ#2487615)