libjxl CVE-2026-52584
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious APNG with oversized ysize
-
DeliveryDeliver file to libjxl-based application
-
ExploitDecodeImageAPNG skips row bounds check
-
ExecutionOut-of-bounds heap access
-
ImpactLeak 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
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.
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
Same weakness CWE-121 – Stack-based Buffer Overflow
View allSame technique Buffer Overflow
View allVendor 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 |
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB