OSV-2020-407 Heap-double-free in opt_cleanup
A heap double-free vulnerability in libpcap's opt_cleanup function can lead to denial of service or potential code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2020-407?
OSV-2020-407 is an use after free vulnerability in libpcap, published on 1 Jul 2020.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15178
Crash type: Heap-double-free
Crash state:
opt_cleanup
bpf_optimize
pcap_compile
Which versions are affected by OSV-2020-407?
1 open source package ship an affected version, including libpcap.
| Package | Affected | Fixed in |
|---|---|---|
libpcap OSS-Fuzz | All versions | None |
How do I fix OSV-2020-407?
No fix has been published for OSV-2020-407 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is OSV-2020-407 being exploited?
There is no known exploitation of OSV-2020-407 in the wild and no public exploit code.