CVE-2023-7256Tcpdump Libpcap
Medium 4.4
Follow: this CVE · Tcpdump · Tcpdump Libpcap We alert you by email or Slack (account required).
- Priority
- 26
- CVSS 3.1
- 4.4
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 14
- Auth required
- Yes
- Published
- Aug 31, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-415
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Libpcap.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| tcpdump | libpcap | < 1.10.5 |
Official advisories
- Multiple Vulnerabilities in Third-Party Components in SINEC OS before V3.3 · Siemens · SSA-089022 · Jan 28, 2026 Critical
- Security update for libpcap · SUSE · SUSE-SU-2026:20064-1 · Jan 8, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch