CVE-2023-7256

Medium

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.

SeverityMedium
CVSS4.4
Exploit probability—
ProductTcpdump Libpcap
PublishedAug 31, 2024
First seenAug 31, 2024
Weakness typeCWE-415CWE-415

How to fix

Affected products

ProductAffected versionsFixed in
tcpdump libpcapv < 1.10.51.10.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.