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.
Published: 2026-05-27
Score: 7.3 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A heap buffer overflow exists in libjxl 0.12.0 and is triggered by a crafted PBM image processed by the DecodeImagePNM function. The flaw leads to corrupt memory, potentially allowing arbitrary code execution or denial of service. The vulnerability is based on CWE-122 Heap-based Buffer Overflow, meaning the attacker can overwrite adjacent memory.

Affected Systems

The bug is present in libjxl version 0.12.0, which is used wherever JPEG‑XL images are decoded, especially when the application supports PBM inputs. Any software that integrates this library and processes untrusted PBM files could be affected.

Risk and Exploitability

The CVSS score of 7.3 indicates a high severity. EPSS is not available and the vulnerability is not listed in CISA KEV. The attack vector is inferred to require the ability to supply a crafted PBM file to the vulnerable application, after which the buffer overflow may be exploited to execute arbitrary code. There is no public evidence of active exploitation at this time.

Generated by OpenCVE AI on May 27, 2026 at 22:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade libjxl to the latest released version that includes the fix for the buffer overflow.
  • Disable or restrict the use of PBM decoding in applications that cannot be immediately updated.
  • Apply input validation to reject PBM images that do not conform to expected format or size limits.

Generated by OpenCVE AI on May 27, 2026 at 22:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6342-1 jpeg-xl security update
Ubuntu USN Ubuntu USN USN-8397-1 libjxl vulnerability
History

Sat, 30 May 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Libjxl
Libjxl libjxl
Vendors & Products Libjxl
Libjxl libjxl

Sat, 30 May 2026 20:30:00 +0000

Type Values Removed Values Added
References

Wed, 27 May 2026 23:00:00 +0000

Type Values Removed Values Added
Title Heap Buffer Overflow in libjxl Decoding of PBM Images

Wed, 27 May 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 27 May 2026 15:15:00 +0000

Type Values Removed Values Added
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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-05-30T19:30:38.829Z

Reserved: 2026-01-09T00:00:00.000Z

Link: CVE-2025-70103

cve-icon Vulnrichment

Updated: 2026-05-30T19:30:38.829Z

cve-icon NVD

Status : Deferred

Published: 2026-05-27T15:16:24.783

Modified: 2026-05-30T20:16:21.760

Link: CVE-2025-70103

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-30T21:22:31Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow