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.
- Published
- Aug 30, 2024
- Updated
- Jun 17, 2026
- EPSS
- 0.2% · 14th percentile
- CWE
- CWE-415
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
17
Monitor
Low priority for now.
- CVSS
- 17 / 40 · 4.4 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 4.4
- CNA · Tcpdump
- 4.4
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| tcpdump | libpcap | cpe:2.3:a:tcpdump:libpcap |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- tcpdump libpcapbefore 1.10.5
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Tcpdump). Independent of NVD's CPE analysis and usually ahead of it.
The Tcpdump Group libpcap
- 1.8.x, 1.9.xaffected
- 1.10.x and later · up to and including 1.10.4affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | libpcap | all versions | — |
| Debian:13 | libpcap | before 1.10.5-1 | 1.10.5-1 |
| openSUSE:Tumbleweed | libpcap | before 1.10.5-1.1 | 1.10.5-1.1 |
| SUSE:Linux Enterprise Micro 5.1 | libpcap | before 1.9.1-150300.3.3.1 | 1.9.1-150300.3.3.1 |
| SUSE:Linux Enterprise Micro 5.3 | libpcap | before 1.10.1-150400.3.3.2 | 1.10.1-150400.3.3.2 |
| SUSE:Linux Enterprise Micro 5.3 | libpcap | before 1.10.1-150400.3.3.2 | 1.10.1-150400.3.3.2 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | libpcap | before 1.10.4-150600.3.3.2 | 1.10.4-150600.3.3.2 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | libpcap | before 1.10.4-150600.3.3.2 | 1.10.4-150600.3.3.2 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | libpcap | before 1.8.1-10.6.1 | 1.8.1-10.6.1 |
| SUSE:Linux Micro 6.0 | libpcap | before 1.10.4-3.1 | 1.10.4-3.1 |
| SUSE:Linux Micro 6.1 | libpcap | before 1.10.4-slfo.1.1_2.1 | 1.10.4-slfo.1.1_2.1 |
Same product
tcpdump: all recordsOther highest-scoring records for the same primary product.
- CVE-2011-1935pcap-linux.c in libpcap 1.1.1 before commit ea9432fabdf4b33cbc76d9437200e028f1c47c93 when snaplen is set may truncate packets, which might a40Plan
- CVE-2019-15163rpcapd/daemon.c in libpcap before 1.9.1 allows attackers to cause a denial of service (NULL pointer dereference and daemon crash) if a crypt31Monitor
- CVE-2019-15165sf-pcapng.c in libpcap before 1.9.1 does not properly validate the PHB header length before allocating memory.22Monitor
- CVE-2019-15164rpcapd/daemon.c in libpcap before 1.9.1 allows SSRF because a URL may be provided as a capture source.22Monitor
- CVE-2019-15162rpcapd/daemon.c in libpcap before 1.9.1 on non-Windows platforms provides details about why authentication failed, which might make it easie22Monitor
- CVE-2019-15161rpcapd/daemon.c in libpcap before 1.9.1 mishandles certain length values because of reuse of a variable.22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:libpcap | 1.10.5-1 · Debian:13 | Package registry (OSV) |
| opensuse:libpcap | 1.10.1-150400.3.3.2 · openSUSE:Leap Micro 5.5 | Package registry (OSV) |
| suse:libpcap | 1.10.1-150400.3.3.2 · SUSE:Linux Enterprise Micro 5.3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Dora Sweetreporter
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- Administrator privileges are required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-415 · Double FreeCVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- github.com/the-tcpdump-group/libpcap/commit/262e4f34979872d822ccedf9f318ed89c4d31c03
- github.com/the-tcpdump-group/libpcap/commit/2aa69b04d8173b18a0e3492e0c8f2f7fabdf642d
Vendor advisories and official records. Exploit/PoC links are deliberately left out.