CVE-2025-8837 Details
Description
A vulnerability was identified in JasPer up to 4.2.5. This affects the function jpc_dec_dump of the file src/libjasper/jpc/jpc_dec.c of the component JPEG2000 File Handler. The manipulation leads to use after free. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The patch is named 8308060d3fbc1da10353ac8a95c8ea60eba9c25a. It is recommended to apply a patch to fix this issue.
A critical use-after-free vulnerability has been identified in JasPer versions through 4.2.5. This issue occurs in the JPEG2000 file handler, specifically within the 'jpc_dec_dump' function of 'src/libjasper/jpc/jpc_dec.c'. The vulnerability arises when the function processes malformed JPEG2000 images, leading to heap memory being accessed after it has been freed. This memory management error can cause corruption and potentially allow for exploitation. The vulnerability can be reproduced by using the 'imginfo' utility with certain debug levels that trigger the issue.
Users are advised to update to JasPer version 4.2.8 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 11, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/jasper-software/jasper/issues/402 | CISA-ADP | ExploitIssue TrackingVendor Advisory |
| https://vuldb.com/?submit.630488 | CISA-ADP | ExploitThird Party AdvisoryVDB Entry |
| https://drive.google.com/file/d/17Ic_DDOlH7mMT7IbTN2Bmo6SrujIUh24/view?usp=sharing | [email protected] | Exploit |
| https://github.com/jasper-software/jasper/commit/8308060d3fbc1da10353ac8a95c8ea60eba9c25a | [email protected] | Patch |
| https://github.com/jasper-software/jasper/issues/402 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://vuldb.com/?ctiid.319371 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.319371 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.630487 | [email protected] | ExploitThird Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.630488 | [email protected] | ExploitThird Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| jasper project jasper | <= 4.2.5 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Sep 16, 2025 | Initial Analysis | [email protected] |
| Aug 11, 2025 | CVE Modified | CISA-ADP |
| Aug 11, 2025 | New CVE Received | [email protected] |