Integer overflow in the Binary File Descriptor (BFD) library for gdb before 6.3…
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-189 and the CVSS impact.
Summary
Integer overflow in the Binary File Descriptor (BFD) library for gdb before 6.3, binutils, elfutils, and possibly other packages, allows user-assisted attackers to execute arbitrary code via a crafted object file that specifies a large number of section headers, leading to a heap-based buffer overflow.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 7 advisories
- RHSA-2006:0354 Released 2006-08-10 · Red Hat rating Lowelfutils security update
- Red Hat Enterprise Linux AS version 4 elfutils-0.97.1-3, elfutils-0.97.1-3.i386, elfutils-0.97.1-3.ia64 +13
- Red Hat Enterprise Linux Desktop version 4 elfutils-0.97.1-3, elfutils-0.97.1-3.i386, elfutils-devel-0.97.1-3 +5
- Red Hat Enterprise Linux ES version 4 elfutils-0.97.1-3, elfutils-0.97.1-3.i386, elfutils-0.97.1-3.ia64 +9
- Red Hat Enterprise Linux WS version 4 elfutils-0.97.1-3, elfutils-0.97.1-3.i386, elfutils-0.97.1-3.ia64 +9
- RHSA-2006:0368 Released 2006-07-20 · Red Hat rating Lowelfutils security update
- Red Hat Desktop version 3 elfutils-0.94.1-2, elfutils-0.94.1-2.i386, elfutils-devel-0.94.1-2 +5
- Red Hat Enterprise Linux AS version 3 elfutils-0.94.1-2, elfutils-0.94.1-2.i386, elfutils-0.94.1-2.ia64 +13
- Red Hat Enterprise Linux ES version 3 elfutils-0.94.1-2, elfutils-0.94.1-2.i386, elfutils-0.94.1-2.ia64 +9
- Red Hat Enterprise Linux WS version 3 elfutils-0.94.1-2, elfutils-0.94.1-2.i386, elfutils-0.94.1-2.ia64 +9
- RHSA-2005:801 Released 2005-10-18 · Red Hat rating Lowgdb security update
- Red Hat Enterprise Linux AS (Advanced Server) version 2.1
- Red Hat Enterprise Linux ES version 2.1
- Red Hat Enterprise Linux WS version 2.1
- Red Hat Linux Advanced Workstation 2.1
Show 4 more Red Hat advisories
- RHSA-2005:763 Released 2005-10-11 · Red Hat rating Lowbinutils security update
- Red Hat Enterprise Linux AS (Advanced Server) version 2.1
- Red Hat Enterprise Linux ES version 2.1
- Red Hat Enterprise Linux WS version 2.1
- Red Hat Linux Advanced Workstation 2.1
- RHSA-2005:673 Released 2005-10-05 · Red Hat rating Lowbinutils security update
- Red Hat Enterprise Linux AS version 4 binutils-2.15.92.0.2-15, binutils-2.15.92.0.2-15.i386, binutils-2.15.92.0.2-15.ia64 +1
- Red Hat Enterprise Linux Desktop version 4 binutils-2.15.92.0.2-15, binutils-2.15.92.0.2-15.i386
- Red Hat Enterprise Linux ES version 4 binutils-2.15.92.0.2-15, binutils-2.15.92.0.2-15.i386, binutils-2.15.92.0.2-15.ia64
- Red Hat Enterprise Linux WS version 4 binutils-2.15.92.0.2-15, binutils-2.15.92.0.2-15.i386, binutils-2.15.92.0.2-15.ia64
- RHSA-2005:709 Released 2005-10-05 · Red Hat rating Lowgdb security update
- Red Hat Enterprise Linux AS version 4 gdb-6.3.0.0-1.63, gdb-6.3.0.0-1.63.i386, gdb-6.3.0.0-1.63.ia64
- Red Hat Enterprise Linux Desktop version 4 gdb-6.3.0.0-1.63, gdb-6.3.0.0-1.63.i386
- Red Hat Enterprise Linux ES version 4 gdb-6.3.0.0-1.63, gdb-6.3.0.0-1.63.i386, gdb-6.3.0.0-1.63.ia64
- Red Hat Enterprise Linux WS version 4 gdb-6.3.0.0-1.63, gdb-6.3.0.0-1.63.i386, gdb-6.3.0.0-1.63.ia64
- RHSA-2005:659 Released 2005-09-28 · Red Hat rating Lowbinutils security update
- Red Hat Desktop version 3 binutils-2.14.90.0.4-39, binutils-2.14.90.0.4-39.i386
- Red Hat Enterprise Linux AS version 3 binutils-2.14.90.0.4-39, binutils-2.14.90.0.4-39.i386, binutils-2.14.90.0.4-39.ia64 +1
- Red Hat Enterprise Linux ES version 3 binutils-2.14.90.0.4-39, binutils-2.14.90.0.4-39.i386, binutils-2.14.90.0.4-39.ia64
- Red Hat Enterprise Linux WS version 3 binutils-2.14.90.0.4-39, binutils-2.14.90.0.4-39.i386, binutils-2.14.90.0.4-39.ia64
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2005:659, RHSA-2006:0368 |
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | Fixed | RHSA-2005:763 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2005:659, RHSA-2006:0368 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2005:673, RHSA-2005:709, RHSA-2006:0354 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2005:673, RHSA-2005:709, RHSA-2006:0354 |
| Red Hat Enterprise Linux ES version 2.1 | Fixed | RHSA-2005:763 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2005:659, RHSA-2006:0368 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2005:673, RHSA-2005:709, RHSA-2006:0354 |
| Red Hat Enterprise Linux WS version 2.1 | Fixed | RHSA-2005:763 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2005:659, RHSA-2006:0368 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2005:673, RHSA-2005:709, RHSA-2006:0354 |
| Red Hat Linux Advanced Workstation 2.1 | Fixed | RHSA-2005:763 |
Timeline
- 2026-10-02 Threatist record created from CVE-2005-1704
- 2026-10-03 Alias added: GHSA-r87q-q7hx-24jg
References
Advisory 15
Other 7
- http://support.avaya.com/elmodocs2/security/ASA-2006-178.htm
- http://support.avaya.com/elmodocs2/security/ASA-2005-222.pdf
- http://support.avaya.com/elmodocs2/security/ASA-2006-015.htm
- oval:org.mitre.oval:def:9071
- http://bugs.gentoo.org/show_bug.cgi?id=91398
- http://www.vmware.com/support/vi3/doc/esx-55052-patch.html
- 16757
More GNU Gdb vulnerabilities
- TI-2023-20307 GNU gdb (GDB) 13.0.50.20220805-git was discovered to contain a heap buffer overflow via… CVSS 3.1MEDIUM 5.5
- TI-2023-20306 GNU gdb (GDB) 13.0.50.20220805-git was discovered to contain a heap use after free via… CVSS 3.1MEDIUM 5.5
- TI-2023-20305 GNU gdb (GDB) 13.0.50.20220805-git was discovered to contain a stack overflow via the… CVSS 3.1MEDIUM 5.5
- TI-2019-16008 Out-of-bounds read in GNU gdb CVSS 3.1HIGH 7.8
- TI-2005-01613 gdb before 6.3 searches the current working directory to load the .gdbinit configuration… CVSS 2.0HIGH 7.2
- TI-2011-03820 GNU Project Debugger (GDB) before 7.5, when .debug_gdb_scripts is defined, automatically… CVSS 2.0MEDIUM 6.9
Sources
- CVE-2005-1704 · CVE Program
- CVE-2005-1704 · NVD
- FIRST EPSS
- GHSA-r87q-q7hx-24jg · GitHub Advisory Database · CC BY 4.0
- CVE-2005-1704 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences