CVE-2025-8837: JasPer JPEG2000 File jpc_dec.c jpc_dec_dump use after free
CVE-2025-8837 is a vulnerability in JasPer JPEG2000 File jpc_dec.c jpc_dec_dump use after free, rated Moderate by Microsoft, with a CVSS 3.1 base score of 5.3 (Medium). An attacker can exploit it by an attacker with local access, with low privileges and without user interaction. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 0.28% probability of exploitation activity in the next 30 days, higher than 22% of all scored vulnerabilities. Microsoft released the fix on 3 September 2025, outside Patch Tuesday. It affects 4 products in 2 product families (Mariner, Open Source Software).
Key facts
- CVE ID
- CVE-2025-8837
- Severity
- Medium CVSS 5.3
- Microsoft severity
- Moderate
- Exploited in the wild
- No
- Publicly disclosed
- No
- Weakness
- CWE-119; CWE-416
- EPSS
- 0.28% (percentile 22%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- August 2025 Patch Tuesday
- Product families
- Mariner, Open Source Software
CVSS score and vector
Microsoft scores CVE-2025-8837 at 5.3 (temporal 4.8) using CVSS 3.1. Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
| Metric | Value |
|---|---|
| Attack vector | Local |
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality impact | Low |
| Integrity impact | Low |
| Availability impact | Low |
| Exploit code maturity | Proof of concept |
| Remediation level | Official fix |
| Report confidence | Confirmed |
Frequently asked questions (Microsoft)
Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Affected products (4)
Mariner
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| azl3 jasper 4.2.1-2 on Azure Linux 3.0 | CBL-Mariner Releases | Security Update | 4.2.1-3 | No |
Open Source Software
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| cbl2 jasper 2.0.32-4 on CBL Mariner 2.0 | CBL-Mariner Releases | Security Update | 2.0.32-5 | No |
| cbl2 jasper 2.0.32-5 on CBL Mariner 2.0 | CBL-Mariner Releases | Security Update | 2.0.32-5 | No |
| azl3 jasper 4.2.1-3 on Azure Linux 3.0 | CBL-Mariner Releases | Security Update | 4.2.1-3 | No |
NIST NVD data
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| jasper | up to and including 4.2.5 |
References
- https://drive.google.com/file/d/17Ic_DDOlH7mMT7IbTN2Bmo6SrujIUh24/view?usp=sharing (Exploit)
- https://github.com/jasper-software/jasper/commit/8308060d3fbc1da10353ac8a95c8ea60eba9c25a (Patch)
- https://github.com/jasper-software/jasper/issues/402 (Exploit, Issue Tracking, Vendor Advisory)
- https://vuldb.com/?ctiid.319371 (Permissions Required, VDB Entry)
- https://vuldb.com/?id.319371 (Third Party Advisory, VDB Entry)
- https://vuldb.com/?submit.630487 (Exploit, Third Party Advisory, VDB Entry)
- https://vuldb.com/?submit.630488 (Exploit, Third Party Advisory, VDB Entry)
- https://github.com/jasper-software/jasper/issues/402 (Exploit, Issue Tracking, Vendor Advisory)
- https://vuldb.com/?submit.630488 (Exploit, Third Party Advisory, VDB Entry)
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. |