CVE-2006-4146: Buffer overflow in the (1) DWARF (dwarfread.c) and (2) DWARF2 (dwarf2read.c) debugging code in GNU Debugger (GDB) 6.5 allows user-assisted…
Noroxi assessment
Priority: Monitor (action score 21/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 3.4% (FIRST EPSS); higher than 89.3% of all records.
- Special conditions such as timing or configuration are required.
- Fixed version: gdb (Debian:12) 7.3-1; gdb (Red Hat:enterprise_linux:3::as) 0:6.3.0.0-1.138.el3; gdb-debuginfo (Red Hat:enterprise_linux:3::as) 0:6.3.0.0-1.138.el3.
Low priority for now. Upgrade to gdb (Debian:12) 7.3-1; gdb (Red Hat:enterprise_linux:3::as) 0:6.3.0.0-1.138.el3; gdb-debuginfo (Red Hat:enterprise_linux:3::as) 0:6.3.0.0-1.138.el3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Aug 31, 2006
- Updated
- Jun 16, 2026
- EPSS
- 3.4% · 89th percentile
- CWE
- CWE-119
Report tools
Action score
21
Low priority for now.
- CVSS
- 20 / 40 · 5.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.4%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| gnu | gdb | cpe:2.3:a:gnu:gdb |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- gnu gdb6.5
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | gdb | before 7.3-1 | 7.3-1 |
| Red Hat:enterprise_linux:3::as | gdb | before 0:6.3.0.0-1.138.el3 | 0:6.3.0.0-1.138.el3 |
| Red Hat:enterprise_linux:3::as | gdb-debuginfo | before 0:6.3.0.0-1.138.el3 | 0:6.3.0.0-1.138.el3 |
| Red Hat:enterprise_linux:4::as | gdb | before 0:6.3.0.0-1.143.el4 | 0:6.3.0.0-1.143.el4 |
| Red Hat:enterprise_linux:4::as | gdb-debuginfo | before 0:6.3.0.0-1.143.el4 | 0:6.3.0.0-1.143.el4 |
Same product
gnu: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-1010180GNU gdb All versions is affected by: Buffer Overflow - Out of bound memory access.32Monitor
- CVE-2005-1705gdb before 6.3 searches the current working directory to load the .gdbinit configuration file, which allows local users to execute…28Monitor
- CVE-2011-4355GNU Project Debugger (GDB) before 7.5, when .debug_gdb_scripts is defined, automatically loads certain files from the current working…27Monitor
Published before and after this one in the same product
- ← EarlierCVE-2005-1704May 24, 2005 · Integer overflow in the Binary File Descriptor (BFD) library for gdb before 6.3, binutils, elfutils, and possibly other packages, allows…18Monitor
- Later →CVE-2017-9778Jun 21, 2017 · GNU Debugger (GDB) 8.0 and earlier fails to detect a negative length field in a DWARF section.22Monitor
- Later →CVE-2023-39129Jul 25, 2023 · GNU gdb (GDB) 13.0.50.20220805-git was discovered to contain a heap use after free via the function add_pe_exported_sym() at…22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:gdb | 7.3-1 · Debian:12 | Package registry (OSV) |
| red hat:gdb | 0:6.3.0.0-1.143.el4 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:gdb-debuginfo | 0:6.3.0.0-1.143.el4 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- High
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
AV:N/AC:H/Au:N/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- docs.info.apple.com/article.html?artnum=304669
- lists.apple.com/archives/security-announce/2006/Oct/msg00000.html
- lists.grok.org.uk/pipermail/full-disclosure/2007-September/065902.html
- secunia.com/advisories/21713
- secunia.com/advisories/22205
- secunia.com/advisories/22662
- secunia.com/advisories/25098
- secunia.com/advisories/25632
- secunia.com/advisories/25894
- secunia.com/advisories/25934
- secunia.com/advisories/26909
- secunia.com/advisories/27706
- security.gentoo.org/glsa/glsa-200711-23.xml
- securitytracker.com/id?1017138
- support.avaya.com/elmodocs2/security/ASA-2007-253.htm
- www.osvdb.org/28318
- www.redhat.com/support/errata/RHSA-2007-0229.html
- www.redhat.com/support/errata/RHSA-2007-0469.html
- www.securityfocus.com/bid/19802
Vendor advisories and official records. Exploit/PoC links are deliberately left out.