Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2023-7256: In affected libpcap versions during the setup of a remote packet capture the internal function sock_initaddres

19
Routine
MEDIUM 4.4UPGRADE

CVE-2023-7256 is a medium-severity flaw (CVSS 4.4) affecting libpcap. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score4.4 (Medium)
Attack vectorLocal
Attack complexityLow
Privileges neededHigh
User interactionNone
EPSS exploit chance0.2% (top 84%)
CISA exploited listNo
WeaknessCWE-415
Published2024-08-31
Last modified2026-06-17
Publisher (CNA): Tcpdump Group · Vendor: tcpdump

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

tcpdump libpcap UPGRADE
Affected: < 1.10.5
Fixed in: 1.10.5
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy libpcap || rpm -q libpcap || libpcap --version
2. UPGRADE to 1.10.5 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade libpcap
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade libpcap
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2023-7256?

libpcap: upgrade to 1.10.5. Exact commands for each OS are on this page.

Is CVE-2023-7256 being exploited?

CVE-2023-7256 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2023-7256 affect?

CVE-2023-7256 affects libpcap. Severity is medium (CVSS 4.4). 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() s

How urgent is CVE-2023-7256?

Priority 19/100. No elevated risk signals yet.

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.