Description
Buffer overflow in the (1) DWARF (dwarfread.c) and (2) DWARF2 (dwarf2read.c) debugging code in GNU Debugger (GDB) 6.5 allows user-assisted attackers, or restricted users, to execute arbitrary code via a crafted file with a location block (DW_FORM_block) that contains a large number of operations.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gdb | 7.3-1 | — |
| Debian 13 | gdb | 7.3-1 | — |
| Debian 12 | gdb | 7.3-1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | gdb | 6.3.0.0-1.143.el4 | RHSA-2007:0229 |
| RHEL 3 | gdb | 6.3.0.0-1.138.el3 | RHSA-2007:0469 |
Advisories 2
- RHSA-2007:0469 Red Hat Security Advisory: gdb security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2007:0229 Red Hat Security Advisory: gdb security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
References
- 20070920 VMSA-2007-0006 Critical security updates for all supported versions of VMware ESX Server, VMware Server, VMware Workstation, VMware ACE, and VMware Player mailing-list
- ADV-2006-4283 vdb-entry
- 25098 third-party-advisory
- GLSA-200711-23 vendor-advisory
- 25894 third-party-advisory
- RHSA-2007:0469 vendor-advisory
- ADV-2007-3229 vdb-entry
- APPLE-SA-2006-10-31 vendor-advisory
- 28318 vdb-entry
- 1017138 vdb-entry
- http://support.avaya.com/elmodocs2/security/ASA-2007-253.htm
- oval:org.mitre.oval:def:10463 vdb-entry signature
- RHSA-2007:0229 vendor-advisory
- 22662 third-party-advisory
- 25632 third-party-advisory
- 25934 third-party-advisory
- http://docs.info.apple.com/article.html?artnum=304669
- ADV-2006-3433 vdb-entry
- 26909 third-party-advisory
- 27706 third-party-advisory
- 21713 third-party-advisory
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=204841
- 22205 third-party-advisory
- 19802 vdb-entry
- USN-356-1 vendor-advisory