Description
sf-pcapng.c in libpcap before 1.9.1 does not properly validate the PHB header length before allocating memory.
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 | libpcap | 1.9.1-1 | — |
| Debian 13 | libpcap | 1.9.1-1 | — |
| Debian 12 | libpcap | 1.9.1-1 | — |
| Debian 9 | libpcap | 1.8.1-3+deb9u1 | DLA-2850-1 |
| Debian 8 | libpcap | 1.6.2-2+deb8u1 | DLA-1967-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libpcap | 1.8.1-6ubuntu1.18.04.1 | USN-4221-1 |
| Ubuntu 16.04 LTS | libpcap | 1.7.4-2ubuntu0.1 | USN-4221-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | libpcap | 1.5.3-2ubuntu0.1 | USN-4221-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | libpcap +1 | 14:1.9.1-4.el8 | RHSA-2020:4547 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | libpcap-devel | 14:1.9.1-4.el8 | ALSA-2020:4547 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | libpcap | 1.8.1-4.3.1 | SUSE-SU-2019:2673-1 |
| SLES 15 | libpcap | 1.8.1-4.3.1 | SUSE-SU-2019:2673-1 |
| SLES 12 SP5 | libpcap | 1.8.1-10.3.1 | SUSE-SU-2019:2669-1 |
| SLES 12 SP5 | tcpdump | 4.9.2-14.14.1 | SUSE-SU-2019:2669-1 |
| SLES 12 SP4 | libpcap | 1.8.1-10.3.1 | SUSE-SU-2019:2669-1 |
| SLES 12 SP4 | tcpdump | 4.9.2-14.14.1 | SUSE-SU-2019:2669-1 |
| SLES 12 SP3 | libpcap | 1.8.1-10.3.1 | SUSE-SU-2019:2669-1 |
| SLES 12 SP3 | tcpdump | 4.9.2-14.14.1 | SUSE-SU-2019:2669-1 |
Show 13 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | libpcap | 1.8.1-10.3.1 | SUSE-SU-2019:2669-1 |
| SLES 12 SP2 | tcpdump | 4.9.2-14.14.1 | SUSE-SU-2019:2669-1 |
| SLES 12 SP1 | libpcap | 1.8.1-10.3.1 | SUSE-SU-2019:2669-1 |
| SLES 12 SP1 | tcpdump | 4.9.2-14.14.1 | SUSE-SU-2019:2669-1 |
| SLES for SAP 12 SP5 | libpcap | 1.8.1-10.3.1 | SUSE-SU-2019:2669-1 |
| SLES for SAP 12 SP5 | tcpdump | 4.9.2-14.14.1 | SUSE-SU-2019:2669-1 |
| SLES for SAP 12 SP4 | libpcap | 1.8.1-10.3.1 | SUSE-SU-2019:2669-1 |
| SLES for SAP 12 SP4 | tcpdump | 4.9.2-14.14.1 | SUSE-SU-2019:2669-1 |
| SLES for SAP 12 SP3 | libpcap | 1.8.1-10.3.1 | SUSE-SU-2019:2669-1 |
| SLES for SAP 12 SP3 | tcpdump | 4.9.2-14.14.1 | SUSE-SU-2019:2669-1 |
| SLES for SAP 12 SP2 | libpcap | 1.8.1-10.3.1 | SUSE-SU-2019:2669-1 |
| SLES for SAP 12 SP2 | tcpdump | 4.9.2-14.14.1 | SUSE-SU-2019:2669-1 |
| SLES for SAP 12 SP1 | libpcap | 1.8.1-10.3.1 | SUSE-SU-2019:2669-1 |
| SLES for SAP 12 SP1 | tcpdump | 4.9.2-14.14.1 | SUSE-SU-2019:2669-1 |
| SUSE OpenStack Cloud Crowbar 8 | libpcap | 1.8.1-10.3.1 | SUSE-SU-2019:2669-1 |
| SUSE OpenStack Cloud Crowbar 8 | tcpdump | 4.9.2-14.14.1 | SUSE-SU-2019:2669-1 |
| SUSE OpenStack Cloud 8 | libpcap | 1.8.1-10.3.1 | SUSE-SU-2019:2669-1 |
| SUSE OpenStack Cloud 8 | tcpdump | 4.9.2-14.14.1 | SUSE-SU-2019:2669-1 |
| SUSE OpenStack Cloud 7 | libpcap | 1.8.1-10.3.1 | SUSE-SU-2019:2669-1 |
| SUSE OpenStack Cloud 7 | tcpdump | 4.9.2-14.14.1 | SUSE-SU-2019:2669-1 |
| SUSE HPE Helion OpenStack 8 | libpcap | 1.8.1-10.3.1 | SUSE-SU-2019:2669-1 |
| SUSE HPE Helion OpenStack 8 | tcpdump | 4.9.2-14.14.1 | SUSE-SU-2019:2669-1 |
| SUSE Enterprise Storage 5 | libpcap | 1.8.1-10.3.1 | SUSE-SU-2019:2669-1 |
| SUSE Enterprise Storage 5 | tcpdump | 4.9.2-14.14.1 | SUSE-SU-2019:2669-1 |
| SUSE Enterprise Storage 4 | libpcap | 1.8.1-10.3.1 | SUSE-SU-2019:2669-1 |
| SUSE Enterprise Storage 4 | tcpdump | 4.9.2-14.14.1 | SUSE-SU-2019:2669-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.1 | libpcap | 1.8.1-lp151.4.3.1 | openSUSE-SU-2019:2345-1 |
| openSUSE Leap 15.0 | libpcap | 1.8.1-lp150.3.3.1 | openSUSE-SU-2019:2343-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libpcap | 1.9.1-r0 | — |
| Alpine v3.23 | libpcap | 1.9.1-r0 | — |
| Alpine v3.22 | libpcap | 1.9.1-r0 | — |
| Alpine v3.21 | libpcap | 1.9.1-r0 | — |
| Alpine v3.20 | libpcap | 1.9.1-r0 | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | libpcap | 1.9.1-r0 | — |
| Alpine v3.18 | libpcap | 1.9.1-r0 | — |
| Alpine v3.17 | libpcap | 1.9.1-r0 | — |
| Alpine v3.16 | libpcap | 1.9.1-r0 | — |
| Alpine v3.15 | libpcap | 1.9.1-r0 | — |
| Alpine v3.14 | libpcap | 1.9.1-r0 | — |
| Alpine v3.13 | libpcap | 1.9.1-r0 | — |
| Alpine v3.12 | libpcap | 1.9.1-r0 | — |
| Alpine v3.10 | libpcap | 1.1.1-r0 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | libpcap +1 | 14:1.9.1-4.el8 | ELSA-2020-4547 |
Advisories 11
- ALSA-2020:4547 Low: libpcap security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- USN-4221-1 libpcap vulnerability Ubuntu Security Notices (USN) · Jun 29, 2026
- RHSA-2020:4547 Red Hat Security Advisory: libpcap security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DLA-1967-1 libpcap - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2850-1 libpcap - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2019:2669-1 Security update for libpcap SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2345-1 Security update for libpcap SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2343-1 Security update for libpcap SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:2673-1 Security update for libpcap SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2022-0193 Red Hat Enterprise Linux: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 27, 2023
- ELSA-2020-4547 Low: libpcap security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 10, 2020
References
- https://www.tcpdump.org/public-cve-list.txt
- https://github.com/the-tcpdump-group/libpcap/blob/libpcap-1.9/CHANGES
- https://github.com/the-tcpdump-group/libpcap/commit/a5a36d9e82dde7265e38fe1f87b7f11c461c29f6
- https://github.com/the-tcpdump-group/libpcap/commit/87d6bef033062f969e70fa40c43dfd945d5a20ab
- openSUSE-SU-2019:2343 vendor-advisory
- openSUSE-SU-2019:2345 vendor-advisory
- [debian-lts-announce] 20191021 [SECURITY] [DLA 1967-1] libpcap security update mailing-list
- FEDORA-2019-eaa681d33e vendor-advisory
- FEDORA-2019-4fe461079f vendor-advisory
- FEDORA-2019-b92ce3144a vendor-advisory
- https://support.apple.com/kb/HT210788
- https://support.apple.com/kb/HT210790
- https://support.apple.com/kb/HT210785
- https://support.apple.com/kb/HT210789
- USN-4221-1 vendor-advisory
- 20191211 APPLE-SA-2019-12-10-3 macOS Catalina 10.15.2, Security Update 2019-002 Mojave, Security Update 2019-007 High Sierra mailing-list
- 20191213 APPLE-SA-2019-12-10-3 macOS Catalina 10.15.2, Security Update 2019-002 Mojave, Security Update 2019-007 High Sierra mailing-list
- USN-4221-2 vendor-advisory
- https://www.oracle.com/security-alerts/cpuapr2020.html
- [debian-lts-announce] 20211226 [SECURITY] [DLA 2850-1] libpcap security update mailing-list