Heap-based Buffer Overflow in Xiph.Org libvorbis 1.3.6

libvorbis Updated 02 Oct 2025

Summary

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

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 across 2 version ranges.

< 1.3.6-r1 < d22c3ab5f633460abc2532feee60ca0892134cbf

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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Xiph.Org libvorbis is an open-source audio compression library that provides support for the Vorbis audio format. It is widely used in various applications and platforms for encoding and decoding audio files. However, a vulnerability has been discovered in version 1.3.6 of libvorbis that can lead to a heap-based buffer overflow or over-read. This vulnerability can be exploited by remote attackers through a specially crafted file, potentially causing a denial of service or other unspecified impacts.

Vulnerability Detail

The vulnerability, identified as CVE-2018-10392, resides in the 'mapping0_forward' function in the 'mapping0.c' file of libvorbis. It occurs due to the lack of validation for the number of channels in the audio file. By manipulating this parameter, an attacker can trigger a heap-based buffer overflow or over-read, leading to a potential compromise of the system or a denial of service. The exact impact of the vulnerability may vary depending on the specific application or platform using 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 →

Workaround

As a workaround, users can consider implementing strict input validation for audio files processed by libvorbis. This can help mitigate the risk of exploitation by rejecting files with an abnormal number of channels or other suspicious characteristics. However, applying the official patch or updating to the latest version is still the recommended solution.

Conclusion

In conclusion, the heap-based buffer overflow vulnerability in Xiph.Org libvorbis 1.3.6 can pose a significant risk to systems utilizing this library for audio processing. It is crucial to update to the patched version or apply the recommended workaround to mitigate the potential impact. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for libvorbis →

Share this vulnerability

FAQ

Xiph.Org libvorbis is an open-source audio compression library used for encoding and decoding audio files in the Vorbis format.

The vulnerability can potentially lead to a heap-based buffer overflow or over-read, which may result in a denial of service or other unspecified impacts.

To fix this vulnerability, update libvorbis to version 1.3.6-r1 or later. Check for updates from your package manager or download the latest version from the official Xiph.Org libvorbis website.

Implementing strict input validation for audio files processed by libvorbis can serve as a temporary workaround. However, updating to the latest version is still recommended.

For more information about this vulnerability, you can refer to the official CVE-2018-10392 entry or consult the Xiph.Org libvorbis documentation.

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