CVE-2023-7256
Last modified
CVE-2023-7256 is a medium-severity vulnerability rated 4.4/10 on the CVSS scale. 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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Tcpdump | Libpcap | < 1.10.5 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2023-7256?
How severe is CVE-2023-7256?
How do I fix CVE-2023-7256?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-7249Improper Limitation of a Pathname to a Restricted Directory …9.8
- CVE-2023-7250A flaw was found in iperf, a utility for testing network per…5.3
- CVE-2023-7251Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2023-7252The Tickera WordPress plugin before 3.5.2.5 does not preven…5.3
- CVE-2023-7253The Import WP WordPress plugin before 2.13.1 does not preve…6.1
- CVE-2023-7255Rejected reason: Assigned as duplicate and no longer used.
- CVE-2023-7258A denial of service exists in Gvisor Sandbox where a bug in …6.5
- CVE-2023-7259** DISPUTED ** A vulnerability was found in zzdevelop lenosp…5.1
- CVE-2023-7260Path Traversal vulnerability discovered in OpenText™ CX-E Vo…7.5
- CVE-2023-7261Inappropriate implementation in Google Updator prior to 1.3.…7.8
- CVE-2023-7263Some Huawei home music system products have a path traversal…7.3
- CVE-2023-7264The Build App Online plugin for WordPress is vulnerable to a…9.8
Are you affected by CVE-2023-7256?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
