Skip to main content

libjxl CVE-2026-52584

HIGH
Stack-based Buffer Overflow (CWE-121)
2026-07-17 mitre
7.1
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious APNG with oversized ysize
  2. Delivery
    Deliver file to libjxl-based application
  3. Exploit
    DecodeImageAPNG skips row bounds check
  4. Execution
    Out-of-bounds heap access
  5. Impact
    Leak adjacent process memory or crash

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target to decode an attacker-supplied APNG (Animated PNG) image through libjxl's DecodeImageAPNG path in lib/extras/dec/apng.cc; the malicious file must declare a row count (ysize) exceeding the allocated ctx.frameRaw.rows buffer to trigger the out-of-bounds access. Limiting factors: the CVSS models a local vector (AV:L) with low privileges (PR:L), so the attacker generally needs the victim to open or process the crafted file, and only builds of libjxl 0.11.2 or earlier that actually invoke the APNG decoder are exposed - applications that never handle APNG input are not reachable through this path.

Impact

The supplied CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H, score 7.1) models a local, low-privilege attacker with high confidentiality and availability impact, consistent with a crafted-file parsing bug that leaks memory and can crash the decoder. Real-world urgency is tempered by a low EPSS (0.15%, 5th percentile), absence from CISA KEV, and no known public exploit - signals that align rather than conflict, pointing to low likelihood of mass exploitation. Two data-quality caveats should be flagged: (1) the CVSS marks UI:N, but exploitation of an image decoder normally requires a victim to process the attacker's file, so user or application interaction is realistically involved; and (2) CWE-121 (stack overflow) conflicts with the patch's 'heap buffer overflow' comment - verify the exact corruption type with the maintainers. Overall this is a genuine but moderate-severity local/parsing issue, not a high-urgency internet-facing threat.

Exploit ScenarioDerived

An attacker crafts a malicious APNG file whose frame declares more rows (ysize) than the allocated row buffer holds, then delivers it to a victim application built on vulnerable libjxl (for example an image viewer, converter, or upload-processing service). When DecodeImageAPNG parses the file, the out-of-bounds access reads adjacent heap memory into the decoded output or crashes the process, potentially disclosing sensitive in-process data. No public proof-of-concept is identified, but the fixing PR pinpoints the exact missing check.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 20, 2026

Memory-disclosure via heap buffer overflow in libjxl (the JPEG XL reference codec) versions 0.11.2 and earlier lets an attacker who supplies a crafted APNG image trigger an out-of-bounds access in the DecodeImageAPNG function, leaking sensitive process memory. The upstream fix (PR #4804) adds a missing row-index bounds check before accessing frame rows. No public exploit identified at time of analysis; EPSS is low (0.15%, 5th percentile) and the issue is not listed in CISA KEV.

RemediationAI

Upstream fix available (PR/commit at https://github.com/libjxl/libjxl/pull/4804); a released patched version number is not independently confirmed from the provided data, so track the libjxl release that incorporates PR #4804 and upgrade to it, or rebuild from a source tree that contains the added row-index bounds check. Until a tagged release is adopted, compensating controls include disabling or blocking APNG input in applications that use libjxl (the affected code is the APNG import path specifically, so restricting to other formats avoids the bug at the cost of losing APNG support), validating or sandboxing image-decoding workloads so a memory leak or crash cannot expose adjacent process data, and refusing to auto-process untrusted APNG files. Reference the tracking issue https://github.com/libjxl/libjxl/issues/4803 and advisory https://vuldb.com/vuln/379982 for status.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

libjxl is the reference encoder/decoder for the JPEG XL image format and ships its APNG import path in lib/extras/dec/apng.cc. The flaw lives in DecodeImageAPNG, where the decoder writes/reads frame rows without verifying that the destination buffer (ctx.frameRaw.rows) is large enough for the declared ysize, allowing an out-of-bounds access when a malformed APNG advertises more rows than were allocated. CWE-121 (stack-based buffer overflow) is the assigned root-cause class, though the patch comment and code path describe a heap buffer overflow on the frame-row buffer - a discrepancy worth noting. The corrective check 'if (ctx.frameRaw.rows.size() < ysize) return JXL_FAILURE("Row index out of bounds")' confirms the missing length validation as the defect.

Know when N A gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 7.1 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
vuln.today AI 6.1 MEDIUM

Crafted-file parsing bug needs no privileges (PR:N) but requires the victim to decode the malicious APNG (UI:R, AV:L); primary impact is memory disclosure (C:H) with a possible decoder crash (A:L) and no integrity impact.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N
SUSE 6.1 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L
Red Hat 5.0 MEDIUM

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
Jul 20, 2026 - 18:22 NVD
7.1 (HIGH)
CVE Published
Jul 17, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 17, 2026 - 00:00 cve.org
HIGH 7.1

DescriptionCVE.org

Buffer Overflow vulnerability in libjxl v.0.11.2 and before allows a local attacker to obtain sensitive information via the DecodeImageAPNG function

Executive ViewAI

Why It Matters

libjxl (JPEG XL reference codec) versions 0.11.2 and earlier contain a memory-disclosure vulnerability triggered by crafted APNG images, exposing sensitive process data. Organizations using libjxl for image processing, document services, or media handling face potential data breach risk, particularly if processing untrusted input. No public exploit identified at time of analysis, but the vulnerability requires remediation once vendor patches become available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) disable APNG input handling where feasible; (2) enforce strict MIME-type validation and image format verification at ingestion boundaries; (3) sandbox image processing in containerized, memory-restricted environments; (4) deploy WAF rules to reject suspicious APNG Content-Type headers; (5) implement memory-access monitoring on image processing services to detect out-of-bounds read patterns.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Medium
JPEG XL reference codec, growing adoption in image tooling but not yet ubiquitous
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Affected Products (CPE)CVE.org

cpe:2.3:a:n/a:n/a:*:*:*:*:*:*:*:*

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy