CVE-2026-12993

Apicurio/apicurio-registry: apicurio-registry: xml entity-expansion denial of service via internal dtd subset

Published Jun 25, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The flaw in Apicurio Registry’s artifact‑write permission to submit XML payloads that contain internal DTD entity expansions. The lack of external DTD blocking and of FEATURE_SECURE_PROCESSING allow high‑volume entity tests such as the "billion‑laughs" variant to consume excessive CPU and heap, eventually rendering the registry service unreachable. This weakness is identified as CWE‑776.

Affected Systems

The vulnerability applies to the Red Hat build of Apicurio Registry 3. No specific sub‑versions are listed beyond the major release, so any deployment matching the Red Hat build of Apicurio Registry 3 is potentially impacted.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity. Because the EPSS value is missing, the exact likelihood of exploitation is unclear, yet the presence of a write permission requirement keeps the attack vector realistic for environments where users can upload artifacts. The vulnerability is not included in the CISA KEV catalog, but the absence of DTD restrictions means that internal entity abuses can still succeed consumption and possible service outages.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply any vendor‑released patch or upgrade to a later Apicurio Registry release that disables DOCTYPE processing or enables FEATURE_SECURE_PROCESSING.
  • If a patch is not available, limit artifact‑write permissions to trusted users and consider rejecting XML uploads that contain DOCTYPE declarations.
  • to enable FEATURE_SECURE_PROCESSING and lower the entity expansion limit from the default 64,000 to a stricter value to curb potential future exploitation.

Generated by OpenCVE AI on June 26, 2026 at 00:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-748j-wm96-4wh5 Apicurio Registry is vulnerable to denial of service through XML entity expansion
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:apicurio_registry:3 cpe:/a:redhat:apicurio_registry:3.3
References
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Apicurio/apicurio-registry: apicurio-registry: xml entity-expansion denial of service via internal dtd subset
First Time appeared Redhat
Redhat apicurio Registry
Weaknesses CWE-776
CPEs cpe:/a:redhat:apicurio_registry:3
Vendors & Products Redhat
Redhat apicurio Registry
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-776

    Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 6, 2026, 4:08 AM
Reserved
Jun 23, 2026, 12:18 PM
Status
Modified
Published
Jun 26, 2026, 12:16 AM
Modified
Oct 25, 2026, 10:10 PM
Severity
Moderate
Public date
Jun 10, 2026, 1:00 PM