Local imginfo crash via stale tile pointer
Published Aug 11, 2025 · Updated Aug 11, 2025
Use-after-free in JasPer 4.2.0 through 4.2.5 allows local users to crash imginfo via a malformed JPEG2000 file at debug level 32. Cleanup frees tile component pointers without nulling them, and jpc_dec_dump later dereferences the stale tile->tcomps pointer while emitting debug output. Exploitation requires local execution of imginfo with debug level 32; the demonstrated consequence is an AddressSanitizer-detected abort.
Summary
What happened
Use-after-free in JasPer 4.2.0 through 4.2.5 allows local users to crash imginfo via a malformed JPEG2000 file at debug level 32. Cleanup frees tile component pointers without nulling them, and jpc_dec_dump later dereferences the stale tile->tcomps pointer while emitting debug output. Exploitation requires local execution of imginfo with debug level 32; the demonstrated consequence is an AddressSanitizer-detected abort.
The record
- CVE
- CVE-2025-8837
- Published
- Aug 11, 2025
- Updated
- Aug 11, 2025
- Vendor
- JasPer Software
- Product
- JasPer
- Classifications
- CWE-119, CWE-416
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 11, 2025CVE publishedPublication date reported by the CVE source.
- Aug 11, 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.2.0
- Affected versionversion=4.2.1
- Affected versionversion=4.2.2
- Affected versionversion=4.2.3
- Affected versionversion=4.2.4
- Affected versionversion=4.2.5
What conditions does exploitation require?
What is affected?
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_jasper_imginfo_use_after_free_jpc_dec_dump_1proof 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