Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792342 (CVE-2021-3530, CVE-2021-3549) - sys-devel/binutils: Multiple vulnerabilities (CVE-2021-{3530,3549})
Summary: sys-devel/binutils: Multiple vulnerabilities (CVE-2021-{3530,3549})
Alias: CVE-2021-3530, CVE-2021-3549
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
Whiteboard: ?? [upstream]
Depends on:
Reported: 2021-05-27 00:00 UTC by Sam James
Modified: 2021-07-10 00:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester gentoo-dev Security 2021-05-27 00:00:36 UTC
"An out of bounds flaw was found in GNU binutils objdump utility version 2.36. An attacker could use this flaw and pass a large section to avr_elf32_load_records_from_section() probably resulting in a crash or in some cases memory corruption. The highest threat from this vulnerability is to integrity as well as system availability."
Comment 2 Sam James archtester gentoo-dev Security 2021-05-27 00:01:28 UTC
Which release is this in?
Comment 3 Hans Ulli Kroll 2021-05-27 16:54:36 UTC
$ git clone git://
$ cd binutils-gdb
$ git log binutils-2_36 --oneline | grep  "PR27290, PR27293, PR27295"
$ git log binutils-2_36_1 --oneline | grep  "PR27290, PR27293, PR27295"
$ git log master --oneline | grep  "PR27290, PR27293, PR27295"
1cfcf3004e1 PR27290, PR27293, PR27295, various avr objdump fixes
Comment 4 Hans Ulli Kroll 2021-05-27 17:17:21 UTC
for convenience

$ git format-patch 1cfcf3004e1~1..1cfcf3004e1
Comment 5 Sam James archtester gentoo-dev Security 2021-06-02 18:55:47 UTC
* CVE-2021-3530

"A flaw was discovered in GNU libiberty within demangle_path() in rust-demangle.c, as distributed in GNU Binutils version 2.36. A crafted symbol can cause stack memory to be exhausted leading to a crash."