CVE-2025-8534
Low · 2.5CVSS
2.5
EPSS
0.2%
Published
Aug 5, 2025
CISA due date
—
Cloudanix analysis
A crash bug exists in a common image-processing library that can stop certain conversion programs when they handle unusual image files under specific settings.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- High
- Impact
- Denial Of Service
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
Null pointer dereference in PS_Lvl2page within tiff2ps.c when DEFER_STRILE_LOAD or TIFFOpen rD mode is active, resulting in local denial of service.
Why it matters to the business
Limited operational disruption possible on systems that invoke tiff2ps under the noted build or open options; low likelihood and high attack complexity reduce immediate risk.
How an attack unfolds
An attacker with local access supplies a specially crafted TIFF file to the tiff2ps utility while the vulnerable libtiff instance is built or opened with deferred strile loading enabled, triggering the null dereference and crash.
How to fix it
Apply commit 6ba36f159fd396ad11bf6b7874554197736ecc8b or later; rebuild libtiff and any dependent packages; avoid DEFER_STRILE_LOAD and rD open mode until patched.
How to confirm the fix worked
Confirm presence of the referenced commit in the source tree; test tiff2ps execution with DEFER_STRILE_LOAD enabled against both benign and malformed TIFF samples to verify no crash occurs.
Typical attack path
- Identify or compile libtiff with DEFER_STRILE_LOAD=ON or use TIFFOpen rD mode
- Craft or obtain a TIFF image that reaches PS_Lvl2page without valid strile data
- Invoke tiff2ps on the crafted file from a local account
- Trigger null dereference and application termination
How to detect it
Review process execution logs and command-line history for invocations of tiff2ps with unusual TIFF inputs; correlate any unexpected crashes of tiff2ps or dependent tools with file access timestamps.
What your security team should do
- Prioritize patching libtiff in build pipelines and container images within standard change windows
- Audit internal code and scripts for use of DEFER_STRILE_LOAD or rD open flags
- Monitor upstream libtiff releases for any follow-on fixes
The record
A vulnerability classified as problematic was found in libtiff 4.6.0. This vulnerability affects the function PS_Lvl2page of the file tools/tiff2ps.c of the component tiff2ps. The manipulation leads to null pointer dereference. It is possible to launch the attack on the local host. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used. The name of the patch is 6ba36f159fd396ad11bf6b7874554197736ecc8b. It is recommended to apply a patch to fix this issue. One of the maintainers explains, that "[t]his error only occurs if DEFER_STRILE_LOAD (defer-strile-load:BOOL=ON) or TIFFOpen( .. "rD") option is used."
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| 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 |
| 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-2024-13978 A vulnerability was found in LibTIFF up to 4.7.0. 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