CVE-2026-92822

Libmodulemd: libmodulemd: unbounded recursion when parsing nested xmd yaml

Published Oct 21, 2026 CVSS 3.1 · 6.2 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in libmodulemd. When parsing module metadata, the xmd field is converted into nested GVariant values through recursive YAML mapping and sequence helpers without a recursion-depth or node-count limit. An attacker who can supply crafted modulemd YAML with deeply nested xmd content can cause stack exhaustion or excessive resource consumption, resulting in a denial of service.

Analysis

AI-generated

Technical impact

A flaw in libmodulemd allows attackers to provide arbitrarily deep YAML in the xmd field of a modulemd document. During processing, the parser converts this YAML into nested GVariant structures without limiting recursion depth or node count. This can exhaust the process stack or consume excessive memory, causing the target application to become unresponsive or crash. The weakness corresponds to the common vulnerability category CWE‑674, unbounded recursion or loop.

Affected Systems

Red Hat Enterprise Linux 8, 9, 10, Red Hat Hardened Images, and Red Hat OpenShift Container Platform 4 leverage libmodulemd. Systems running any kernel or image that includes this library are therefore affected.

Risk and Exploitability

The CVSS score of 6.2 indicates moderate severity, while the EPSS score of less than 1% suggests that exploitation is unlikely at present. The vulnerability is not listed in CISA’s KEV catalog, meaning no publicly known, actively used exploit is reported. Likely attack vectors involve supplying a crafted modulemd file—either locally by an attacker with write access to the system or remotely if the application imports module metadata from untrusted sources. If executed, the resulting denial of service would impact availability for the affected host or cluster.

Remediation

Vendor Workaround

Avoid parsing untrusted modulemd documents that may contain attacker-controlled xmd data. If such input must be accepted, reject unusually deep or large xmd structures before handing them to libmodulemd, and isolate parsing in a process with strict stack, CPU, and memory limits.


OpenCVE Recommended Actions

  • Check Red Hat’s security advisories for an updated libmodulemd package that limits recursion depth or node count
  • Avoid parsing untrusted modulemd documents that may contain attacker‐controlled xmd data
  • Reject unusually deep or large xmd structures before handing them to libmodulemd
  • Isolate parsing of modulemd in a separate process with strict limits on stack, CPU, and memory usage

Generated by OpenCVE AI on October 21, 2026 at 16:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Type Values Removed Values Added
First Time appeared Red Hat
Red Hat enterprise Linux
Redhat hardened Images
Redhat openshift Container Platform
Vendors & Products Red Hat
Red Hat enterprise Linux
Redhat hardened Images
Redhat openshift Container Platform
Type Values Removed Values Added
First Time appeared Redhat openshift Ai
CPEs cpe:/a:redhat:openshift_ai
Vendors & Products Redhat openshift Ai
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:5
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description A flaw was found in libmodulemd. When parsing module metadata, the xmd field is converted into nested GVariant values through recursive YAML mapping and sequence helpers without a recursion-depth or node-count limit. An attacker who can supply crafted modulemd YAML with deeply nested xmd content can cause stack exhaustion or excessive resource consumption, resulting in a denial of service.
Title Libmodulemd: libmodulemd: unbounded recursion when parsing nested xmd yaml
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Weaknesses CWE-674
CPEs cpe:/a:redhat:hummingbird:1
cpe:/a:redhat:openshift:4
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
References
Metrics cvssV3_1

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 24, 2026, 9:55 PM
Reserved
Sep 16, 2026, 8:30 PM
Status
Awaiting Analysis
Published
Oct 21, 2026, 4:18 AM
Modified
Nov 24, 2026, 10:19 PM
Severity
Moderate
Public date
Oct 21, 2026, 3:03 AM