CVE-2024-46478
NoneCVSS
—
EPSS
0.7%
Published
Oct 24, 2024
CISA due date
—
Cloudanix analysis
A flaw in a document processing tool could let attackers run their own code on your computer if you open a specially made file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Application
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Buffer overflow in the parse_pre function allows memory corruption when processing specially crafted input files.
Why it matters to the business
Attackers could execute arbitrary code on affected systems, leading to full compromise, data theft, or service disruption; the affected library sees moderate downstream usage in document processing workflows.
How an attack unfolds
An attacker crafts a malicious input file that triggers the overflow during parsing, overwrites memory to redirect execution, and gains control of the process; no public exploitation or named threat actors observed.
How to fix it
Upgrade python-Pillow on SUSE OpenStack Cloud 7 to version 2.8.1-4.25.1 or later; apply vendor patches immediately given the buffer overflow risk.
How to confirm the fix worked
Verify the installed package version matches or exceeds the fixed release; retest parsing of boundary inputs to confirm the overflow is resolved.
Typical attack path
- Identify a target system processing untrusted input with the vulnerable library
- Craft a malformed input file that overflows the buffer in parse_pre
- Deliver the file via email, web upload, or shared storage
- Trigger parsing to achieve memory corruption and code execution
How to detect it
Review application and system logs for unexpected crashes or segmentation faults during file parsing; look for unusual process behavior after handling input files.
What your security team should do
- Prioritize patching the affected SUSE package within standard change windows
- Restrict processing of untrusted input files until upgrades are complete
- Monitor EPSS and exploit maturity for any increase in risk
The record
HTMLDOC v1.9.18 contains a buffer overflow in parse_pre function,ps-pdf.cxx:5681.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | htmldoc | 0 | No fix |
| Debian:12 | htmldoc | 0 | No fix |
| Debian:13 | htmldoc | 0 | No fix |
| Mageia:9 | htmldoc | 0 | 1.9.15-3.1.mga9 |
| SUSE:Package Hub 15 SP5 | htmldoc | 0 | 1.9.16-bp155.2.6.1 |
| Ubuntu:20.04:LTS | htmldoc | 0 | No fix |
| Ubuntu:22.04:LTS | htmldoc | 0 | No fix |
| Ubuntu:24.04:LTS | htmldoc | 0 | No fix |
| Ubuntu:24.10 | htmldoc | 0 | No fix |
| Ubuntu:24.10 | htmldoc | 0 | 1.9.18-1ubuntu0.1 |
| Ubuntu:Pro:14.04:LTS | htmldoc | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | htmldoc | 0 | 1.8.27-8ubuntu1+esm4 |
| Ubuntu:Pro:16.04:LTS | htmldoc | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | htmldoc | 0 | 1.8.27-8ubuntu1.1+esm3 |
| Ubuntu:Pro:18.04:LTS | htmldoc | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | htmldoc | 0 | 1.9.2-1ubuntu0.2+esm2 |
| Ubuntu:Pro:20.04:LTS | htmldoc | 0 | 1.9.7-1ubuntu0.3+esm2 |
| Ubuntu:Pro:22.04:LTS | htmldoc | 0 | 1.9.15-1ubuntu0.1~esm1 |
| Ubuntu:Pro:24.04:LTS | htmldoc | 0 | 1.9.17-1ubuntu0.1~esm1 |
| openSUSE:Leap 15.5 | htmldoc | 0 | 1.9.16-bp155.2.6.1 |
| openSUSE:Leap 16.0 | htmldoc | 0 | 1.9.23-bp160.1.1 |
| openSUSE:Tumbleweed | htmldoc | 0 | 1.9.18-3.1 |