Skip to content
OpenAdvisories
Medium · 5.3 CVE-2025-8837 EUVD-2025-24131GHSA-p7cc-89mg-9wr6

JasPer JPEG2000 File jpc_dec.c jpc_dec_dump use after free

Published Aug 11, 2025 · Updated Aug 11, 2025 · Assigned by VulDB

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.

Affected products

VendorProductAffectedFixed
— JasPer 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 4.2.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS jasper No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 jasper 2.0.14-150000.3.37.1 SUSE-SU-2025:3947-1, SUSE-SU-2025:03219-1
SLES 15 SP6 jasper 2.0.14-150000.3.37.1 SUSE-SU-2025:3947-1, SUSE-SU-2025:03219-1
SLES 12 SP5 jasper 1.900.14-195.43.1 SUSE-SU-2025:03367-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 jasper 4.2.8-160000.1.1 SUSE-SU-2026:20200-1
SLES 16.0 jasper 4.2.8-160000.1.1 SUSE-SU-2026:20200-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed jasper 4.2.8-2.1 openSUSE-SU-2025:15447-1
openSUSE Leap 16.0 jasper 4.2.8-160000.1.1 openSUSE-SU-2026:20138-1
openSUSE Leap 15.6 jasper 4.2.8-150600.4.5.1 SUSE-SU-2025:3947-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 jasper 4.2.1-3 —
Azure Linux 2 (CBL-Mariner) jasper 2.0.32-5 —

Advisories 8

References