CVE-2025-70103 Details
Description
Heap buffer overflow vulnerability in libjxl 0.12.0 via crafted PBM images to the jxl::extras::DecodeImagePNM function in file lib/extras/dec/pnm.cc.
A heap buffer overflow vulnerability has been identified in libjxl version 0.12.0. The issue arises in the jxl::extras::DecodeImagePNM function within the PNM decoding component. When the library processes specially crafted PBM images, it fails to properly validate buffer sizes before executing memory copy operations. This oversight allows the memcpy function to write 24 bytes into a buffer that can only accommodate 16 bytes, leading to memory corruption.
Users are advised to update to a version of libjxl that includes the fix for this vulnerability. The fix has been proposed in a pull request that adds necessary buffer size checks and validation during the decoding process.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 27, 2026CISA-ADP
Assessed May 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/libjxl/libjxl/issues/4337 | CISA-ADP | ExploitIssue TrackingTechnical DescriptionVendor |
| http://www.openwall.com/lists/oss-security/2026/05/30/7 | CVE | |
| https://github.com/libjxl/libjxl/issues/4337 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/libjxl/libjxl/pull/4338 | [email protected] | Issue TrackingVendor |
| https://github.com/sigdevel/pocs/blob/main/res/libjxl/2025/2 | [email protected] | Exploit |
| https://infosec.exchange/@sigdevel/116642233929409910 | [email protected] | AdvisoryExploitRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-122 | Heap-based Buffer Overflow | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| libjxl | 0.12.0 (semver) |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 12, 2026 | CVE Translated | [email protected] |
| Oct 5, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| May 30, 2026 | CVE Modified | CVE |
| May 27, 2026 | CVE Modified | CISA-ADP |
| May 27, 2026 | New CVE Received | [email protected] |
Volerion