CVE-2026-92822Libmodulemd: libmodulemd: unbounded recursion when parsing nested xmd yaml
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.
What to do
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libmodulemd | Fix pending | UBUNTU-CVE-2026-92822 | |
| Ubuntu 26.04 | libmodulemd | Under investigation | UBUNTU-CVE-2026-92822 | |
| Ubuntu 24.04 | libmodulemd | Under investigation | UBUNTU-CVE-2026-92822 | |
| Ubuntu 22.04 | libmodulemd | Under investigation | UBUNTU-CVE-2026-92822 | |
| Debian 14 | libmodulemd | Fix pending | DEBIAN-CVE-2026-92822 | |
| Debian 13 | libmodulemd | Fix pending | DEBIAN-CVE-2026-92822 | |
| Debian 12 | libmodulemd | Fix pending | DEBIAN-CVE-2026-92822 | |
| Red Hat Enterprise Linux 10 | libmodulemd | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | libmodulemd-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | python3-libmodulemd | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | libmodulemd | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | libmodulemd-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | python3-libmodulemd | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | libmodulemd | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libmodulemd-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libmodulemd1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | python3-libmodulemd | Fix pending Fix deferred |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Hardened Images
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift AI (RHOAI)
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.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:95982 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:95982
- https://access.redhat.com/security/cve/CVE-2026-92822
- https://bugzilla.redhat.com/show_bug.cgi?id=2479002
- https://github.com/advisories/GHSA-85r9-7wj5-x6x5
- https://github.com/fedora-modularity/libmodulemd/pull/645
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.