Skip to content
Memory corruption Advisory Advanced CVE-2024-47538CVE-2024-47607CVE-2024-47615CVE-2024-47613

GHSL-2024-115_GHSL-2024-118: Multiple vulnerabilities in GStreamer, including stack buffer overflows, out-of-bounds write, and null pointer dereference - CVE-2024-47538, CVE-2024-47607, CVE-2024-47615, CVE-2024-47613

Multiple memory safety bugs were found in GStreamer's handling of Vorbis, Opus, and gdk-pixbuf media files. An attacker could exploit these to corrupt memory, potentially leading to code execution or denial of service.

antonio-morales Follow

Originally disclosed on GitHub Security Lab

A stack-buffer overflow has been detected in the vorbishandleidentificationpacket function within gstvorbisdec.c.

antonio-morales, on GitHub Security Lab

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

Root cause

Likely, the code fails to validate the number of channels or size values read from input files before using them to index fixed-size arrays.

Impact

These vulnerabilities could allow an attacker to corrupt memory, potentially leading to code execution or a denial of service.

What the attacker needed

Victim opens a malicious media file

The fix

The issues were fixed and disclosed by the GStreamer project.

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.

These are bugs in a media library that processes audio and image files. When the library reads a specially crafted file, it can write data past the end of a small buffer, which can crash the program or let an attacker run their own code.

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.

More by antonio-morales

View all

45 more disclosed reports, best first.

More from GitHub Security Lab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.