CVE-2006-4146 Memory corruption in n/a
A buffer overflow in GDB allows attackers to execute arbitrary code by tricking a user into opening a crafted file with malicious debugging information.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2006-4146?
CVE-2006-4146 is a medium-severity memory corruption vulnerability in n/a, published on 31 Aug 2006. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-119
Which versions are affected by CVE-2006-4146?
It affects 1 product.
Linux distribution packages (16)
gdb Red Hat:enterprise_linux:3::as | All versions | 0:6.3.0.0-1.138.el3 |
gdb-debuginfo Red Hat:enterprise_linux:3::as | All versions | 0:6.3.0.0-1.138.el3 |
gdb Red Hat:enterprise_linux:3::desktop | All versions | 0:6.3.0.0-1.138.el3 |
gdb-debuginfo Red Hat:enterprise_linux:3::desktop | All versions | 0:6.3.0.0-1.138.el3 |
gdb Red Hat:enterprise_linux:3::es | All versions | 0:6.3.0.0-1.138.el3 |
gdb-debuginfo Red Hat:enterprise_linux:3::es | All versions | 0:6.3.0.0-1.138.el3 |
gdb Red Hat:enterprise_linux:3::ws | All versions | 0:6.3.0.0-1.138.el3 |
gdb-debuginfo Red Hat:enterprise_linux:3::ws | All versions | 0:6.3.0.0-1.138.el3 |
gdb Red Hat:enterprise_linux:4::as | All versions | 0:6.3.0.0-1.143.el4 |
gdb-debuginfo Red Hat:enterprise_linux:4::as | All versions | 0:6.3.0.0-1.143.el4 |
gdb Red Hat:enterprise_linux:4::desktop | All versions | 0:6.3.0.0-1.143.el4 |
gdb-debuginfo Red Hat:enterprise_linux:4::desktop | All versions | 0:6.3.0.0-1.143.el4 |
gdb Red Hat:enterprise_linux:4::es | All versions | 0:6.3.0.0-1.143.el4 |
gdb-debuginfo Red Hat:enterprise_linux:4::es | All versions | 0:6.3.0.0-1.143.el4 |
gdb Red Hat:enterprise_linux:4::ws | All versions | 0:6.3.0.0-1.143.el4 |
gdb-debuginfo Red Hat:enterprise_linux:4::ws | All versions | 0:6.3.0.0-1.143.el4 |
Products include Gnu Gdb.
How do I fix CVE-2006-4146?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2006-4146 being exploited?
There is no known exploitation of CVE-2006-4146 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2006-4146, GHSA-63cf-4m5h-x542, RHSA-2007:0229, RHSA-2007:0469.