CVE-2017-10794
Medium · 5.5CVSS
5.5
EPSS
1.5%
Published
Jul 2, 2017
CISA due date
—
Cloudanix analysis
A problem in certain software that handles picture files can let someone on the same computer crash the program by opening a specially made image.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A buffer overflow occurs in TIFF processing code when handling an RGB image with single-sample-per-pixel metadata, related to QuantumTransferMode.
Why it matters to the business
Local users can trigger denial of service against image-handling applications, interrupting workflows that rely on TIFF files; the age of the flaw and absence from known exploited lists reduce urgency but affected packages remain present in Debian and Ubuntu distributions.
How an attack unfolds
An attacker prepares a malicious RGB TIFF file and supplies it to a victim who processes the image locally with vulnerable software, causing the overflow during metadata handling.
How to fix it
Upgrade libpodofo to the listed fixed versions (0.9.6+dfsg-3 on Debian 10-13, 0.9.6+dfsg-5 on Ubuntu 20.04) and rebuild any dependent packages.
How to confirm the fix worked
Verify installed package versions match the fixed releases, then attempt to process a known-good RGB TIFF image to confirm normal operation.
Typical attack path
- Create specially crafted RGB TIFF file
- Deliver file to target user or system
- Victim opens or converts the file
- Buffer overflow triggers crash or memory corruption
How to detect it
Review application logs and crash reports for TIFF processing failures, and inspect system package databases for versions older than the fixed releases.
What your security team should do
- Apply the listed package upgrades across all affected Debian and Ubuntu systems
- Scan package inventories for remaining vulnerable libpodofo versions
- Limit local TIFF processing to trusted sources until patches are deployed
The record
When GraphicsMagick 1.3.25 processes an RGB TIFF picture (with metadata indicating a single sample per pixel) in coders/tiff.c, a buffer overflow occurs, related to QuantumTransferMode.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | graphicsmagick | 0 | 1.3.26-1 |
| Debian:12 | graphicsmagick | 0 | 1.3.26-1 |
| Debian:13 | graphicsmagick | 0 | 1.3.26-1 |
| Debian:9 | graphicsmagick | 0 | 1.3.30+hg15796-1~deb9u1 |
| Mageia:5 | graphicsmagick | 0 | 1.3.26-1.1.mga5 |
| Mageia:6 | graphicsmagick | 0 | 1.3.26-1.1.mga6 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | GraphicsMagick | 0 | 1.2.5-78.78.1 |
| SUSE:Studio Onsite 1.3 | GraphicsMagick | 0 | 1.2.5-78.78.1 |
| Ubuntu:16.04:LTS | graphicsmagick | 0 | 1.3.23-1ubuntu0.2 |
| openSUSE:Tumbleweed | GraphicsMagick | 0 | 1.3.36-1.7 |
Related vulnerabilities
- CVE-2025-27796 ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation… Also affects graphicsmagick
- CVE-2022-1270 In GraphicsMagick, a heap buffer overflow was found when parsing MIFF. Also affects graphicsmagick
- CVE-2019-12921 In GraphicsMagick before 1.3.32, the text filename component allows remote attackers to… Also affects graphicsmagick
- CVE-2018-20184 In GraphicsMagick 1.4 snapshot-20181209 Q8, there is a heap-based buffer overflow in the… Also affects graphicsmagick
- CVE-2017-17912 In GraphicsMagick 1.4 snapshot-20171217 Q8, there is a heap-based buffer over-read in… Also affects graphicsmagick
- CVE-2017-16545 The ReadWPGImage function in coders/wpg.c in GraphicsMagick 1.3.26 does not properly… Also affects graphicsmagick
- CVE-2017-16352 GraphicsMagick 1.3.26 is vulnerable to a heap-based buffer overflow vulnerability found… Also affects graphicsmagick
- CVE-2017-16353 GraphicsMagick 1.3.26 is vulnerable to a memory information disclosure vulnerability… Also affects graphicsmagick