CVE-2023-7256: Double-free in libpcap before 1.10.5 with remote packet capture support.
Vulnerability summary
CVE-2023-7256 is a medium (CVSS 4.4) Double Free vulnerability in tcpdump libpcap. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 16.6% of scored vulnerabilities.
Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 8Timeline
- 30-08-2024PublishedVulnerability first disclosed.
- 03-09-2024Last modifiedVulnerability information updated.
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 metrics
3 scores · 3 sources · 1 version- OSV · DebianEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- NVDNIST4.4MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
17%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.24% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- libpcapAll versions (No fix recorded) | < 1.10.5-1
Tcpdump1 product
- libpcap< 1.10.5
The tcpdump group1 product
- libpcap≥ 1.8.0, < 1.9.0 | ≥ 1.9.0, < 1.10.0 | ≥ 1.10.x, ≤ 1.10.4
3 vendors · 3 products