Local tiffcrop crash via aliased buffer double-free
Published Aug 14, 2025 · Updated Aug 23, 2025
Double-free in the tiffcrop utility in LibTIFF 4.7.0 allows local users to crash the process by supplying a malformed TIFF file. The failure cleanup in main frees read_buff even when it aliases crop_buff, then frees crop_buff again; unsupported tiled-image bit depths reach this path. Exploitation requires local execution of tiffcrop with attacker-controlled input and interrupts only that command-line process.
Summary
What happened
Double-free in the tiffcrop utility in LibTIFF 4.7.0 allows local users to crash the process by supplying a malformed TIFF file. The failure cleanup in main frees read_buff even when it aliases crop_buff, then frees crop_buff again; unsupported tiled-image bit depths reach this path. Exploitation requires local execution of tiffcrop with attacker-controlled input and interrupts only that command-line process.
The record
- CVE
- CVE-2025-8961
- Published
- Aug 14, 2025
- Updated
- Aug 23, 2025
- Vendor
- LibTIFF
- Product
- LibTIFF
- Classifications
- CWE-119
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 14, 2025CVE publishedPublication date reported by the CVE source.
- Aug 23, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.7.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- POC_tiffcrop_segmentation_fault_main_line_2931proof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo