CVE-2011-5326
High · 7.5CVSS
7.5
EPSS
2.5%
Published
May 13, 2016
CISA due date
—
Cloudanix analysis
A bug in image-handling software lets attackers crash programs by sending one specially made picture, causing temporary outages until the program restarts.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Trivial
- Impact
- Denial Of Service
- Component
- Library
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Remote unauthenticated attacker triggers a divide-by-zero in the ellipse rendering path, causing the process to crash with no impact on confidentiality or integrity.
Why it matters to the business
Applications or services using the affected image library become unavailable after receiving a single malicious image, leading to service disruption until the process is restarted; widespread use in desktop environments and image viewers increases operational exposure.
How an attack unfolds
An attacker crafts a minimal image containing a 2x1 ellipse and delivers it over the network to any service that processes untrusted images with the vulnerable library; the malformed geometry calculation immediately produces a divide-by-zero and terminates the application.
How to fix it
Upgrade imlib2 to version 1.4.9 or later on all affected systems; rebuild any dependent packages against the patched library; apply vendor updates for distributions that ship the library.
How to confirm the fix worked
Confirm the installed library version is 1.4.9 or newer; run the library's test suite or a minimal reproducer that draws a 2x1 ellipse and verify the process no longer crashes.
Typical attack path
- Identify a network-accessible service that renders images using the vulnerable library
- Generate or obtain a 2x1 ellipse image that triggers the faulty code path
- Transmit the image to the target service
- Observe application crash and service outage
How to detect it
Review application and system logs for unexpected crashes or segmentation faults in processes linked to the library; correlate crash timestamps with inbound image uploads or network connections.
What your security team should do
- Prioritize patching systems that accept untrusted images from external sources
- Inventory all packages that link against the library and schedule upgrades
- Monitor for application crashes in image-processing services as a temporary detection measure
The record
imlib2 before 1.4.9 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) by drawing a 2x1 ellipse.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | imlib2 | 0 | 1.4.8-1 |
| Debian:12 | imlib2 | 0 | 1.4.8-1 |
| Debian:13 | imlib2 | 0 | 1.4.8-1 |
| Debian:7 | imlib2 | 0 | 1.4.5-1+deb7u2 |
| Debian:8 | imlib2 | 0 | 1.4.6-2+deb8u2 |
| Mageia:5 | imlib2 | 0 | 1.4.8-1.mga5 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | imlib2 | 0 | 1.4.2-2.20.1 |
| Ubuntu:14.04:LTS | imlib2 | 0 | 1.4.6-2ubuntu0.1 |
| Ubuntu:16.04:LTS | imlib2 | 0 | 1.4.7-1ubuntu0.1 |
Related vulnerabilities
- CVE-2024-25450 imlib2 v1.9.1 was discovered to mishandle memory allocation in the function… Also affects imlib2
- CVE-2024-25448 An issue in the imlib_free_image_and_decache function of imlib2 v1.9.1 allows attackers… Also affects imlib2
- CVE-2024-25447 An issue in the imlib_load_image_with_error_return function of imlib2 v1.9.1 allows… Also affects imlib2
- CVE-2020-12761 modules/loaders/loader_ico.c in imlib2 1.6.0 has an integer overflow (with resultant… Also affects imlib2
- CVE-2026-102621 A vulnerability was identified in Freedesktop Poppler up to 26.08.0. CWE-189
- CVE-2026-102620 A vulnerability was determined in Freedesktop Poppler 26.06.0/26.07.0/26.08.0. CWE-189
- CVE-2026-93314 A vulnerability was determined in Freedesktop Poppler 26.07.0. CWE-189
- CVE-2026-93313 A vulnerability was found in Freedesktop Poppler 26.07.0. CWE-189