CVE-2026-141180

Libmodulemd: libmodulemd: double free when parsing crafted module metadata

Published Dec 1, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in libmodulemd. When parsing a module metadata document containing a malformed build options entry, an error object is freed twice, causing the application parsing the document to crash. An attacker able to control repository metadata consumed by a system using dnf can use this flaw to cause a denial of service of the package management tooling.

Analysis

AI-generated

Technical impact

The vulnerability arises from a double free in libmodulemd when parsing a module metadata document with a malformed build options entry. An attacker who can supply crafted repository metadata to a system that uses dnf can trigger this flaw, causing the parsing application—and thus the package management tool—to crash. The flaw resides in a double free weakness (CWE‑415) and does not directly grant code execution; its primary consequence is disruption of service availability.

Affected Systems

The issue affects Red Hat products that rely on libmodulemd, including Red Hat Enterprise Linux 8, 9, and 10, Red Hat Hardened Images, and OpenShift Container Platform 4 and 5. The CPE list also references the Hummingbird component, which shares the same vulnerability. No specific version constraints are listed, so all installed instances of libmodulemd on these platforms are potentially affected.

Risk and Exploitability

With a CVSS score of 5.9 the flaw is classified as medium severity. The EPSS score of less than 1 % indicates a low exploitation probability, and the flaw is not currently listed in CISA’s KEV catalog. Exploitation requires the attacker to control or influence repository metadata processed by dnf, which usually implies privileged or local access to the affected system or the ability to supply a custom repository. Because the impact is a denial of service to package management, the risk is moderate, but it can hinder updates and system maintenance.

Remediation

Vendor Workaround

Enable repo_gpgcheck for repositories that publish signed metadata. No fixed packages are currently available.


OpenCVE Recommended Actions

  • Enable GPG signature verification for all repositories by setting repo_gpgcheck=1 in dnf configuration; this prevents unsigned or crafted metadata from being processed by libmodulemd.
  • If changing repository settings is not possible, disable or temporarily remove any repositories that provide unsigned module metadata until a fixed package becomes available.
  • Monitor dnf operations and system logs for unexpected crashes or failures associated with module metadata parsing, and investigate any suspicious activity promptly.

Generated by OpenCVE AI on December 2, 2026 at 21:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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 libmodulemd. When parsing a module metadata document containing a malformed build options entry, an error object is freed twice, causing the application parsing the document to crash. An attacker able to control repository metadata consumed by a system using dnf can use this flaw to cause a denial of service of the package management tooling.
Title Libmodulemd: libmodulemd: double free when parsing crafted module metadata
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Weaknesses CWE-415
CPEs cpe:/a:redhat:hummingbird:1
cpe:/a:redhat:openshift:4
cpe:/a:redhat:openshift:5
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': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Dec 3, 2026, 5:17 PM
Reserved
Dec 1, 2026, 11:26 AM
Status
Awaiting Analysis
Published
Dec 1, 2026, 12:17 PM
Modified
Dec 3, 2026, 6:17 PM
Severity
Moderate
Public date
Dec 1, 2026, 12:00 AM