CVE-2023-7256: Double-free in libpcap before 1.10.5 with remote packet capture support.

Published Aug 30, 2024
·
Updated

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

Other sources

In affected libpcap versions during the setup of a remote packet capture the internal function sockinitaddress() 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.

MITRE

Affected Software

6 affected componentsFixes available
tcpdump Libpcap<1.10.5
Microsoft azl3 libpcap 1.10.4-1
Microsoft cbl2 libpcap 1.10.1-4
Microsoft cbl2 nmap 7.93-3
Microsoft azl3 nmap 7.95-2
Microsoft azl3 libpcap 1.10.5-1

Event History

Aug 30, 2024
CVE Published
via MITRE·11:44 PM
Data Sourced
via MITRE·11:44 PM
RemedyDescriptionSeverityWeakness
Nov 9, 2024
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-7256?

CVE-2023-7256 is rated as a moderate severity vulnerability affecting certain versions of libpcap.

2

How do I fix CVE-2023-7256?

To remediate CVE-2023-7256, upgrade to a version of libpcap that is 1.10.5 or higher.

3

What versions of libpcap are affected by CVE-2023-7256?

CVE-2023-7256 affects libpcap versions prior to 1.10.5.

4

What functionality is compromised in CVE-2023-7256?

CVE-2023-7256 compromises the proper management of memory in the function sock_initaddress due to unclear handling of freeaddrinfo.

5

Is remote exploitation possible with CVE-2023-7256?

Yes, CVE-2023-7256 can potentially lead to memory-related issues during remote packet capture setup.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203