CVE-2016-9082
Medium · 5.5CVSS
5.5
EPSS
2.0%
Published
Feb 3, 2017
CISA due date
—
Cloudanix analysis
A graphics library can crash when it tries to handle an unusually large image file, potentially stopping programs that create or convert pictures.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Integer overflow in write_png leads to invalid pointer dereference when processing oversized SVG input, resulting in application crash.
Why it matters to the business
Applications using Cairo for image rendering can be forced to terminate unexpectedly when handling specially crafted vector files, interrupting workflows that depend on reliable graphics processing.
How an attack unfolds
An attacker creates a large SVG file sized to trigger the integer overflow inside the write_png routine; when a victim application loads or converts the file, Cairo attempts the faulty operation and crashes.
How to fix it
Upgrade Cairo to a release newer than 1.14.6 that resolves the integer handling flaw; rebuild dependent applications against the patched library and test SVG processing paths.
How to confirm the fix worked
Confirm the installed Cairo version exceeds 1.14.6, then attempt rendering of known large SVG test cases to verify absence of crashes; review build logs for updated library linkage.
Typical attack path
- Attacker generates oversized SVG file targeting the write_png path
- Victim application opens or renders the SVG using Cairo
- Integer overflow occurs during PNG output preparation
- Invalid pointer dereference triggers denial of service
How to detect it
Monitor application crash logs for Cairo-related faults during SVG or PNG conversion; correlate file access timestamps of large SVG inputs with process terminations.
What your security team should do
- Inventory all systems and containers using Cairo and schedule library updates
- Add Cairo version checks to software bill-of-materials and dependency scanners
- Block or sanitize untrusted SVG files at application entry points until patched
The record
Integer overflow in the write_png function in cairo 1.14.6 allows remote attackers to cause a denial of service (invalid pointer dereference) via a large svg file.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | cairo | 0 | 1.14.6-1.1 |
| Debian:12 | cairo | 0 | 1.14.6-1.1 |
| Debian:13 | cairo | 0 | 1.14.6-1.1 |
| Debian:7 | cairo | 0 | 1.12.2-3+deb7u1 |
| Mageia:5 | cairo | 0 | 1.14.0-1.1.mga5 |
| SUSE:Linux Enterprise Desktop 12 SP2 | cairo | 0 | 1.15.2-24.1 |
| SUSE:Linux Enterprise Server 11 SP4 | cairo | 0 | 1.8.8-2.3.7.1 |
| SUSE:Linux Enterprise Server 12 SP2 | cairo | 0 | 1.15.2-24.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | cairo | 0 | 1.15.2-24.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | cairo | 0 | 1.8.8-2.3.7.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | cairo | 0 | 1.15.2-24.1 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | cairo | 0 | 1.8.8-2.3.7.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | cairo | 0 | 1.15.2-24.1 |
| Ubuntu:Pro:16.04:LTS | cairo | 0 | 1.14.6-1ubuntu0.1~esm1 |
Related vulnerabilities
- 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
- CVE-2026-102633 libexpat versions 2.7.2 through 2.8.5 contain an integer overflow vulnerability in… CWE-190