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.
0:1.20.3-0ubuntu1.70:1.24.2-1ubuntu1.51.26.0-1ubuntu21.26.0-1ubuntu31.26.2-1ubuntu11.26.4-1ubuntu11.26.5-1ubuntu11.26.5-1ubuntu21.26.5-1ubuntu2.11.26.5-1ubuntu2.21.26.5-1ubuntu2.30:1.28.2-2ubuntu0.10:1.8.3-1ubuntu0.5+esm50:1.14.5-0ubuntu1~18.04.3+esm50:1.16.3-0ubuntu1.3+esm5Exploitability
AV:NAC:LPR:NUI:RScope
S:UImpact
C:LI:LA:HCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H