Critical Remote Code Execution Vulnerability in libvorbis - CVE-2017-14632

libvorbis Updated 02 Oct 2025

Summary

21/09/2017
N/A
Yes i
Critical
9.8

ALPINE-CVE-2017-14632: Xiph.Org libvorbis 1.3.5 allows Remote Code Execution upon freeing uninitialized memory in the function vorbis_analysis_headerout() in info.c when vi->channels. Affects libvorbis versions < 1.3.5-r4. Fixed in 1.3.5-r4. 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 compression library developed by the Xiph.Org Foundation. It is widely used for encoding and decoding audio streams in various applications. The library is known for its high-quality audio output and efficient compression algorithms. However, it has been identified to have a critical vulnerability that can lead to remote code execution, particularly when handling uninitialized memory.

Vulnerability Detail

The vulnerability, identified as CVE-2017-14632, arises from a flaw in the function vorbis_analysis_headerout() within the libvorbis library. When the number of channels (vi->channels) is less than or equal to zero, the function may attempt to free uninitialized memory. This can lead to remote code execution, allowing an attacker to execute arbitrary code on the affected system. The severity of this vulnerability is underscored by its CVSS score of 9.8, indicating a critical risk to systems utilizing this library.

How To Fix

Minimum fixed version

1.3.5-r4

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

If immediate updating is not feasible, consider implementing input validation to ensure that the number of channels is always greater than zero before invoking the vorbis_analysis_headerout() function. This can help mitigate the risk until the package is updated.

Conclusion

The CVE-2017-14632 vulnerability in libvorbis poses a significant risk due to its potential for remote code execution. It is crucial for users of the library to update to the patched version to mitigate this risk. Additionally, implementing workarounds can provide temporary relief until the update is applied.

See every vulnerability recorded for libvorbis →

Share this vulnerability

FAQ

CVE-2017-14632 is a critical vulnerability in the libvorbis library that allows remote code execution due to improper handling of uninitialized memory.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score for CVE-2017-14632 is 9.8, indicating a critical level of risk.

Implement input validation to ensure that the number of channels is greater than zero before calling the vulnerable function as a temporary workaround.

More information about libvorbis can be found on the official Xiph.Org website, which provides documentation and resources related to the library.

Related vulnerabilities

Recent vulnerabilities recorded for libvorbis.

How To Fix

Minimum fixed version

1.3.5-r4

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