Description
libdwarf before 20201017 has a one-byte out-of-bounds read because of an invalid pointer dereference via an invalid line table in a crafted object.
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 | dwarfutils | 20201201-1 | — |
| Debian 13 | dwarfutils | 20201201-1 | — |
| Debian 12 | dwarfutils | 20201201-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | dwarfutils | No fix yet | — |
| Ubuntu 18.04 LTS | dwarfutils | No fix yet | — |
| Ubuntu 16.04 LTS | dwarfutils | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | libdwarf | 20161124-150000.3.6.1 | SUSE-SU-2023:2784-1 |
| SLES 15 SP4 | libdwarf | 20161124-150000.3.6.1 | SUSE-SU-2023:2784-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | libdwarf | 20161124-150000.3.6.1 | SUSE-SU-2023:2784-1 |
| openSUSE Leap 15.4 | libdwarf | 20161124-150000.3.6.1 | SUSE-SU-2023:2784-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | libdwarf +3 | 20130207-4.amzn2.0.3 | ALAS2-2024-2688 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | libdwarf | 0.9.0-1 | — |
| Azure Linux 2 (CBL-Mariner) | libdwarf | 0.9.0 | — |
Advisories 3
- SUSE-SU-2023:2784-1 Security update for libdwarf SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-1248 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 21, 2024
- ALAS2-2024-2688 Moderate: libdwarf security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 31, 2024
References
- https://sourceforge.net/projects/libdwarf/
- https://github.com/davea42/libdwarf-code/commit/95f634808c01f1c61bbec56ed2395af997f397ea
- https://www.prevanders.net/dwarfbug.html#DW202010-001
- http://web.archive.org/web/20190601140703/https://sourceforge.net/projects/libdwarf/
- https://bugzilla.redhat.com/show_bug.cgi?id=2025694