{"id":"CVE-2026-141180","state":"PUBLISHED","title":"Libmodulemd: libmodulemd: double free when parsing crafted module metadata","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.","publishedAt":"2026-12-01T11:49:20.044Z","updatedAt":"2026-12-01T11:49:20.044Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"redhat"},"assigner":"redhat","products":["Red Hat Red Hat Enterprise Linux 10","Red Hat Red Hat Enterprise Linux 8","Red Hat Red Hat Enterprise Linux 9","Red Hat Red Hat Hardened Images","Red Hat Red Hat OpenShift Container Platform 4","Red Hat Red Hat OpenShift Container Platform 5"],"affected":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","packageName":"libmodulemd","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:10"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","packageName":"libmodulemd","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:8"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","packageName":"libmodulemd","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:9"]},{"vendor":"Red Hat","product":"Red Hat Hardened Images","packageName":"libmodulemd","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:hummingbird:1"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","packageName":"openshift/ose-rhel-coreos-8","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:openshift:4"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","packageName":"openshift/ose-rhel-coreos-9","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:openshift:4"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 5","packageName":"openshift/ose-rhel-coreos-10","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:openshift:5"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 5","packageName":"openshift/ose-rhel-coreos-9","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:openshift:5"]}],"references":["https://access.redhat.com/security/cve/CVE-2026-141180","https://bugzilla.redhat.com/show_bug.cgi?id=2587825"],"weaknesses":["CWE-415"],"ingestedAt":"2026-12-01T12:00:06.244Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/141xxx/CVE-2026-141180.json","commit":"bc07f0933800ea158f7fbcf11ad8ff9d7a58833e","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-141180","state":"PUBLISHED","datePublished":"2026-12-01T11:49:20.044Z","dateUpdated":"2026-12-01T11:49:20.044Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2026-12-01T11:26:12.594Z"},"containers":{"cna":{"title":"Libmodulemd: libmodulemd: double free when parsing crafted module metadata","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","packageName":"libmodulemd","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:10"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","packageName":"libmodulemd","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:8"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","packageName":"libmodulemd","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:9"]},{"vendor":"Red Hat","product":"Red Hat Hardened Images","packageName":"libmodulemd","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:hummingbird:1"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","packageName":"openshift/ose-rhel-coreos-8","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:openshift:4"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","packageName":"openshift/ose-rhel-coreos-9","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:openshift:4"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 5","packageName":"openshift/ose-rhel-coreos-10","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:openshift:5"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 5","packageName":"openshift/ose-rhel-coreos-9","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:openshift:5"]}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-141180","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2587825","name":"RHBZ#2587825","tags":["issue-tracking","x_refsource_REDHAT"]}],"metrics":[{"other":{"content":{"value":"Moderate","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-415","description":"Double Free","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2026-12-01T11:49:20.044Z"},"datePublic":"2026-12-01T00:00:00.000Z","x_redhatCweChain":"CWE-415: Double Free","workarounds":[{"lang":"en","value":"Enable repo_gpgcheck for repositories that publish signed metadata. No fixed packages are currently available."}],"timeline":[{"lang":"en","time":"2026-11-25T10:40:00.000Z","value":"Reported to Red Hat."},{"lang":"en","time":"2026-12-01T00:00:00.000Z","value":"Made public."}],"credits":[{"lang":"en","value":"Red Hat would like to thank Ozgun Kultekin (wakefield (wakefield.co)) for reporting this issue."}],"x_generator":{"engine":"cvelib 1.8.0"}}}}}