Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Tcpdump | Libpcap | < 1.10.5 |
Related Weaknesses (CWE)
References
- https://github.com/the-tcpdump-group/libpcap/commit/262e4f34979872d822ccedf9f318Patch
- https://github.com/the-tcpdump-group/libpcap/commit/2aa69b04d8173b18a0e3492e0c8fPatch
FAQ
What is CVE-2023-7256?
CVE-2023-7256 is a vulnerability with a CVSS score of 4.4 (MEDIUM). 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 ...
How severe is CVE-2023-7256?
CVE-2023-7256 has been rated MEDIUM with a CVSS base score of 4.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-7256?
Check the references section above for vendor advisories and patch information. Affected products include: Tcpdump Libpcap.