Skip to main content

Apicurio Registry CVE-2026-12993

| EUVDEUVD-2026-39593 MEDIUM
Improper Restriction of Recursive Entity References in DTDs (CWE-776)
2026-06-26 secalert@redhat.com GHSA-748j-wm96-4wh5
6.5
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

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

  1. Access
    Obtain artifact-write credentials
  2. Delivery
    Craft billion-laughs DOCTYPE payload
  3. Exploit
    Upload XML artifact via Registry API
  4. Execution
    DocumentBuilder expands recursive entities
  5. Persist
    JVM CPU and heap exhausted
  6. Impact
    Registry 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

maven io.apicurio:apicurio-registry-schema-util-xml fix: 3.2.6, 3.3.1

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

Vendor (redhat) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

Network-accessible upload API requires explicitly granted artifact-write permission (PR:L); only availability impacted as entity expansion exhausts JVM resources without exposing data.

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

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

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

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Low
niche schema registry, primarily Red Hat Integration and Kafka ecosystems
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:redhat:build_of_apicurio_registry:*:*:*:*:*:*:*:*

Vendor StatusVendor

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