Out-of-Bounds Memory Access in libXv

libxv Updated 02 Oct 2025

Summary

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

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

< 1.0.10-r1 < 736d7ac5a94c7aa6761d50ab58339a3d9a116c51

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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

libXv is a library in the X.org project that provides an X Window System extension for video output. It allows applications to display video on X servers. The library is widely used in various Linux distributions, including Alpine Linux versions 3.2 and 3.3. However, a vulnerability, identified as CVE-2016-5407, has been discovered in libXv versions prior to 1.0.11. This vulnerability can be exploited by remote X servers to trigger out-of-bounds memory access operations through manipulated length specifications in received data.

Vulnerability Detail

The vulnerability (CVE-2016-5407) in libXv arises from two functions: XvQueryAdaptors and XvQueryEncodings. These functions do not properly validate length specifications in received data, allowing remote X servers to trigger out-of-bounds memory access operations. An attacker can exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition on the affected system. The severity of this vulnerability is rated as critical with a CVSSv3 score of 9.8.

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

There is no known workaround for this vulnerability. It is essential to update the libXv package to the fixed version as soon as possible.

Conclusion

The vulnerability (CVE-2016-5407) in libXv versions prior to 1.0.11 allows remote X servers to trigger out-of-bounds memory access operations. To mitigate this vulnerability, it is essential to update the libXv package to the fixed version. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for libxv →

Share this vulnerability

FAQ

libXv is a library in the X.org project that provides an X Window System extension for video output. It allows applications to display video on X servers.

This vulnerability allows remote X servers to trigger out-of-bounds memory access operations, which can lead to arbitrary code execution or denial-of-service attacks.

You can use the Vulert playground at Vulert Scanner to check if your application or system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and Vulert will provide real-time monitoring and alerts for open-source vulnerabilities.

No, there is no known workaround for this vulnerability. It is crucial to update the libXv package to the fixed version.

The CVSSv3 score of this vulnerability is 9.8, indicating its critical severity.

Related vulnerabilities

Recent vulnerabilities recorded for libxv.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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