CVE-2024-13978
Low · 2.5CVSS
2.5
EPSS
0.2%
Published
Aug 1, 2025
CISA due date
—
Cloudanix analysis
A problem in an image-handling library can make certain conversion programs crash when a local user feeds them a bad file, but the issue is hard to exploit and has little real-world effect.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- High
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
Null pointer dereference in t2p_read_tiff_init within tiff2pdf.c when processing malformed TIFF input, resulting in local process crash.
Why it matters to the business
Limited operational risk of denial-of-service crashes when users or scripts locally convert untrusted TIFF images with the affected tools; low prevalence and high attack complexity reduce likelihood of widespread impact.
How an attack unfolds
An attacker with local access supplies a specially crafted TIFF file to the tiff2pdf or fax2ps utilities; the malformed data reaches t2p_read_tiff_init and triggers a null pointer access that crashes the process, though reliable exploitation requires high skill and specific conditions.
How to fix it
Update LibTIFF to the commit 2ebfffb0e8836bfb1cd7d85c059cd285c59761a4 or later; rebuild any dependent packages that ship the affected tiff2pdf/fax2ps binaries.
How to confirm the fix worked
Confirm the installed LibTIFF version or source tree contains commit 2ebfffb0e8836bfb1cd7d85c059cd285c59761a4; re-run conversion of known problematic TIFF samples and verify absence of crashes.
Typical attack path
- Obtain local access to a system with vulnerable LibTIFF tools
- Craft a TIFF file that triggers the null dereference in t2p_read_tiff_init
- Invoke tiff2pdf or fax2ps against the malicious file
- Observe resulting process crash or denial of service
How to detect it
Review local process crash logs or core dumps referencing tiff2pdf or fax2ps for signs of null dereference; correlate with user execution of image conversion utilities on untrusted files.
What your security team should do
- Apply the referenced commit or newer LibTIFF release across all build pipelines and distributions
- Inventory systems that ship or depend on tiff2pdf/fax2ps and schedule updates
- Monitor for any future EPSS increase or public exploit code despite currently low scores
The record
A vulnerability was found in LibTIFF up to 4.7.0. It has been declared as problematic. Affected by this vulnerability is the function t2p_read_tiff_init of the file tools/tiff2pdf.c of the component fax2ps. The manipulation leads to null pointer dereference. The attack needs to be approached locally. The complexity of an attack is rather high. The exploitation appears to be difficult. The patch is named 2ebfffb0e8836bfb1cd7d85c059cd285c59761a4. It is recommended to apply a patch to fix this issue.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Chainguard | tiff | 0 | 4.7.0-r6 |
| Chainguard | tiff-dev | 0 | 4.7.0-r6 |
| Chainguard | tiff-doc | 0 | 4.7.0-r6 |
| Debian:11 | tiff | 0 | No fix |
| Debian:12 | tiff | 0 | No fix |
| Debian:13 | tiff | 0 | No fix |
| Debian:14 | tiff | 0 | No fix |
| Mageia:9 | libtiff | 0 | 4.5.1-1.6.mga9 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | tiff | 0 | 4.7.0-150600.3.18.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | tiff | 0 | 4.7.0-150600.3.18.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP6 | tiff | 0 | 4.7.0-150600.3.18.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP7 | tiff | 0 | 4.7.0-150600.3.18.1 |
| Wolfi | tiff | 0 | 4.7.0-r6 |
| Wolfi | tiff-dev | 0 | 4.7.0-r6 |
| Wolfi | tiff-doc | 0 | 4.7.0-r6 |
| openSUSE:Leap 15.6 | tiff | 0 | 4.7.0-150600.3.18.1 |
| openSUSE:Leap 16.0 | tiff | 0 | 4.7.1-160000.1.1 |
| openSUSE:Leap 16.0 | tiff-man | 0 | 4.7.1-160000.1.1 |
| openSUSE:Tumbleweed | tiff | 0 | 4.7.0-8.1 |
Related vulnerabilities
- CVE-2025-9165 A flaw has been found in LibTIFF 4.7.0. Also affects tiff
- CVE-2025-8961 A weakness has been identified in LibTIFF 4.7.0. Also affects tiff
- CVE-2025-8851 A vulnerability was determined in LibTIFF up to 4.5.1. Also affects tiff
- CVE-2025-8176 A vulnerability was found in LibTIFF up to 4.7.0. Also affects tiff
- CVE-2025-8177 A vulnerability was found in LibTIFF up to 4.7.0. Also affects tiff
- CVE-2023-52356 A segment fault (SEGV) flaw was found in libtiff that could be triggered by passing a… Also affects tiff
- CVE-2023-52355 An out-of-memory flaw was found in libtiff that could be triggered by passing a crafted… Also affects tiff
- CVE-2023-6277 An out-of-memory flaw was found in libtiff. Also affects tiff