libpcap MAC parsing bug can crash apps or run code (CVE-2025-11961)
Original title: USN-9203-1: libpcap vulnerabilities
That issue is limited to Ubuntu 22.04 LTS and 24.04 LTS; a separate rpcap flaw may leak data or crash clients.
Ubuntu Security Notice USN-9203-1 covers flaws in libpcap. pcap_ether_aton() does not properly validate MAC address format, causing an out-of-bounds read and write that could crash applications using libpcap or possibly run arbitrary code. Separately, the rpcap client does not properly validate packet messages from a server, so a malicious server could obtain sensitive information or crash those applications.
Unconfirmed: The snippet cuts off before any rpcap CVE, affected releases, or fixes; code execution is described as possible, not seen in attacks.
- CVE-2025-11961 affects only Ubuntu 22.04 LTS and Ubuntu 24.04 LTS.
- pcap_ether_aton() mishandles MAC address format, enabling an out-of-bounds read and write.
- The rpcap issue involves unvalidated packet messages received from a server.
- The provided notice text does not name fixed package versions.
Impact: Crash libpcap apps or possibly execute arbitrary code
| Product | Affected |
|---|---|
| Ubuntu libpcap | Ubuntu 22.04 LTS and Ubuntu 24.04 LTS |
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2025-11961 | pcap_ether_aton() is an auxiliary function in libpcap, it takes a string argument and returns a fixed-size allocated buffer | 1.9 | <1% |
From the original article
Jin Wei, Kunwei Qian, and Ping Chen discovered that libpcap did not properly validate the format of MAC addresses passed to the pcap_ether_aton() 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.
ubuntu.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.