JasPer up to 4.2.5 JPEG2000 File jpc_dec.c jpc_dec_dump use after free

Summaryinfo

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.

Detailsinfo

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

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒

CVSSv3info

VulDB Meta Base Score: 6.1
VulDB 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: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Use after free
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 259922
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-8837

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔒

Patch: 8308060d3fbc1da10353ac8a95c8ea60eba9c25a

Timelineinfo

08/10/2025 Advisory disclosed
08/10/2025 +0 days VulDB entry created
09/16/2025 +37 days VulDB entry last update

Sourcesinfo

Advisory: 402/403
Status: 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

Entryinfo

Created: 08/10/2025 13:20
Updated: 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

Submitinfo

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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!