Skip to content
Fencer Vulns
medium 4.4

CVE-2023-7256 json

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

published 2024-08-30 2 y ago modified 2026-07-25 3 mo ago also EUVD-2023-59437 , GHSA-7m22-9mw3-j4pp , JLSEC-2026-764

cvss
4.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 15%
public exploits
0
none known

Summary

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.

Patch / fix

  • julia libpcap_jll 1.10.5+0
  • tcpdump libpcap 1.10.5
  • libpcap Debian 14, Debian 13 1.10.5-1

debian advisories DEBIAN-CVE-2023-7256

  • libpcap Linux Micro 6.1 1.10.4-slfo.1.1_2.1
  • libpcap Linux Micro 6.0 1.10.4-3.1
  • libpcap SLE Micro 5.2, SLE Micro 5.1 1.9.1-150300.3.3.1
  • libpcap SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +1 more 1.8.1-10.6.1
  • libpcap SLE Module for Package Hub 15 SP6, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 1.10.4-150600.3.3.2
  • libpcap SLE Module for Package Hub 15 SP5, SLE Module for Basesystem 15 SP5, SLE Micro 5.5 +4 more 1.10.1-150400.3.3.2

suse advisories SUSE-SU-2026:20064-1SUSE-SU-2025:20059-1SUSE-SU-2024:3516-1SUSE-SU-2024:3355-1SUSE-SU-2024:3217-1SUSE-SU-2024:3210-1

  • libpcap openSUSE Tumbleweed 1.10.5-1.1

opensuse advisories openSUSE-SU-2024:14309-1

  • libpcap Azure Linux 3.0 1.10.5-1
  • nmap Azure Linux 3.0 7.95-2
  • libpcap CBL-Mariner 2.0 1.10.1-4
  • nmap CBL-Mariner 2.0 7.93-3

azure linux advisories AZL-48415AZL-48427AZL-48451AZL-48468

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-7256 updated cvss 4.4

libpcap: Double Free in libcap

  • Red Hat Enterprise Linux 6 libpcap Red Hat Enterprise Linux 7 libpcap
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-9
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Enterprise Linux 8 libpcap Red Hat Enterprise Linux 9 libpcap Red Hat Enterprise Linux 10 libpcap
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-26-043-06 updated cvss 4.4

Siemens SINEC OS

  • Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) < 3.3
    affected: fixed in V3.3 support.industry.siemens.com
  • Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family < 3.3
    affected: fixed in V3.3
  • Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) < 3.3 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) < 3.3 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) < 3.3 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) < 3.3 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) < 3.3 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) < 3.3
    +8 more products
    Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) < 3.3 Siemens SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) (6GK5334-5TS01-4AR3) < 3.3 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) < 3.3 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) < 3.3 Siemens SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) (6GK5334-5TS01-2AR3) < 3.3 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) < 3.3 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) < 3.3 Siemens SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) (6GK5334-5TS01-3AR3) < 3.3
    affected: fixed in V3.3 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 4.4 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 4.4 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 4.4 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
julia libpcap_jll
<1.10.5+0
1.10.5+0

Affected products

  • The Tcpdump Group libpcap

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.