{"id":"CVE-2022-27943","title":"libiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in demangle_const, as demonstrated by nm-new.","summary":"libiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in demangle_const, as demonstrated by nm-new.","severity":"medium","cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","cwe":["CWE-674","CWE-674"],"vendor":"gnu","product":"gcc","affected":["gcc = 11.2","fedora = 36"],"published":"2022-03-26","updated":"2026-10-08","sourceUpdated":"2026-10-08T19:16:56.007","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2022-27943","references":[{"url":"https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105039","label":"cve@mitre.org"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H424YXGW7OKXS2NCAP35OP6Y4P4AW6VG/","label":"cve@mitre.org"},{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=28995","label":"cve@mitre.org"},{"url":"https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105039","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H424YXGW7OKXS2NCAP35OP6Y4P4AW6VG/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=28995","label":"af854a3a-2127-422b-91ae-364da2661108"}],"tags":["nvd"],"epss":0.00906,"epssPercentile":0.58638,"ingestedAt":"2026-10-08T20:06:22.172Z","slug":"CVE-2022-27943","body":"## Overview\n\nlibiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in demangle_const, as demonstrated by nm-new.\n\n## Affected\n\n- `gcc = 11.2`\n- `fedora = 36`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}