Out-of-Bounds Read Vulnerability in GStreamer gst-plugins-base Package

gst-plugins-base Updated 02 Oct 2025

Summary

02/06/2021
N/A
Yes i
Medium
5.5

ALPINE-CVE-2021-3522: GStreamer before 1.18.4 may perform an out-of-bounds read when handling certain ID3v2 tags. Affects gst-plugins-base versions < 1.18.4-r0. Fixed in 1.18.4-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

GStreamer is a powerful multimedia framework that enables the construction of various media-handling components, including audio and video playback, streaming, and editing. The gst-plugins-base package provides a set of essential plugins for GStreamer, facilitating the handling of various media formats. However, certain versions of this package are vulnerable to an out-of-bounds read issue when processing specific ID3v2 tags, which could lead to unexpected behavior or crashes.

Vulnerability Detail

The vulnerability identified as ALPINE-CVE-2021-3522 affects GStreamer versions prior to 1.18.4. It arises from improper handling of ID3v2 tags, which may result in an out-of-bounds read. This flaw can be exploited by attackers to cause application crashes or potentially execute arbitrary code, thereby compromising the integrity and availability of the affected systems. The vulnerability has a CVSS score of 5.5, indicating a moderate severity level.

How To Fix

Minimum fixed version

1.18.4-r0

This is the first release that contains the fix.

sudo apk add --upgrade gst-plugins-base

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If you are unable to update the package immediately, consider disabling the processing of ID3v2 tags in your application as a temporary workaround. This can help prevent the exploitation of the vulnerability until a proper update can be applied.

Conclusion

The out-of-bounds read vulnerability in the GStreamer gst-plugins-base package poses a significant risk to applications that handle ID3v2 tags. It is crucial to update to the patched version 1.18.4-r0 or later to mitigate this risk. Users are encouraged to monitor their applications for vulnerabilities using tools like Vulert.

See every vulnerability recorded for gst-plugins-base →

Share this vulnerability

FAQ

An out-of-bounds read vulnerability occurs when a program reads data outside the allocated memory buffer, which can lead to unpredictable behavior, crashes, or security breaches.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Simply upload your manifest file, such as package-lock.json, to check for vulnerabilities.

Exploitation of this vulnerability can lead to application crashes, unexpected behavior, or even remote code execution, compromising the security and stability of affected systems.

Yes, temporarily disabling the processing of ID3v2 tags can serve as a workaround until you can apply the necessary updates.

The CVSS score for this vulnerability is 5.5, indicating a moderate level of severity.

Related vulnerabilities

Recent vulnerabilities recorded for gst-plugins-base.

How To Fix

Minimum fixed version

1.18.4-r0

This is the first release that contains the fix.

sudo apk add --upgrade gst-plugins-base

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback