Cloudanix VulnDB

CVE-2016-9082

Medium · 5.5

CVSS

5.5

EPSS

2.0%

Published

Feb 3, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

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

  1. Attacker generates oversized SVG file targeting the write_png path
  2. Victim application opens or renders the SVG using Cairo
  3. Integer overflow occurs during PNG output preparation
  4. 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