CVE-2025-11961
JSON

1.9low

OOBR and OOBW in pcap_ether_aton() in libpcap

Severity
1.9low CVSS:3.1 by Tcpdump
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Tcpdump

Description

pcap_ether_aton() is an auxiliary function in libpcap, it takes a string argument and returns a fixed-size allocated buffer. The string argument must be a well-formed MAC-48 address in one of the supported formats, but this requirement has been poorly documented. If an application calls the function with an argument that deviates from the expected format, the function can read data beyond the end of the provided string and write data beyond the end of the allocated buffer.

Affected

Product or packageVersionsReported by
The Tcpdump Group libpcapbefore 1.10.6CVE List

Classification

CWE-122CWE-126

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

pcap_ether_aton() is an auxiliary function in libpcap, it takes a string argument and returns a fixed-size allocated buffer. The string argument must be a well-formed MAC-48 address in one of the supported formats, but this requirement has been poorly documented. If an application calls the function with an argument that deviates from the expected format, the function can read data beyond the end of the provided string and write data beyond the end of the allocated buffer.

NVD (es)

pcap_ether_aton() es una función auxiliar en libpcap, toma un argumento de cadena y devuelve un búfer asignado de tamaño fijo. El argumento de cadena debe ser una dirección MAC-48 bien formada en uno de los formatos admitidos, pero este requisito ha sido mal documentado. Si una aplicación llama a la función con un argumento que se desvía del formato esperado, la función puede leer datos más allá del final de la cadena proporcionada y escribir datos más allá del final del búfer asignado.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-11961 changed 2026-01-02CVE Terms of Use
NVDCVE-2025-11961 changed 2026-06-17Public domain