Buffer overflow in Jasper Project
CVE-2025-8837
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.003, 20.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Jasper Project
- Jasper — versions 4.2.0, 4.2.1, 4.2.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- VDB-319371 | JasPer JPEG2000 File jpc_dec.c jpc_dec_dump use after free (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-319371 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #630487 | jasper imginfo JasPer Version**: 4.2.5 and the newest master Use-after-free (Exploit, Third Party Advisory, VDB Entry, third-party-advisory)
- Submit #630488 | jasper imginfo JasPer Version**: 4.2.5 and the newest master Use-after-free (Duplicate) (Exploit, Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/jasper-software/jasper/issues/402 (issue-tracking, Exploit, Issue Tracking, Vendor Advisory)
- drive.google.com/file/d/17Ic_DDOlH7mMT7IbTN2Bmo6SrujIUh24/view (Exploit, exploit)
- github.com/jasper-software/jasper/commit/8308060d3fbc1da10353ac8a95c8ea60eba9c2… (Patch, patch)