Skip to content
CVE PROGRAM SOURCE RECORD4.4 Medium

CVE-2023-7256

Double-free in libpcap before 1.10.5 with remote packet capture support.

Description

In affected libpcap versions during the setup of a remote packet capture the internal function sock_initaddress() calls getaddrinfo() and possibly freeaddrinfo(), but does not clearly indicate to the caller function whether freeaddrinfo() still remains to be called after the function returns. This makes it possible in some scenarios that both the function and its caller call freeaddrinfo() for the same allocated memory block. A similar problem was reported in Apple libpcap, to which Apple assigned CVE-2023-40400.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

The Tcpdump Group libpcap

Default version status: unaffected

  • 1.8.xaffected
  • 1.9.xaffected
  • 1.10.x to ≤ 1.10.4affected

References