On this page (6 sections)
Ubuntu published USN-9203-1 on 25 November 2026. It fixes seven vulnerabilities in libpcap, the library many network tools use to capture packets. The issues involve MAC address parsing, the remote capture (rpcap) client and daemon, and the library's BPF filter interpreter.
If you run Ubuntu 22.04 LTS, 24.04 LTS or 26.04 LTS servers, a standard system update applies all the fixes, whether or not you use rpcap. The sources reviewed do not report exploitation of any of these flaws.
What Ubuntu fixed
The notice groups seven separate issues. Four of them sit in the BPF interpreter, the part of libpcap that runs packet filter programs. The other three concern MAC address handling and remote capture.
| CVE | Component | Described impact |
|---|---|---|
| CVE-2025-11961 | pcap_ether_aton() | Out-of-bounds read and write on malformed MAC addresses; possible crash or, per Ubuntu, possibly code execution |
| CVE-2026-18238 | rpcap client | Malicious server could cause an over-read; possible information disclosure or crash |
| CVE-2026-18313 | rpcapd | Memory never freed for client filter messages; excessive memory use and denial of service |
| CVE-2026-31911 | BPF interpreter | Invalid instructions mishandled; possible crash |
| CVE-2026-31912 | BPF interpreter | Missing bounds checks; out-of-bounds read, crash or information disclosure |
| CVE-2026-6244 | BPF interpreter | No check for division by zero; possible crash |
| CVE-2026-6554 | BPF interpreter | No limit on backward jumps; application could stop responding (credited to Kaixuan Li) |
Technical details of the three scored issues
CVE-2025-11961: pcap_ether_aton()
This helper takes a string and returns a fixed-size buffer. It expects a well-formed MAC-48 address, but that requirement was poorly documented. According to the GitHub advisory, a malformed argument can make it read past the end of the string and write past the end of the allocated buffer. It is classed as CWE-122 and CWE-126.
The CVSS vector is local, high complexity and high privileges, which explains the low 1.9 score. In practice the risk depends on whether an application passes untrusted text to this function. Ubuntu credits Jin Wei, Kunwei Qian and Ping Chen with the discovery and says this issue affected only 22.04 and 24.04.
CVE-2026-18238: rpcap client over-read
When the rpcap client processes an RPCAP_MSG_PACKET message from a server, it validates headers incorrectly. A malicious server can cause the client to treat up to 20 bytes of its own process memory beyond the buffer as captured packet data. The score is 5.0 (network, low privileges, low confidentiality impact). The risk applies mainly to clients that connect to rpcap servers you do not control.
CVE-2026-18313: rpcapd memory leak
The remote capture daemon can allocate up to 65536 bytes for each RPCAP_MSG_UPDATEFILTER_REQ or RPCAP_MSG_STARTCAP_REQ message and never frees it. The advisory notes it leaks even under normal use, and a malicious client can make it leak much faster. The score is 4.3 with an availability impact only.
Who is exposed
libpcap is a library, so exposure depends on what links against it. Typical users are packet analyzers, network monitors and intrusion detection tools. Most web servers do not use it directly, but monitoring agents or security tooling on the same host might.
- rpcapd is only a concern if you deliberately run it. If it is not installed or running, the rpcapd leak does not apply.
- The rpcap client issue matters if your tools connect to remote capture servers, particularly ones outside your control.
- The BPF interpreter issues matter where applications run filter programs that could come from less trusted sources. The research gives no further conditions, so treat any host with libpcap as in scope for patching.
- The sources do not report exploitation of any of these issues, and they contain no public exploit details. That is not a guarantee that none exists.
How to check your exposure
Run this on a Debian or Ubuntu host to list installed libpcap packages and their versions. Compare the result to the fixed versions in the table below.
dpkg -l | grep libpcap| Ubuntu release | Package | Fixed version |
|---|---|---|
| 26.04 LTS | libpcap0.8t64 | 1.10.6-1ubuntu1.2 |
| 24.04 LTS | libpcap0.8t64 | 1.10.4-4.1ubuntu3.2 |
| 22.04 LTS | libpcap0.8 | 1.10.1-4ubuntu1.22.04.3 |
To see whether the remote capture daemon is running, search the process list. No output means it is not running.
ps aux | grep '[r]pcapd'What to do now
Ubuntu states that a standard system update makes all necessary changes. Updating the package list and upgrading is enough on a typical server.
- Run the dpkg check above on each Ubuntu 22.04, 24.04 and 26.04 host and note the libpcap version.
- Update the package index and upgrade installed packages (command below).
- Restart long-running services that use libpcap, such as monitoring or capture tools, so they load the new library.
- Confirm the version now matches the fixed version for your release.
- If you run rpcapd and do not need it, stop it. If you need it, use host or network firewall rules to allow only trusted clients to reach its port.
- Avoid connecting rpcap clients to servers you do not trust.
This command refreshes the package index and installs all pending updates, including the fixed libpcap package. Run it on each Ubuntu host.
sudo apt update && sudo apt upgradeTo update only the library on 24.04 or 26.04, you can upgrade the specific package instead. On 22.04 the package is named libpcap0.8, so use that name in the same command.
sudo apt install --only-upgrade libpcap0.8t64Monitoring after patching
- Watch memory use of any rpcapd process. Memory that is never freed was the behavior of CVE-2026-18313, so steady growth on an unpatched host fits that issue.
- Watch for unexpected crashes or hangs in capture and monitoring tools, which could point to filter or parsing problems on unpatched hosts.
- Review host and network firewall rules so the rpcap port is not reachable from untrusted networks.
- Include libpcap in your regular patch reporting, since it is easy to overlook as a dependency.
For other recent Ubuntu library fixes, see our posts on USN-9194-1 libxrender and USN-9196-1 Expat.
Sources
This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.
