Application crash via sock_initaddress double-free
Published Aug 30, 2024 · Updated Sep 3, 2024
Double-free in libpcap before 1.10.5 allows local users with high privileges to crash applications during remote packet-capture setup. sock_initaddress() can free a getaddrinfo() result on an error without unambiguously transferring ownership, so its caller frees the same allocation again. The path exists only in builds with experimental remote-capture support, which the upstream CMake configuration disables by default; the reported consequence is an availability-only application crash.
Summary
What happened
Double-free in libpcap before 1.10.5 allows local users with high privileges to crash applications during remote packet-capture setup. sock_initaddress() can free a getaddrinfo() result on an error without unambiguously transferring ownership, so its caller frees the same allocation again. The path exists only in builds with experimental remote-capture support, which the upstream CMake configuration disables by default; the reported consequence is an availability-only application crash.
The record
- CVE
- CVE-2023-7256
- Published
- Aug 30, 2024
- Updated
- Sep 3, 2024
- Vendor
- The Tcpdump Group
- Product
- libpcap
- Classifications
- CWE-415, T1499
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Aug 30, 2024CVE publishedPublication date reported by the CVE source.
- Sep 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.10.x <=1.10.4
- Affected versionversion=1.8.x
- Affected versionversion=1.9.x
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo