Live threats

All CVEs / Tcpdump

CVE-2023-7256Tcpdump Libpcap

Medium 4.4

Priority
26
CVSS 3.1
4.4
EPSS
0.3%
probability of exploitation in 30 days · percentile 14
Auth required
Yes
Published
Aug 31, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-415
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libpcap.

Affected products (CPE)

VendorProductVersions
tcpdumplibpcap< 1.10.5

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.