Out-of-Bounds Write Vulnerability in libXrender: CVE-2016-7950

libxrender Updated 02 Oct 2025

Summary

13/12/2016
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2016-7950: The XRenderQueryFilters function in X.org libXrender before 0.9.10 allows remote X servers to trigger out-of-bounds write operations via vectors involving filter name lengths. Affects libxrender versions < 1:0.9.10-1. Fixed in 1:0.9.10-1. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libXrender is a library that provides an interface for rendering X11 graphics. It is commonly used in various applications that require graphical output in X Window System environments. The library facilitates advanced rendering techniques, enabling applications to produce high-quality graphics. However, certain versions of libXrender are vulnerable to a specific issue that allows remote X servers to exploit the library, leading to potential security risks.

Vulnerability Detail

The vulnerability, identified as CVE-2016-7950, arises from the XRenderQueryFilters function in X.org libXrender versions prior to 0.9.10. This flaw allows remote X servers to trigger out-of-bounds write operations by manipulating filter name lengths. Such exploitation can lead to unauthorized memory access, potentially allowing attackers to execute arbitrary code or crash the application, thereby compromising the integrity and availability of the system.

How To Fix

Minimum fixed version

1:0.9.10-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libxrender

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 remote X connections until the package is updated. This can be done by configuring the X server settings to allow only trusted clients.

Conclusion

CVE-2016-7950 is a significant vulnerability affecting the libXrender library, allowing remote exploitation through out-of-bounds write operations. It is crucial for users to update to the patched version to safeguard their systems. Temporary workarounds can help mitigate risks until the update is applied.

See every vulnerability recorded for libxrender →

Share this vulnerability

FAQ

CVE-2016-7950 is a vulnerability in the libXrender library that allows remote X servers to perform out-of-bounds write operations, potentially leading to security breaches.

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 risks include unauthorized memory access, potential execution of arbitrary code, and application crashes, which can compromise system security.

Yes, the patched version of libXrender is 1:0.9.10-1. Updating to this version will resolve the vulnerability.

If immediate updating is not possible, consider restricting access to the X server or limiting remote X connections as a temporary measure.

Related vulnerabilities

Recent vulnerabilities recorded for libxrender.

How To Fix

Minimum fixed version

1:0.9.10-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libxrender

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