CVE-2023-7256CWE-415

Double-free in libpcap before 1.10.5 with remote packet capture support.

Medium · published August 30, 2024

CVSS v3.1
4.4
EPSS
0%
Percentile
14.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.4 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00244 · 14.7th percentile
Weakness
CWE-415 · Double Free
Published
2024-08-30T23:44Z
EPSS history
Timeline
  • 30 AUG 23:44Z
    Double-free in libpcap before 1.10.5 with remote packet capture support.
    cvelistv5