Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-92823 Overview
A flaw in libmodulemd allows local attackers to trigger excessive CPU and memory consumption through crafted compressed modulemd YAML files. The library, when built with rpmio support enabled, decompresses modulemd YAML through a custom read handler. The handler does not enforce a cumulative decompressed-size limit before parsing the data. An attacker who supplies a highly compressible compressed YAML file can exhaust system resources, producing a denial-of-service condition on the host processing the file. The weakness is classified under [CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)].
Critical Impact
Local attackers can exhaust CPU and memory on hosts that parse untrusted modulemd YAML, degrading or halting package management and module workflows.
Affected Products
- libmodulemd builds compiled with rpmio support enabled
- RPM-based Linux distributions that consume modulemd metadata through libmodulemd
- Package management tooling that invokes libmodulemd to parse compressed YAML module streams
Discovery Timeline
- 2026-10-21 - CVE-2026-92823 published to the National Vulnerability Database (NVD)
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-92823
Vulnerability Analysis
The vulnerability resides in the compressed YAML ingestion path of libmodulemd. When rpmio support is compiled in, the library installs a custom read handler that streams decompressed bytes directly to the YAML parser. The handler lacks a cumulative decompressed-size cap, so it will continue inflating input without bound. An attacker crafts a compressed YAML artifact with an extreme compression ratio — commonly called a decompression bomb. A small input file expands into gigabytes of data in memory. The parser then attempts to tokenize and construct in-memory structures from that stream, driving CPU and resident memory to saturation. The attack vector is local because the attacker must place the malicious modulemd file where a libmodulemd consumer will read it.
Root Cause
The root cause is missing resource governance around streaming decompression. The custom read handler enforces neither a maximum decompressed byte count nor an expansion-ratio ceiling relative to the compressed input. Because the parser consumes decompressed bytes incrementally, there is no upstream check that would reject pathological inputs before they are materialized.
Attack Vector
Exploitation requires local delivery of a crafted compressed modulemd YAML file to a process that calls libmodulemd. Typical delivery paths include staged repository metadata, container image layers that ship module metadata, or user-writable cache directories consulted by package tooling. No authentication or user interaction is required beyond triggering the normal module-metadata parsing workflow. Successful exploitation causes the parsing process to consume all available memory and CPU, which can terminate package operations and destabilize co-located services.
No verified public proof-of-concept code is available at this time. Technical details are described in the Red Hat CVE-2026-92823 Advisory and the Red Hat Bug 2478703 Report.
Detection Methods for CVE-2026-92823
Indicators of Compromise
- Package management or module-handling processes consuming abnormal amounts of resident memory while parsing modulemd metadata.
- Sudden out-of-memory (OOM) kills targeting dnf, microdnf, createrepo_c, or other libmodulemd consumers.
- Compressed modulemd YAML files with unusually high compression ratios appearing in repository metadata or cache directories.
Detection Strategies
- Monitor process-level memory growth and CPU saturation events correlated with modulemd parsing operations.
- Inspect repository metadata ingestion jobs for files whose decompressed size exceeds expected modulemd norms.
- Alert on repeated OOM-killer events against processes linked to libmodulemd.
Monitoring Recommendations
- Enable kernel OOM and cgroup memory telemetry on hosts running package operations and forward it to a centralized analytics platform.
- Track invocations of libmodulemd-backed tooling against untrusted or mirrored repositories.
- Baseline typical decompressed sizes for modulemd YAML in your environment and alert on outliers.
How to Mitigate CVE-2026-92823
Immediate Actions Required
- Apply vendor-provided libmodulemd updates as soon as they are available through your distribution's security channel.
- Restrict module metadata ingestion to trusted, signed repositories until patches are deployed.
- Run package management and metadata-processing workloads under cgroup memory limits to contain resource exhaustion.
Patch Information
Refer to the Red Hat CVE-2026-92823 Advisory and the Red Hat Bug 2478703 Report for current fix status and package versions. Rebuild or install libmodulemd from a release that enforces a cumulative decompressed-size limit in the rpmio read handler.
Workarounds
- Disable rpmio support in libmodulemd builds where compressed modulemd ingestion is not required.
- Enforce systemd service-level MemoryMax and TasksMax limits on package management units to cap damage from a decompression bomb.
- Validate the decompressed size of modulemd YAML out-of-band before handing files to libmodulemd consumers.
# Example: constrain dnf/microdnf memory via a systemd transient scope
systemd-run --scope -p MemoryMax=512M -p MemorySwapMax=0 \
dnf --refresh makecache
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

