Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify endpoint accepting image body
-
DeliveryCraft tiny image declaring huge dimensions
-
ExploitPOST to RESTEasy IIOImageProvider
-
ExecutionProvider allocates oversized pixel buffer
-
PersistJVM heap exhausted
-
ImpactService denial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Compression ratio limits
|
| Exploitation Conditions | Requires that the target application expose a RESTEasy (JAX-RS) endpoint that accepts an image request body deserialized via IIOImageProvider (i.e., a resource method consuming an image content type such as image/*). Given such an endpoint, exploitation is remote and unauthenticated (PR:N/UI:N) against default RESTEasy behavior, since no limit is enforced on declared image dimensions or pixel count. The principal LIMITING factor is reachability: RESTEasy deployments that never consume image bodies through the image provider are not exposed, so the flaw is application-design-dependent rather than universally triggerable across all Red Hat products that ship RESTEasy. Impact is confined to availability (JVM heap exhaustion / DoS); there is no confidentiality or integrity effect. |
| Impact | The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) describes a cleanly remote, unauthenticated, low-complexity denial-of-service with no confidentiality or integrity impact - availability-only, which is internally consistent with CWE-409 (data amplification / improper handling of highly compressed data). No EPSS score, no CISA KEV entry, and no public POC were supplied, so exploitation status is: no public exploit identified at time of analysis. The realistic risk is moderate rather than critical despite the 7.5: the flaw is trivially reachable in principle (a small crafted image declaring huge dimensions forces a large heap allocation), but it only bites applications whose RESTEasy endpoints actually accept image request bodies routed through IIOImageProvider - a non-default, application-specific code path. This is therefore a genuine but conditional priority: patch promptly on internet-facing services that consume image uploads/bodies, but the raw 7.5 overstates blast radius for the majority of RESTEasy deployments that never invoke the image provider. No signals conflict; the main caveat is that reachability depends on application design rather than a default RESTEasy configuration. |
| Exploit ScenarioDerived | An attacker identifies a public REST endpoint that consumes an image content type (handled by RESTEasy's IIOImageProvider) and POSTs a small, crafted image whose header declares enormous width/height (huge pixel count). RESTEasy attempts to allocate a raster buffer sized to the declared dimensions, exhausting the JVM heap and crashing or hanging the service. No authentication or user interaction is required and no public POC is currently known, though the mechanism is straightforward to reproduce. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 18, 2026
A remote, unauthenticated attacker can exhaust the JVM heap and cause a denial of service by sending a small crafted image to any RESTEasy (JAX-RS) endpoint that consumes an image request body, because the framework's IIOImageProvider decodes the image through ImageIO without validating declared dimensions or pixel count. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) confirms a clean, low-complexity, availability-only flaw with no confidentiality or integrity impact, consistent with CWE-409 data amplification. Reachability is the key limiting factor: only applications that actually expose a resource method consuming image content types through the image provider are affected, and no public exploit code was identified at time of analysis.
RemediationAI
No vendor-released patch was identified in the available data at time of analysis; the Red Hat advisory (https://access.redhat.com/security/cve/CVE-2026-89059), the tracking Bugzilla entry (https://bugzilla.redhat.com/show_bug.cgi?id=2519756), and the upstream GitHub security advisory (https://github.com/resteasy/resteasy/security/advisories/GHSA-m4pc-7gc7-9vw2) are the sources to monitor for fixed RESTEasy and product-specific versions. Until a patch is available, the most effective compensating control is to validate image geometry before decoding: inspect the declared width and height via an ImageReader obtained without triggering a full decode (ImageIO.getImageReaders followed by reader.getWidth(0)/getHeight(0)) and reject any body whose pixel count exceeds a hard application threshold - the trade-off is that this requires custom code in or in front of the image-consuming resource. A second, cheaper control is to remove image media types from untrusted endpoints entirely by not registering or not consuming image/* through IIOImageProvider, or by fronting those endpoints with a reverse proxy that blocks image uploads from untrusted networks; the trade-off is loss of legitimate image-upload functionality. Generic request-body size limits (maxPostSize, proxy client_max_body_size, Spring max-swallow-size) should NOT be relied upon here, because the malicious payload is deliberately tiny and the amplification occurs during decode, so body-size caps will not mitigate the attack. Lowering -Xmx or capping container memory reduces the blast radius on the host but causes the OutOfMemoryError to occur sooner, so it must be paired with restart policies and alerting on OutOfMemoryError/OOMKilled events. Hardening the JVM with -XX:+ExitOnOutOfMemoryError trades a hung process for a fast crash-and-restart, which preserves availability only if the orchestrator restarts the process reliably and the attacker does not flood it continuously.
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
The vulnerability is rooted in CWE-409 (Improper Handling of Highly Compressed Data / data amplification) and sits in RESTEasy's IIOImageProvider, the JAX-RS MessageBodyReader that deserializes image/* request bodies using the JDK's javax.imageio.ImageIO stack. The root cause is that the provider trusts metadata in the attacker-supplied image header - specifically the width, height and bit-depth fields - and proceeds to allocate a raster buffer sized to those declared values before any decoding limits are applied. A header declaring an extreme canvas size therefore causes a memory allocation orders of magnitude larger than the request body itself, which is the amplification primitive. Compounding the problem, ImageIO historically does not enforce a default cap on decoded raster dimensions or total pixel count, so the allocation proceeds until the JVM heap is exhausted and an OutOfMemoryError cascades through the container. Because RESTEasy is a widely embedded JAX-RS implementation rather than a standalone product, the flaw propagates into every Red Hat distribution that bundles it (Quarkus, Apache Camel for Quarkus, Keycloak, RH-SSO, Debezium, Apicurio Registry, JBoss EAP, Fuse, Certificate System, Satellite, and RHEL channels) - but in each case the exposure is conditional on an application-defined endpoint that accepts image bodies via this provider. There is no confidentiality or integrity dimension: the impact is purely heap exhaustion and service unavailability.
Know when Red Hat Build Of Keycloak 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:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Remote unauthenticated request to an image-consuming endpoint triggers unbounded allocation with no user interaction; impact is availability-only, matching A:H with C:N/I:N.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in RESTEasy's IIOImageProvider, which decodes attacker-supplied image request bodies without enforcing any limit on the declared image dimensions or pixel count. A remote, unauthenticated attacker can send a small crafted image declaring enormous dimensions to trigger a very large memory allocation, exhausting the JVM heap and resulting in a denial of service.
Articles & Coverage 1
Technical POC Analysis
CWE-400 Uncontrolled Resource Consumption per the advisory; the CVE record labels it CWE-409 (Improper Handling of Highly Compressed Data / data amplification).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Applications built on RESTEasy that expose image-consuming JAX-RS endpoints are vulnerable to a remote, unauthenticated denial-of-service attack (CVE-2026-89059) that can exhaust JVM heap memory and render services unavailable. No public exploit identified at time of analysis, but the flaw requires no authentication and has low attack complexity, making it a potential target for disruption. Leadership should prioritize identifying and mitigating affected endpoints to prevent service outages that could impact customers and business operations.
No vendor-released patch identified at time of analysis; interim mitigations include enforcing strict input validation for image uploads, setting maximum image dimensions and file sizes, disabling unused image-consuming endpoints, deploying WAF rules to detect and block anomalous image payloads, and monitoring JVM heap usage for signs of exhaustion.
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
More in Red Hat Build Of Keycloak
View allAccount takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in
Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML
Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge
Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil
Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat
Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re
Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou
Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho
Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re
Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro
Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut
EUVD-2026-82735
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB