Home / The Tcpdump Group / libpcap / CVE-2023-7256
CVE-2023-7256: is it exploited, and which versions of The Tcpdump Group libpcap are affected and fixed?
CVE-2023-7256 is a double free vulnerability in The Tcpdump Group libpcap. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: libpcap 1.8.x, libpcap 1.9.x and libpcap from 1.10.x through 1.10.4 (CVE record by Tcpdump). Fixed in 1.10.5 (NVD). Severity: Medium (4.4, CVSS 3.1, from Tcpdump).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:27 UTC.
What is CVE-2023-7256?
Double-free in libpcap before 1.10.5 with remote packet capture support.
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.
From the CVE record by Tcpdump, last updated September 3, 2024, 20:07 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| The Tcpdump Group | libpcap | 1.8.x 1.9.x from 1.10.x through 1.10.4 |
As the CVE record by Tcpdump states it, last updated September 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| tcpdump | libpcap | before 1.10.5 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 06:52 UTC.
How severe is CVE-2023-7256?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.4 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H | Tcpdump |
| Medium 4.4 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-7256 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 3, 2024)
- EPSS
- 0.24% probability of exploitation activity in the next 30 days, percentile 16.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-415 Double Free
How do I fix it? (from the CVE record)
Upgrade to libpcap 1.10.5.
Is there a workaround? (from the CVE record)
Do not build libpcap with remote packet capture support.
Where are the vendor advisories and references?
- https://github.com/the-tcpdump-group/libpcap/commit/262e4f34979872d822ccedf9f318ed89c4d31c03 patch
- https://github.com/the-tcpdump-group/libpcap/commit/2aa69b04d8173b18a0e3492e0c8f2f7fabdf642d patch
Who found and reported it?
- Dora Sweet (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 11, 2024
- Published
- August 30, 2024, 23:44 UTC
- CVE record updated
- September 3, 2024, 20:07 UTC by Tcpdump
- NVD
- Analyzed, last modified June 17, 2026, 06:52 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:27 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect libpcap?
- Sep 5, 2026CVE-2026-18238 The Tcpdump Group libpcap: improper Validation of Consistency within Input
- Sep 5, 2026CVE-2026-18313 The Tcpdump Group libpcap: memory leak
- Sep 5, 2026CVE-2026-6554 The Tcpdump Group libpcap: infinite loop (denial of service)
- Sep 5, 2026CVE-2026-6244 The Tcpdump Group libpcap: divide by zero
- Sep 5, 2026CVE-2026-31911 The Tcpdump Group libpcap: reachable assertion (crash)
- Sep 5, 2026CVE-2026-31912 The Tcpdump Group libpcap: improper Validation of Specified Index, Position, or Offset in Input
- Sep 5, 2026CVE-2026-0799 The Tcpdump Group libpcap: improper array index validation
- Dec 31, 2025CVE-2025-11964 The Tcpdump Group libpcap: out-of-bounds write (memory corruption)
Questions about CVE-2023-7256
Is CVE-2023-7256 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.24% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of The Tcpdump Group libpcap are affected by CVE-2023-7256?
libpcap 1.8.x, libpcap 1.9.x and libpcap from 1.10.x through 1.10.4, per the CVE record by Tcpdump. The tables above give every range the sources list.
Which version fixes CVE-2023-7256?
1.10.5, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-7256?
Medium (4.4, CVSS 3.1, from Tcpdump). The severity table above shows each score with its source.
Where is the official record of CVE-2023-7256?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.