CVE-2025-8837 JasPer JPEG2000 File jpc_dec.c jpc_dec_dump use after free
A local attacker can trigger a use-after-free in JasPer's JPEG2000 handler, potentially leading to code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-8837?
CVE-2025-8837 is a medium-severity use after free vulnerability in Jasper Project Jasper, published on 11 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2025-8837?
It affects 1 product.
Products include Jasper Project Jasper.
How do I fix CVE-2025-8837?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2025-8837 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-8837 exists.
Other vulnerabilities in Jasper Project Jasper
Sources
Also known as AZL-66168, AZL-66198, CLSA-2025-1759498325, CLSA-2025-1759864646, CLSA-2025-1760026282, GHSA-p7cc-89mg-9wr6 and 4 more.