Denial of Service Vulnerability in libvorbis: CVE-2018-10392

libvorbis Updated 02 Oct 2025

Summary

26/04/2018
N/A
Yes i
High
8.8

ALPINE-CVE-2018-10392: mapping0_forward in mapping0.c in Xiph.Org libvorbis 1.3.6 does not validate the number of channels, which allows remote attackers to cause a denial of service (heap-based buffer overflow or over-read) or possibly have u... Affects libvorbis versions < 1.3.6-r1. Fixed in 1.3.6-r1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

libvorbis is an open-source audio codec library developed by the Xiph.Org Foundation. It is widely used for encoding and decoding audio files in various applications. The library is known for its high-quality audio compression and is often integrated into multimedia software. However, it has a vulnerability that can lead to severe security issues, particularly when handling malformed audio files.

Vulnerability Detail

The vulnerability identified as CVE-2018-10392 arises from the mapping0_forward function in mapping0.c within libvorbis version 1.3.6. This function fails to validate the number of audio channels, which can be exploited by remote attackers. By supplying a crafted audio file, an attacker can trigger a heap-based buffer overflow or over-read, potentially leading to a denial of service or other unspecified impacts. The CVSS score for this vulnerability is 8.8, indicating a high severity level.

How To Fix

Minimum fixed version

1.3.6-r1

This is the first release that contains the fix.

sudo apk add --upgrade libvorbis

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

Workaround

As a temporary workaround, avoid processing untrusted or unverified audio files with the libvorbis library until the package is updated. Implementing strict validation checks on audio files before processing can also mitigate the risk.

Conclusion

The CVE-2018-10392 vulnerability in libvorbis poses a significant risk due to its potential for denial of service attacks. Users are strongly advised to update to the patched version to ensure the security of their applications. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for libvorbis →

Share this vulnerability

FAQ

CVE-2018-10392 is a vulnerability in the libvorbis library that allows remote attackers to exploit a flaw in the mapping0_forward function, leading to potential denial of service.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which analyzes your manifest file for vulnerabilities.

Exploitation of this vulnerability can lead to a denial of service, causing the application to crash or behave unexpectedly when processing malicious audio files.

Yes, a patch is available in version 1.3.6-r1 of the libvorbis package. Updating to this version will resolve the vulnerability.

If an immediate update is not possible, avoid processing untrusted audio files and implement validation checks to reduce the risk of exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for libvorbis.

How To Fix

Minimum fixed version

1.3.6-r1

This is the first release that contains the fix.

sudo apk add --upgrade libvorbis

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