USN-9203-1: libpcap vulnerabilities
Jin Wei, Kunwei Qian, and Ping Chen discovered that libpcap did not properly validate the format of MAC addresses passed to the pcapetheraton() function, leading to an out-of-bounds read and write. An attacker could possibly use this issue to cause applications using libpcap to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2025-11961) It was discovered that the libpcap remote capture (rpcap) client did not properly validate packet messages received from the server. A malicious server could possibly use this issue to obtain sensitive information or cause applications using libpcap to crash, resulting in a denial of service. (CVE-2026-18238) It was discovered that the libpcap remote capture daemon (rpcapd) did not free memory allocated for filter programs received from clients. A remote attacker could possibly use this issue to cause rpcapd to consume excessive memory, leading to a denial of service. (CVE-2026-18313) It was discovered that the libpcap BPF interpreter incorrectly handled filter programs that contained invalid instructions. An attacker could possibly use this issue to cause applications using libpcap to crash, resulting in a denial of service. (CVE-2026-31911) It was discovered that the libpcap BPF interpreter did not properly check the bounds of filter programs, leading to an out-of-bounds read. An attacker could possibly use this issue to cause applications using libpcap to crash, resulting in a denial of service, or obtain sensitive information. (CVE-2026-31912) It was discovered that the libpcap BPF interpreter did not check for division by zero in certain filter program instructions. An attacker could possibly use this issue to cause applications using libpcap to crash, resulting in a denial of service. (CVE-2026-6244) Kaixuan Li discovered that the libpcap BPF interpreter did not limit the number of backward jumps in filter programs. A remote attacker could possibly use this issue with specially crafted network packets to cause applications using libpcap to stop responding, resulting in a denial of service. (CVE-2026-6554)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/libpcap0.8t64to a version that resolves this vulnerability.Fixed in 1.10.6-1ubuntu1.2 - Upgrade
Upgrade
ubuntu/libpcap0.8t64to a version that resolves this vulnerability.Fixed in 1.10.4-4.1ubuntu3.2 - Upgrade
Upgrade
ubuntu/libpcap0.8to a version that resolves this vulnerability.Fixed in 1.10.1-4ubuntu1.22.04.3
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which Ubuntu releases are explicitly identified as affected by the MAC address parsing flaw?
The MAC address parsing issue, CVE-2025-11961, only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. The provided information does not state release applicability for the other issues.
When is an application using the rpcap client exposed?
The rpcap client issue requires the application to receive packet messages from a malicious remote capture server. Such a server may obtain sensitive information or crash the application, causing a denial of service.
What does an attacker need to exploit the rpcapd memory-consumption issue?
A remote attacker needs to send filter programs to the rpcap daemon, rpcapd. The daemon may fail to free memory allocated for those programs, allowing excessive memory consumption and denial of service.
How could the MAC address validation issue be reached in an application?
An application using libpcap must pass a malformed MAC address to pcap_ether_aton(). The resulting out-of-bounds read and write could crash the application or potentially allow arbitrary code execution.