Critical Out-of-Bounds Memory Access Vulnerability in libXv

libxv Updated 02 Oct 2025

Summary

13/12/2016
N/A
Yes i
Critical
9.8

ALPINE-CVE-2016-5407: The (1) XvQueryAdaptors and (2) XvQueryEncodings functions in X.org libXv before 1.0.11 allow remote X servers to trigger out-of-bounds memory access operations via vectors involving length specifications in received dat... Affects libxv versions < 1.0.10-r1. Fixed in 1.0.10-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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libXv is a library that provides an interface for the X Video Extension, allowing applications to access video hardware capabilities. It is commonly used in graphical applications to enhance video playback. The library is integral for systems that rely on X11 for graphical output, making it a crucial component for many Linux distributions, including Alpine Linux. The vulnerability in question affects versions prior to 1.0.11, exposing systems to potential remote exploitation.

Vulnerability Detail

The vulnerability arises from the XvQueryAdaptors and XvQueryEncodings functions in libXv, which allow remote X servers to trigger out-of-bounds memory access operations. This can lead to severe consequences, including arbitrary code execution, data corruption, or system crashes. The flaw is rooted in improper handling of length specifications in received data, making it critical for users of affected versions to address it promptly.

How To Fix

Minimum fixed version

1.0.10-r1

This is the first release that contains the fix.

sudo apk add --upgrade libxv

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

Workaround

As a temporary workaround, users can restrict access to the X server or limit the use of the affected functions until the package is updated. However, this is not a permanent solution and updating the package is strongly recommended.

Conclusion

The vulnerability in libXv poses a serious risk to systems utilizing this library, particularly those running affected versions. It is crucial for users to update to the patched versions as soon as possible to mitigate potential exploitation risks. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for libxv →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 9.8, indicating a critical level of severity.

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

Exploitation of this vulnerability can lead to arbitrary code execution, data corruption, or system crashes, posing significant risks to system integrity.

Yes, you can restrict access to the X server or limit the use of the affected functions as a temporary measure until you can apply the update.

More information about libXv can be found in the official documentation or repositories related to the X Window System.

Related vulnerabilities

Recent vulnerabilities recorded for libxv.

How To Fix

Minimum fixed version

1.0.10-r1

This is the first release that contains the fix.

sudo apk add --upgrade libxv

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