Skip to content
NewA calmer, faster ZeroHour
Advisorymedium

libpcap MAC parsing bug can crash apps or run code (CVE-2025-11961)

Original title: USN-9203-1: libpcap vulnerabilities

Ubuntu Security Notices ()
AI summary · x-ai/grok-4.7Summaries by Vani AI

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.

Key facts
  • 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.
Security assessment · AI, from the article

Impact: Crash libpcap apps or possibly execute arbitrary code

ProductAffected
Ubuntu libpcapUbuntu 22.04 LTS and Ubuntu 24.04 LTS
Analyze CVE-2025-11961 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
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 Security Notices

ubuntu.com

Read the full article at Ubuntu Security Notices

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.