cbcvebase.
CVE-2023-7256
published 2024-08-31

CVE-2023-7256: In affected libpcap versions during the setup of a remote packet capture the internal function sock_initaddress() calls getaddrinfo() and possibly…

PriorityP416medium4.4CVSS 3.1
AVLACLPRHUINSUCNINAH
EPSS
0.23%
13.4th percentile
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

13 ranges
VendorProductVersion rangeFixed in
debianlibpcap< libpcap 1.10.5-1 (forky)libpcap 1.10.5-1 (forky)
msrcazl3_libpcap_1.10.4-1_on_azure_linux_3.0
msrcazl3_libpcap_1.10.5-1_on_azure_linux_3.0
msrcazl3_nmap_7.95-2_on_azure_linux_3.0
msrcazure_linux_3.0_arm
msrcazure_linux_3.0_x64
msrccbl2_libpcap_1.10.1-4_on_cbl_mariner_2.0
msrccbl2_nmap_7.93-3_on_cbl_mariner_2.0
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64
tcpdumplibpcap< 1.10.51.10.5
tcpdumplibpcap>= 0 < 1.10.5-11.10.5-1
tcpdumplibpcap>= 0 < 1.10.5-11.10.5-1

CVSS provenance

nvdv3.14.4MEDIUMCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
osv9.8CRITICAL
cisa9.8CRITICAL
vendor_debian9.8LOW
vendor_redhat9.8CRITICAL
vendor_msrc4.4MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.