Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain artifact-write credentials
-
DeliveryCraft billion-laughs DOCTYPE payload
-
ExploitUpload XML artifact via Registry API
-
ExecutionDocumentBuilder expands recursive entities
-
PersistJVM CPU and heap exhausted
-
ImpactRegistry service unavailable
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration XML entity recursion limits
|
| Exploitation Conditions | Exploitation requires the attacker to hold artifact-write permission on the target Apicurio Registry instance - this is an explicitly granted, non-anonymous privilege confirmed by CVSS PR:L. The Registry must be processing the uploaded artifact through the XML DocumentBuilderAccessor code path, which is a standard function of the service for XML-format artifacts. The JAXP default 64,000 entity-expansion limit partially constrains the impact, meaning payloads must be crafted to approach or exceed that threshold to cause full heap exhaustion; very small entity trees may not trigger a service-impacting event. Limiting factors for defenders: (1) artifact-write permission is required - unauthenticated or read-only users cannot exploit this; (2) the JAXP expansion cap bounds the per-request memory impact, potentially requiring multiple submissions to sustain outage; (3) impact is purely availability - no data disclosure or modification is achievable through this vector. |
| Impact | The CVSS 6.5 Medium score with vector AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H is internally consistent with the description. PR:L (low privilege) is the defining limiting factor: exploitation is gated behind artifact-write permission, which must be explicitly granted - this meaningfully restricts the attack surface to authenticated insiders, compromised low-privilege accounts, or multi-tenant environments where untrusted parties can upload artifacts. Attack complexity is low once that access is obtained (AC:L), and no user interaction is needed. Scope is unchanged (S:U), confirming impact is confined to the Registry service itself with no lateral confidentiality or integrity exposure (C:N/I:N). The JAXP 64,000-expansion limit partially reduces severity - it may require larger or repeated payloads to achieve full resource exhaustion, potentially complicating fully automated exploitation. EPSS data was not provided in the input, so exploitation probability cannot be quantified. No KEV listing and no confirmed POC exist at time of analysis, placing this in a realistic medium operational priority category - elevated for multi-tenant deployments or environments where artifact-write is broadly distributed. |
| Exploit ScenarioDerived | An attacker holding a low-privilege account with artifact-write access - obtained legitimately in a multi-tenant deployment or via credential compromise - uploads a crafted XML schema artifact containing a billion-laughs internal entity expansion payload to the Apicurio Registry API endpoint. The Registry's DocumentBuilder begins recursively expanding entity references, consuming JVM heap until either the JAXP 64,000-expansion cap is reached or memory is exhausted, rendering the Registry unresponsive to subsequent API calls. Repeated submissions sustain the denial of service; no confirmed public POC code exists at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 26, 2026
CPU and heap exhaustion in Apicurio Registry's XML artifact processing pipeline allows authenticated users with artifact-write permission to cause denial of service via billion-laughs entity expansion. The DocumentBuilderAccessor correctly blocks external DTD and schema resolution - preventing SSRF/XXE - but omits two complementary protections: disabling DOCTYPE declarations entirely and enabling JAXP's FEATURE_SECURE_PROCESSING flag, leaving the parser exposed to recursive internal entity expansion. No active exploitation (CISA KEV) or confirmed public exploit code has been identified at time of analysis; EPSS data was not provided in the input.
RemediationAI
Consult https://access.redhat.com/security/cve/CVE-2026-12993 and https://bugzilla.redhat.com/show_bug.cgi?id=2491692 for the confirmed patched release once published - an exact fix version was not present in the provided input data, so 'patch available per vendor advisory' is the most that can be confirmed at this time. Until a patch is applied, the most effective compensating control is restricting artifact-write permissions to the minimum necessary set of trusted users, directly removing the PR:L prerequisite for exploitation. At the JVM/infrastructure layer, enforcing heap limits on the Registry process (JVM -Xmx flag) and OS-level CPU quotas caps the blast radius of any successful attempt but does not prevent the attack. If the DocumentBuilderFactory configuration is operator-accessible, setting the Xerces feature 'http://apache.org/xml/features/disallow-doctype-decl' to true on the DocumentBuilder will reject any XML upload containing a DOCTYPE declaration, eliminating the attack vector at the cost of rejecting legitimate DTD-bearing artifacts - assess whether your artifact corpus uses DOCTYPE before enabling. WAF-layer DOCTYPE keyword filtering is a lower-confidence workaround with higher false-positive risk.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apicurio Registry is a Red Hat-backed schema and API artifact registry supporting Avro, JSON Schema, Protobuf, OpenAPI, and XML-based formats. Its XML ingestion path uses a Java DocumentBuilder configured by the DocumentBuilderAccessor class. CWE-776 (Improper Restriction of Recursive Entity References in DTDs - 'XML Bomb') identifies the root cause: the parser accepts DOCTYPE declarations containing internal entity definitions that reference each other exponentially. The canonical billion-laughs payload encodes a few hundred bytes of XML that the parser expands into gigabytes of in-memory strings. The implementation's existing mitigations - blocking external DTD resolution and schema access - prevent SSRF and classic XXE but do not address internal entity bombs. Two specific missing controls would close the gap: setting the Apache Xerces feature 'http://apache.org/xml/features/disallow-doctype-decl' to true (rejects any DOCTYPE declaration outright), or enabling javax.xml.XMLConstants.FEATURE_SECURE_PROCESSING (which caps entity expansion). The JAXP platform default cap of 64,000 entity expansions provides partial mitigation, bounding but not eliminating the resource exhaustion vector.
Know when Build Of Apicurio Registry 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:L/UI:N/S:U/C:N/I:N/A:H
Network-accessible upload API requires explicitly granted artifact-write permission (PR:L); only availability impacted as entity expansion exhausts JVM resources without exposing data.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in Apicurio Registry. The DocumentBuilderAccessor correctly blocks external DTD and schema access but does not disable DOCTYPE declarations or enable FEATURE_SECURE_PROCESSING. An attacker with artifact-write permission can upload XML documents with internal entity-expansion payloads (billion-laughs variant) that cause CPU and heap exhaustion, partially mitigated by the JAXP default 64,000 entity-expansion limit.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-39593
GHSA-748j-wm96-4wh5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB