USN-9203-1: libpcap vulnerabilities

Published Nov 25, 2026
·
Updated

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

6 affected componentsFixes available
All of the following
ubuntu/libpcap0.8t64<1.10.6-1ubuntu1.2
1.10.6-1ubuntu1.2
Ubuntu Ubuntu=26.04
All of the following
ubuntu/libpcap0.8t64<1.10.4-4.1ubuntu3.2
1.10.4-4.1ubuntu3.2
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libpcap0.8<1.10.1-4ubuntu1.22.04.3
1.10.1-4ubuntu1.22.04.3
Ubuntu Ubuntu=22.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/libpcap0.8t64 to a version that resolves this vulnerability.

    Fixed in 1.10.6-1ubuntu1.2
  2. Upgrade

    Upgrade ubuntu/libpcap0.8t64 to a version that resolves this vulnerability.

    Fixed in 1.10.4-4.1ubuntu3.2
  3. Upgrade

    Upgrade ubuntu/libpcap0.8 to a version that resolves this vulnerability.

    Fixed in 1.10.1-4ubuntu1.22.04.3

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203