Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690582 (CVE-2019-1010180) - <sys-devel/gdb-9.1: out of bounds memory access in bfd library (elfcode.h) (CVE-2019-1010180)
Summary: <sys-devel/gdb-9.1: out of bounds memory access in bfd library (elfcode.h) (C...
Alias: CVE-2019-1010180
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
Whiteboard: A3 [glsa+ cve]
Depends on:
Reported: 2019-07-24 14:40 UTC by D'juan McDonald (domhnall)
Modified: 2020-03-29 17:50 UTC (History)
1 user (show)

See Also:
Package list:
sys-devel/gdb-9.1 dev-libs/xxhash-0.6.5
Runtime testing required: ---
stable-bot: sanity-check+


Note You need to log in before you can comment on or make changes to this bug.
Description D'juan McDonald (domhnall) 2019-07-24 14:40:59 UTC
GNU gdb All versions is affected by: Buffer Overflow - Out of bound memory access. The impact is: Deny of Service, Memory Disclosure, and Possible Code Execution. The component is: The main gdb module. The attack vector is: Open an ELF for debugging. The fixed version is: Not fixed yet.

Gentoo Security Padawan
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-03-01 20:48:26 UTC
This is in gdb 9.1, as per the upstream bug.

Doesn't seem that fix is in anything other than 9.1.
Comment 2 Yury German Gentoo Infrastructure gentoo-dev 2020-03-02 05:19:47 UTC
This has been added to a production version.

Maintainers, please create an appropriate ebuild, and call for stabilization when ready.
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2020-03-03 14:43:29 UTC
We can stabilize existing sys-devel/gdb-9.1.
Comment 4 Stabilization helper bot gentoo-dev 2020-03-03 15:01:19 UTC
An automated check of this bug failed - repoman reported dependency errors (123 lines truncated): 

> dependency.bad sys-devel/gdb/gdb-9.1.ebuild: DEPEND: arm(default/linux/arm/17.0) ['dev-libs/xxhash']
> dependency.bad sys-devel/gdb/gdb-9.1.ebuild: RDEPEND: arm(default/linux/arm/17.0) ['dev-libs/xxhash']
> dependency.bad sys-devel/gdb/gdb-9.1.ebuild: DEPEND: arm64(default/linux/arm64/17.0) ['dev-libs/xxhash']
Comment 5 Agostino Sarubbo gentoo-dev 2020-03-06 11:35:55 UTC
amd64 stable
Comment 6 Agostino Sarubbo gentoo-dev 2020-03-06 12:32:32 UTC
x86 stable
Comment 7 Agostino Sarubbo gentoo-dev 2020-03-07 08:25:21 UTC
s390 stable
Comment 8 Agostino Sarubbo gentoo-dev 2020-03-07 08:59:24 UTC
sparc stable
Comment 9 Agostino Sarubbo gentoo-dev 2020-03-07 10:50:34 UTC
ppc64 stable
Comment 10 Agostino Sarubbo gentoo-dev 2020-03-07 10:54:46 UTC
ppc stable
Comment 11 Agostino Sarubbo gentoo-dev 2020-03-07 12:03:16 UTC
arm stable
Comment 12 Sergei Trofimovich (RETIRED) gentoo-dev 2020-03-14 21:59:19 UTC
ia64 stable
Comment 13 Thomas Deutschmann (RETIRED) gentoo-dev 2020-03-15 19:06:25 UTC
New GLSA request filed.
Comment 14 GLSAMaker/CVETool Bot gentoo-dev 2020-03-15 19:15:03 UTC
This issue was resolved and addressed in
 GLSA 202003-31 at
by GLSA coordinator Thomas Deutschmann (whissi).
Comment 15 Thomas Deutschmann (RETIRED) gentoo-dev 2020-03-15 19:15:36 UTC
Re-opening for remaining architectures.
Comment 16 Rolf Eike Beer archtester 2020-03-16 17:52:16 UTC
hppa stable
Comment 17 Mart Raudsepp gentoo-dev 2020-03-17 17:57:03 UTC
arm64 stable with
# of unexpected failures        598
Comment 18 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-03-26 14:08:03 UTC
SuperH port disbanded.
Comment 19 Larry the Git Cow gentoo-dev 2020-03-29 10:11:10 UTC
The bug has been referenced in the following commit(s):

commit 3d246a8e7d1e202cc441001a27b358d79cd97366
Author:     Sergei Trofimovich <>
AuthorDate: 2020-03-29 10:10:58 +0000
Commit:     Sergei Trofimovich <>
CommitDate: 2020-03-29 10:10:58 +0000

    sys-devel/gdb: drop 8.3.1, bug #690582
    Package-Manager: Portage-2.3.96, Repoman-2.3.22
    Signed-off-by: Sergei Trofimovich <>

 sys-devel/gdb/Manifest                     |   1 -
 sys-devel/gdb/files/gdb-8.3.1-gcc-10.patch | 222 ------------------------
 sys-devel/gdb/gdb-8.3.1-r1.ebuild          | 262 -----------------------------
 sys-devel/gdb/gdb-8.3.1.ebuild             | 260 ----------------------------
 4 files changed, 745 deletions(-)
Comment 20 Sergei Trofimovich (RETIRED) gentoo-dev 2020-03-29 10:11:40 UTC
Let's keep ~m68k.
Comment 21 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-03-29 17:50:00 UTC
Tree is clean, glsa done, closing.