CVE-2026-18297 GStreamer OGG File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability

High 7.8 Published Updated

Remote attackers can execute arbitrary code by tricking users into opening malicious OGG files due to a stack-based buffer overflow in GStreamer.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-18297?

CVE-2026-18297 is a high-severity memory corruption vulnerability in Gstreamer Gstreamer, published on 20 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

GStreamer OGG File Parsing Stack-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 OGG files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-29584.

Weakness: CWE-121

Which versions are affected by CVE-2026-18297?

It affects 1 product.

Linux distribution packages (40)
gstreamer1-plugins-base AlmaLinux:10All versions1.26.7-2.el10_2.1
gstreamer1-plugins-base-devel AlmaLinux:10All versions1.26.7-2.el10_2.1
gstreamer1-plugins-base-tools AlmaLinux:10All versions1.26.7-2.el10_2.1
gstreamer1-plugins-base AlmaLinux:8All versions1.16.1-6.el8_10.1
gstreamer1-plugins-base-devel AlmaLinux:8All versions1.16.1-6.el8_10.1
gstreamer1-plugins-base Red Hat:enterprise_linux:10.2All versions0:1.26.7-2.el10_2.1
gstreamer1-plugins-base-debuginfo Red Hat:enterprise_linux:10.2All versions0:1.26.7-2.el10_2.1
gstreamer1-plugins-base-debugsource Red Hat:enterprise_linux:10.2All versions0:1.26.7-2.el10_2.1
gstreamer1-plugins-base-devel Red Hat:enterprise_linux:10.2All versions0:1.26.7-2.el10_2.1
gstreamer1-plugins-base-tools Red Hat:enterprise_linux:10.2All versions0:1.26.7-2.el10_2.1
gstreamer1-plugins-base-tools-debuginfo Red Hat:enterprise_linux:10.2All versions0:1.26.7-2.el10_2.1
gstreamer1-plugins-base Red Hat:enterprise_linux:8::appstreamAll versions0:1.16.1-6.el8_10.1
gstreamer1-plugins-base-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:1.16.1-6.el8_10.1
gstreamer1-plugins-base-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:1.16.1-6.el8_10.1
gstreamer1-plugins-base-devel Red Hat:enterprise_linux:8::appstreamAll versions0:1.16.1-6.el8_10.1
gstreamer1-plugins-base-tools-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:1.16.1-6.el8_10.1
gstreamer1-plugins-base Red Hat:enterprise_linux_eus:10.0All versions0:1.24.11-1.el10_0.2
gstreamer1-plugins-base-debuginfo Red Hat:enterprise_linux_eus:10.0All versions0:1.24.11-1.el10_0.2
gstreamer1-plugins-base-debugsource Red Hat:enterprise_linux_eus:10.0All versions0:1.24.11-1.el10_0.2
gstreamer1-plugins-base-devel Red Hat:enterprise_linux_eus:10.0All versions0:1.24.11-1.el10_0.2
gstreamer1-plugins-base-tools Red Hat:enterprise_linux_eus:10.0All versions0:1.24.11-1.el10_0.2
gstreamer1-plugins-base-tools-debuginfo Red Hat:enterprise_linux_eus:10.0All versions0:1.24.11-1.el10_0.2
gstreamer1-plugins-base Red Hat:rhel_aus:8.4::appstreamAll versions0:1.16.1-4.el8_4.1
gstreamer1-plugins-base-debuginfo Red Hat:rhel_aus:8.4::appstreamAll versions0:1.16.1-4.el8_4.1
gstreamer1-plugins-base-debugsource Red Hat:rhel_aus:8.4::appstreamAll versions0:1.16.1-4.el8_4.1
gstreamer1-plugins-base-devel Red Hat:rhel_aus:8.4::appstreamAll versions0:1.16.1-4.el8_4.1
gstreamer1-plugins-base-tools-debuginfo Red Hat:rhel_aus:8.4::appstreamAll versions0:1.16.1-4.el8_4.1
gstreamer1-plugins-base Red Hat:rhel_aus:8.6::appstreamAll versions0:1.16.1-4.el8_6.1
gstreamer1-plugins-base-debuginfo Red Hat:rhel_aus:8.6::appstreamAll versions0:1.16.1-4.el8_6.1
gstreamer1-plugins-base-debugsource Red Hat:rhel_aus:8.6::appstreamAll versions0:1.16.1-4.el8_6.1
gstreamer1-plugins-base-devel Red Hat:rhel_aus:8.6::appstreamAll versions0:1.16.1-4.el8_6.1
gstreamer1-plugins-base-tools-debuginfo Red Hat:rhel_aus:8.6::appstreamAll versions0:1.16.1-4.el8_6.1
gstreamer1-plugins-base Red Hat:rhel_e4s:8.8::appstreamAll versions0:1.16.1-4.el8_8.1
gstreamer1-plugins-base-debuginfo Red Hat:rhel_e4s:8.8::appstreamAll versions0:1.16.1-4.el8_8.1
gstreamer1-plugins-base-debugsource Red Hat:rhel_e4s:8.8::appstreamAll versions0:1.16.1-4.el8_8.1
gstreamer1-plugins-base-devel Red Hat:rhel_e4s:8.8::appstreamAll versions0:1.16.1-4.el8_8.1
gstreamer1-plugins-base-tools-debuginfo Red Hat:rhel_e4s:8.8::appstreamAll versions0:1.16.1-4.el8_8.1
gstreamer1-plugins-base Red Hat:rhel_e4s:9.2::appstreamAll versions0:1.18.4-8.el9_2.1
gstreamer1-plugins-base-debuginfo Red Hat:rhel_e4s:9.2::appstreamAll versions0:1.18.4-8.el9_2.1
gstreamer1-plugins-base-debugsource Red Hat:rhel_e4s:9.2::appstreamAll versions0:1.18.4-8.el9_2.1

Products include Gstreamer Gstreamer.

How do I fix CVE-2026-18297?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-18297 being exploited?

There is no known exploitation of CVE-2026-18297 in the wild and no public exploit code.

All Gstreamer Gstreamer vulnerabilities

Sources

Also known as ALSA-2026:59097, ALSA-2026:59487, AZL-97439, BELL-CVE-2026-18297, DEBIAN-CVE-2026-18297, ECHO-dd4f-5d3e-7fde and 17 more.

Is CVE-2026-18297 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free