GHSL-2024-260: OOB-read in gst_wavparse_cue_chunk in GStreamer - CVE-2024-47776
An out-of-bounds read was found in GStreamer's WAV parser when the chunk size is clipped incorrectly, causing a size check to pass despite the buffer being too small. An attacker could craft a malicious WAV file to trigger a crash or leak sensitive data.
Originally disclosed on GitHub Security Lab
An OOB-read has been discovered in gstwavparsecuechunk within gstwavparse.c.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
This could lead to a crash (denial of service) or the leak of sensitive data.
What the attacker needed
Malicious WAV file; victim opens the file
The fix
The issue was fixed and disclosed.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A WAV file is a common audio format. The parser reads a 'cue' section that lists markers, but it trusts a size value that can be wrong. If the size is wrong, the parser reads past the end of the data it actually has, which can crash the program or expose memory contents.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.