What’s Vulnerable › Vulnerabilities

CVE-2026-18298: GStreamer PNG File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

Description

GStreamer PNG File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GStreamer. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of PNG files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-29581.

Affected products

How to fix

Upgrade to a fixed version: GStreamer 1.28.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-18298 or the next vulnerability affects your stack