{"schemaVersion":3,"id":"CVE-2021-3826","aliases":["RHSA-2023:6372","UBUNTU-CVE-2021-3826","DEBIAN-CVE-2021-3826"],"status":"published","duplicateOf":null,"title":null,"description":"Heap/stack buffer overflow in the dlang_lname function in d-demangle.c in libiberty allows attackers to potentially cause a denial of service (segmentation fault and crash) via a crafted mangled symbol.","dates":{"published":"2022-09-01T00:00:00.000Z","modified":"2026-10-14T09:49:53.506Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01409,"percentile":0.72196,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0.032000000000000084,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.01377},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01368,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01368,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01368,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01368,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01409,"percentile":0.72196}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01377,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01409,"percentile":0.72196}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"debian","product":"binutils","name":"binutils","label":"binutils","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/binutils","purlType":"deb","versions":[{"text":"< 2.37.50.20220121-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.37.50.20220121-1","eol":null,"hubHref":null},{"vendor":"debian","product":"libiberty","name":"libiberty","label":"libiberty","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libiberty","purlType":"deb","versions":[{"text":"< 20220713-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 20220713-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"gcc-11","name":"gcc-11","label":"gcc-11","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/gcc-11","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"gdb","name":"gdb","label":"gdb","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/gdb","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libiberty","name":"libiberty","label":"libiberty","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libiberty","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"35","noFixRecorded":false,"fixedIn":null},{"text":"36","noFixRecorded":false,"fixedIn":null},{"text":"37","noFixRecorded":false,"fixedIn":null}],"versionsText":"35 | 36 | 37","eol":{"isEol":true,"eolDate":"2022-12-13T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"35","label":"35","eolFrom":"2022-12-13T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"gnu","product":"gcc","name":"gcc","label":"gcc","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"11.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"11.2","eol":null,"hubHref":"/vendor/gnu/gcc"},{"vendor":"redhat","product":"gdb","name":"gdb","label":"gdb","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/gdb","purlType":"rpm","versions":[{"text":"< 0:10.2-11.el9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:10.2-11.el9","eol":null,"hubHref":null},{"vendor":"redhat","product":"gdb-debuginfo","name":"gdb-debuginfo","label":"gdb-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/gdb-debuginfo","purlType":"rpm","versions":[{"text":"< 0:10.2-11.el9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:10.2-11.el9","eol":null,"hubHref":null},{"vendor":"redhat","product":"gdb-debugsource","name":"gdb-debugsource","label":"gdb-debugsource","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/gdb-debugsource","purlType":"rpm","versions":[{"text":"< 0:10.2-11.el9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:10.2-11.el9","eol":null,"hubHref":null},{"vendor":"redhat","product":"gdb-doc","name":"gdb-doc","label":"gdb-doc","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/gdb-doc","purlType":"rpm","versions":[{"text":"< 0:10.2-11.el9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:10.2-11.el9","eol":null,"hubHref":null},{"vendor":"redhat","product":"gdb-gdbserver","name":"gdb-gdbserver","label":"gdb-gdbserver","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/gdb-gdbserver","purlType":"rpm","versions":[{"text":"< 0:10.2-11.el9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:10.2-11.el9","eol":null,"hubHref":null},{"vendor":"redhat","product":"gdb-headless","name":"gdb-headless","label":"gdb-headless","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/gdb-headless","purlType":"rpm","versions":[{"text":"< 0:10.2-11.el9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:10.2-11.el9","eol":null,"hubHref":null},{"vendor":"redhat","product":"gdb-minimal","name":"gdb-minimal","label":"gdb-minimal","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/gdb-minimal","purlType":"rpm","versions":[{"text":"< 0:10.2-11.el9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:10.2-11.el9","eol":null,"hubHref":null}],"affectedCount":14,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://gcc.gnu.org/pipermail/gcc-patches/2021-September/579987","label":"gcc.gnu.org/pipermail/gcc-patches/2021-September/579987","hostname":"gcc.gnu.org","tags":["REPORT","Mailing List","Patch","Vendor Advisory"]},{"url":"https://gcc.gnu.org/git/?p=gcc.git%3Ba=commit%3Bh=5481040197402be6dfee265bd2ff5a4c88e30505","label":"gcc.gnu.org/git/?p=gcc.git%3Ba=commit%3Bh=5481040197402be6dfee265bd2ff5a4c88e30505","hostname":"gcc.gnu.org","tags":["Broken Link"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AXFC74WRZ2Q7F2TSUKPYNIL7ZPBWYI6L/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4MYLS3VR4OPL5ECRWOR4ZHMGXUSCJFZY/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6AKZ2DTS3ATVN5PANNVLKLE5OP4OF25Q/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H424YXGW7OKXS2NCAP35OP6Y4P4AW6VG/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7MTEHT3G6YKJ7F7MSGWYSI4UM3XBAYXZ/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","Mailing List","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2023:6372","label":"access.redhat.com/errata/RHSA-2023:6372","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#low","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.3_release_notes/index","label":"access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.3_release_notes/index","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2122627","label":"bugzilla.redhat.com/show_bug.cgi?id=2122627","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2130624","label":"bugzilla.redhat.com/show_bug.cgi?id=2130624","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_6372.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_6372.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-3826","label":"access.redhat.com/security/cve/CVE-2021-3826","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3826","label":"www.cve.org/CVERecord?id=CVE-2021-3826","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3826","label":"nvd.nist.gov/vuln/detail/CVE-2021-3826","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-3826","label":"ubuntu.com/security/CVE-2021-3826","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5481040197402be6dfee265bd2ff5a4c88e30505","label":"gcc.gnu.org/git/?p=gcc.git;a=commit;h=5481040197402be6dfee265bd2ff5a4c88e30505","hostname":"gcc.gnu.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-3826","label":"security-tracker.debian.org/tracker/CVE-2021-3826","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","label":"cert-portal.siemens.com/productcert/html/ssa-398330.html","hostname":"cert-portal.siemens.com","tags":[]}],"lineage":{"upstream":[],"downstream":["MGASA-2022-0425","OPENSUSE-SU-2024:12631-1","RHSA-2023:3269","SUSE-SU-2022:4146-1","SUSE-SU-2022:4277-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:12631-1","SUSE-SU-2022:4146-1","SUSE-SU-2022:4277-1"]},"timeline":[{"kind":"published","date":"2022-09-01T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-14T09:49:53.506Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T13:29:17.512Z","stale":false,"partial":false}}