Out-of-Bounds Memory Access in libXv
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.