Fedora Account System
Red Hat Associate
Red Hat Customer
GStreamer WavPack decoder heap buffer overflow via integer overflow. In gst_wavpack_dec_handle_frame() (gstwavpackdec.c), the allocation g_malloc(4 * wph.block_samples * dec->channels) uses unchecked 32-bit arithmetic. With block_samples=0x20000001 and stereo, the multiplication wraps to 8 bytes; WavpackUnpackSamples() then writes ~4 GiB past the allocation. Affects 64-bit RHEL (arithmetic is 32-bit before size_t promotion). Fix pending in GStreamer 1.28.4. Reported via PSIRTSUPT-8879 by Seung Min Shin.