JasPer up to 4.2.5 JPEG2000 File jpc_dec.c jpc_dec_dump use after free
Summary
A vulnerability has been found in JasPer up to 4.2.5 and classified as critical. This affects the function jpc_dec_dump of the file src/libjasper/jpc/jpc_dec.c of the component JPEG2000 File Handler. Performing a manipulation results in use after free.
This vulnerability is identified as CVE-2025-8837. The attack is only possible with local access. Additionally, an exploit exists.
To fix this issue, it is recommended to deploy a patch.
Details
A vulnerability was found in JasPer up to 4.2.5. It has been classified as critical. This affects the function jpc_dec_dump of the file src/libjasper/jpc/jpc_dec.c of the component JPEG2000 File Handler. The manipulation with an unknown input leads to a use after free vulnerability. CWE is classifying the issue as CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. This is going to have an impact on confidentiality, integrity, and availability.
It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2025-8837. The exploitability is told to be easy. Attacking locally is a requirement. Technical details and a public exploit are known.
The exploit is shared for download at drive.google.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 259922 (Linux Distros Unpatched Vulnerability : CVE-2025-8837), which helps to determine the existence of the flaw in a target environment.
Applying the patch 8308060d3fbc1da10353ac8a95c8ea60eba9c25a is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the databases at Tenable (259922) and CERT Bund (WID-SEC-2025-1755). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Affected
- SUSE openSUSE
- Open Source JasPer
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 6.1VulDB Meta Temp Score: 6.0
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔒
CNA Base Score: 5.3
CNA Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 259922
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-8837
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Patch: 8308060d3fbc1da10353ac8a95c8ea60eba9c25a
Timeline
08/10/2025 Advisory disclosed08/10/2025 VulDB entry created
09/16/2025 VulDB entry last update
Sources
Advisory: 402/403Status: Confirmed
CVE: CVE-2025-8837 (🔒)
GCVE (CVE): GCVE-0-2025-8837
GCVE (VulDB): GCVE-100-319371
CERT Bund: WID-SEC-2025-1755 - JasPer: Mehrere Schwachstellen
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 08/10/2025 13:20Updated: 09/16/2025 23:26
Changes: 08/10/2025 13:20 (60), 08/11/2025 22:35 (7), 08/12/2025 09:16 (31), 08/18/2025 08:26 (1), 08/31/2025 17:23 (2), 09/16/2025 23:26 (11)
Complete: 🔍
Submitter: rootsec
Cache ID: 216::103
Submit
Accepted
- Submit #630487: jasper imginfo JasPer Version**: 4.2.5 and the newest master Use-after-free (by rootsec)
Duplicate
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.