CVE-2024-46657
NoneCVSS
—
EPSS
0.3%
Published
Dec 10, 2024
CISA due date
—
Cloudanix analysis
A bug in PDF processing software lets attackers crash the program by sending a specially made file, which can interrupt normal document-handling tasks.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw triggers a segmentation fault in the pdfextract component when parsing a maliciously crafted PDF, causing the process to crash and resulting in denial of service.
Why it matters to the business
Organizations relying on MuPDF for PDF extraction or processing may experience sudden application crashes and workflow interruptions when handling untrusted documents.
How an attack unfolds
An attacker prepares a specially crafted PDF that exercises the vulnerable code path in pdfextract.c and supplies the file to any application or service that invokes the affected MuPDF tool, leading to an immediate crash.
How to fix it
Update affected MuPDF installations to a version newer than 1.24.9. For the listed Ubuntu Pro 16.04 LTS packages, apply the fixed release 2:1.7.6-1ubuntu0.1~esm1.
How to confirm the fix worked
Confirm the installed MuPDF version exceeds 1.24.9, then re-test pdfextract against known trigger PDFs to verify absence of the crash.
Typical attack path
- Locate a target service or workflow that invokes MuPDF pdfextract on user-supplied PDFs
- Generate a malformed PDF that triggers the segmentation fault
- Deliver the crafted file through normal input channels
- Observe the resulting process crash and service denial
How to detect it
Review application and system logs for segmentation fault entries or abrupt process terminations immediately following PDF extraction attempts; correlate with file ingestion timestamps.
What your security team should do
- Prioritize patching MuPDF in all environments that accept untrusted PDFs
- Restrict pdfextract usage to trusted input sources until updates are deployed
- Monitor application logs for unexpected segmentation faults during PDF handling
The record
Artifex Software mupdf v1.24.9 was discovered to contain a segmentation fault via the component /tools/pdfextract.c. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted PDF file.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | mupdf | 0 | No fix |
| Debian:12 | mupdf | 0 | No fix |
| Debian:13 | mupdf | 0 | No fix |
| Ubuntu:20.04:LTS | mupdf | 0 | No fix |
| Ubuntu:22.04:LTS | mupdf | 0 | No fix |
| Ubuntu:24.04:LTS | mupdf | 0 | No fix |
| Ubuntu:24.10 | mupdf | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | mupdf | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mupdf | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | mupdf | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | mupdf | 0 | 1.16.1+ds1-1ubuntu1+esm2 |
| Ubuntu:Pro:22.04:LTS | mupdf | 0 | 1.19.0+ds1-2ubuntu0.1~esm1 |
| Ubuntu:Pro:24.04:LTS | mupdf | 0 | 1.23.10+ds1-1ubuntu0.1~esm1 |