Description
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 /gdb/coff-pe-read.c.
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 | No fix yet | — |
| Debian 13 | gdb | No fix yet | — |
| Debian 12 | gdb | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | gdb | 12.1-0ubuntu1~22.04.2 | USN-6842-1 |
| Ubuntu 20.04 LTS | gdb | 9.2-0ubuntu1~20.04.2 | USN-6842-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | gdb | 8.1.1-0ubuntu1+esm1 | USN-6842-1 |
| Ubuntu Pro 16.04 LTS | gdb | 7.11.1-0ubuntu1~16.5+esm1 | USN-6842-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | gdb +4 | 12.1-5.amzn2023.0.4 | ALAS2023-2024-738 |
| Amazon Linux 2 | gdb +2 | 8.0.1-36.amzn2.0.2 | ALAS2-2024-2685 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | crash | 8.0.4-3 | — |
| Azure Linux 3 | gdb | 13.2-3 | — |
| Azure Linux 2 (CBL-Mariner) | crash | 8.0.1-3 | — |
| Azure Linux 2 (CBL-Mariner) | gdb | 11.2-3 | — |
Advisories 3
- USN-6842-1 gdb vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- ALAS2-2024-2685 Low: gdb security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 31, 2024
- ALAS2023-2024-738 Low: gdb security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Oct 14, 2024