CVE-2015-5297
Critical · 9.8CVSS
9.8
EPSS
1.5%
Published
Jul 31, 2019
CISA due date
—
Cloudanix analysis
A problem in a widely used graphics library can let attackers crash programs or take over systems that display or process images.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Integer overflow in general_composite_rect() within pixman prior to 0.32.8 triggers memory corruption, enabling application crashes or arbitrary code execution when processing crafted image data.
Why it matters to the business
Applications relying on the pixman library risk denial of service or full system compromise; the vulnerability has been public for years with exploits available, though low exploitability metrics limit widespread urgency.
How an attack unfolds
An attacker supplies specially crafted pixel data to a pixman-dependent application, triggering the integer overflow during compositing operations to corrupt memory structures and either crash the process or redirect execution to attacker-controlled code; public exploits facilitate this remote or local vector.
How to fix it
Upgrade pixman to version 0.32.8 or newer; rebuild and redeploy all dependent applications against the patched library; where immediate upgrade is impossible, isolate affected services and restrict untrusted input.
How to confirm the fix worked
Query the installed pixman library version via package manager or ldd on binaries; confirm absence of the vulnerable general_composite_rect implementation through source inspection or dynamic testing with overflow-triggering inputs.
Typical attack path
- Locate an application or service that links against a vulnerable pixman version
- Prepare malicious image or rendering input designed to overflow the composite rectangle calculation
- Deliver the input via network, file, or API to the target process
- Trigger the overflow to achieve memory corruption and gain code execution or cause a crash
How to detect it
Search application and system logs for unexpected crashes or segmentation faults in processes linked to pixman; inspect for anomalous memory allocation patterns or core dumps containing compositing function frames; correlate with network or file inputs received shortly before failures.
What your security team should do
- Inventory all systems and containers using pixman and schedule immediate upgrades to 0.32.8+
- Monitor vulnerability feeds for downstream packages that embed pixman and apply coordinated patches
- Implement input validation and sandboxing around image processing code until patches are deployed
- Review exploit availability and test detection rules for memory corruption patterns in affected processes
The record
An integer overflow issue has been reported in the general_composite_rect() function in pixman prior to version 0.32.8. An attacker could exploit this issue to cause an application using pixman to crash or, potentially, execute arbitrary code.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | pixman | 0 | 0.33.4-1 |
| Debian:12 | pixman | 0 | 0.33.4-1 |
| Debian:13 | pixman | 0 | 0.33.4-1 |
| Debian:8 | pixman | 0 | 0.32.6-3+deb8u1 |
| Ubuntu:14.04:LTS | pixman | 0 | 0.30.2-2ubuntu1.2 |
| Ubuntu:16.04:LTS | pixman | 0 | 0.33.6-1 |
| Ubuntu:18.04:LTS | pixman | 0 | 0.34.0-2 |
Related vulnerabilities
- CVE-2014-9766 Integer overflow in the create_bits function in pixman-bits-image.c in Pixman before… Also affects pixman
- CVE-2026-110264 An issue has been discovered in GitLab CE/EE affecting all versions from 7.0 before… CWE-190
- CVE-2026-53615 util-linux is a random collection of Linux utilities. CWE-190
- CVE-2026-106574 ImageMagick is free and open-source software used for editing and manipulating digital… CWE-190
- CVE-2026-106571 ImageMagick is free and open-source software used for editing and manipulating digital… CWE-190
- CVE-2026-75820 GNU Aspell contains an integer truncation vulnerability in the WritableDict::add()… CWE-190
- CVE-2026-102621 A vulnerability was identified in Freedesktop Poppler up to 26.08.0. CWE-190
- CVE-2026-102620 A vulnerability was determined in Freedesktop Poppler 26.06.0/26.07.0/26.08.0. CWE-190