Heap Overflow Vulnerability in libxcursor: Denial of Service Risk

libxcursor Updated 02 Oct 2025

Summary

01/08/2018
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2015-9262: _XcursorThemeInherits in library.c in libXcursor before 1.1.15 allows remote attackers to cause denial of service or potentially code execution via a one-byte heap overflow. Affects libxcursor versions < 1:1.1.15-1. Fixed in 1:1.1.15-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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

libxcursor is a library that provides functions for loading and manipulating cursor images in X Window System applications. It is widely used in graphical applications to manage mouse cursor appearances. The library is crucial for ensuring that user interfaces are visually appealing and responsive. However, prior to version 1.1.15, libxcursor contained a vulnerability that could be exploited by remote attackers, leading to potential denial of service or code execution.

Vulnerability Detail

The vulnerability, identified as CVE-2015-9262, exists in the _XcursorThemeInherits function within library.c of libXcursor versions before 1.1.15. It allows remote attackers to exploit a one-byte heap overflow, which can lead to denial of service or potentially allow the execution of arbitrary code. This vulnerability arises from improper handling of memory allocation, making it possible for attackers to manipulate the heap memory.

How To Fix

Minimum fixed version

1:1.1.15-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libxcursor

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

Workaround

If you are unable to update the package immediately, consider disabling any features that rely on libxcursor or restricting access to applications that utilize this library until the update can be applied.

Conclusion

The vulnerability in libxcursor (CVE-2015-9262) poses significant risks, including denial of service and potential code execution. It is crucial for users to update to the patched version 1:1.15-1 or later to safeguard their systems. Regular monitoring for vulnerabilities using tools like Vulert can help maintain software security.

See every vulnerability recorded for libxcursor →

Share this vulnerability

FAQ

CVE-2015-9262 is a vulnerability in libxcursor that allows for a heap overflow, potentially leading to denial of service or code execution.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor and alert for open-source vulnerabilities.

Not fixing this vulnerability could expose your system to denial of service attacks or allow attackers to execute arbitrary code, compromising system security.

Yes, you can mitigate the risk by disabling features that rely on libxcursor or restricting access to applications that use this library.

It is recommended to regularly check for vulnerabilities, ideally on a weekly basis, to ensure that your software remains secure and up-to-date.

Related vulnerabilities

Recent vulnerabilities recorded for libxcursor.

How To Fix

Minimum fixed version

1:1.1.15-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libxcursor

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