Skip to content
Noroxi
CVE-2023-7256· NVD / CVE Program· CNA Tcpdump

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

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.

MediumCVSS 4.4 · v3.1—No exploit Fix available
Published
Aug 30, 2024
Updated
Jun 17, 2026
EPSS
0.2% · 14th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

17

Monitor

Low priority for now.

CVSS
17 / 40 · 4.4 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
4.4
CNA · Tcpdump
4.4
agree

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
tcpdumplibpcap

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • tcpdump libpcapbefore 1.10.5

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Tcpdump). Independent of NVD's CPE analysis and usually ahead of it.

  • The Tcpdump Group libpcap

    • 1.8.x, 1.9.xaffected
    • 1.10.x and later · up to and including 1.10.4affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12libpcapall versions—
Debian:13libpcapbefore 1.10.5-11.10.5-1
openSUSE:Tumbleweedlibpcapbefore 1.10.5-1.11.10.5-1.1
SUSE:Linux Enterprise Micro 5.1libpcapbefore 1.9.1-150300.3.3.11.9.1-150300.3.3.1
SUSE:Linux Enterprise Micro 5.3libpcapbefore 1.10.1-150400.3.3.21.10.1-150400.3.3.2
SUSE:Linux Enterprise Micro 5.3libpcapbefore 1.10.1-150400.3.3.21.10.1-150400.3.3.2
SUSE:Linux Enterprise Module for Basesystem 15 SP6libpcapbefore 1.10.4-150600.3.3.21.10.4-150600.3.3.2
SUSE:Linux Enterprise Module for Basesystem 15 SP6libpcapbefore 1.10.4-150600.3.3.21.10.4-150600.3.3.2
SUSE:Linux Enterprise Software Development Kit 12 SP5libpcapbefore 1.8.1-10.6.11.8.1-10.6.1
SUSE:Linux Micro 6.0libpcapbefore 1.10.4-3.11.10.4-3.1
SUSE:Linux Micro 6.1libpcapbefore 1.10.4-slfo.1.1_2.11.10.4-slfo.1.1_2.1

Other highest-scoring records for the same primary product.

  • CVE-2011-1935pcap-linux.c in libpcap 1.1.1 before commit ea9432fabdf4b33cbc76d9437200e028f1c47c93 when snaplen is set may truncate packets, which might a
    40Plan
  • CVE-2019-15163rpcapd/daemon.c in libpcap before 1.9.1 allows attackers to cause a denial of service (NULL pointer dereference and daemon crash) if a crypt
    31Monitor
  • CVE-2019-15165sf-pcapng.c in libpcap before 1.9.1 does not properly validate the PHB header length before allocating memory.
    22Monitor
  • CVE-2019-15164rpcapd/daemon.c in libpcap before 1.9.1 allows SSRF because a URL may be provided as a capture source.
    22Monitor
  • CVE-2019-15162rpcapd/daemon.c in libpcap before 1.9.1 on non-Windows platforms provides details about why authentication failed, which might make it easie
    22Monitor
  • CVE-2019-15161rpcapd/daemon.c in libpcap before 1.9.1 mishandles certain length values because of reuse of a variable.
    22Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:libpcap1.10.5-1 · Debian:13Package registry (OSV)
opensuse:libpcap1.10.1-150400.3.3.2 · openSUSE:Leap Micro 5.5Package registry (OSV)
suse:libpcap1.10.1-150400.3.3.2 · SUSE:Linux Enterprise Micro 5.3Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • Administrator privileges are required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

Weakness class (CWE)

CWE-415 · Double Free

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records