Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2020-8036: Unsafe Use of tok2strbuf() in tcpdump SOME/IP Dissector

Published Nov 4, 2020 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.5High · v3.1
EPSS1.5%74th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Tcpdump
IdentifiersCVE-2020-8036CWE-242

In tcpdump 4.10.0-PRE-GIT, the SOME/IP dissector used the tok2strbuf() function in an unsafe manner. This could potentially lead to undefined behavior, such as buffer overflows or memory corruption, depending on how the function is misused within the dissector.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

The unsafe use of tok2strbuf() in the SOME/IP dissector could allow an attacker to craft malicious network traffic that triggers memory corruption or other undefined behavior in tcpdump, potentially leading to denial of service or arbitrary code execution if tcpdump is run with elevated privileges.

Mitigation

If you can’t patch tonight, do this now.

Avoid running tcpdump on untrusted network traffic or with elevated privileges. Use OS-level protections such as ASLR and stack canaries to reduce the risk of exploitation. Consider disabling the SOME/IP dissector if not required.

Remediation

Patch, then assume compromise.

Update to a version of tcpdump in which the SOME/IP dissector uses tok2strbuf() safely, or where the underlying vulnerability has been patched. Review and apply any security patches provided by the tcpdump maintainers.

Public exploits

Exploits

1 exploit validated by Mallory's analysis.

View more in app →
ENV-CVE-2020-8036This repository is not a standalone weaponized exploit; it is a reproducible vulnerability environment for CVE-2020-8036 in tcpdump. The core purpose is to provide the vulnerable tcpdump source tree, a deterministic build script, build logs, and an ASan/UBSan-instrumented binary so a researcher can craft a malformed SOME/IP packet capture and trigger the bug reliably. Exploit capability: the practical capability is denial-of-service / crash reproduction via malformed input. The vulnerability is an out-of-bounds read (CWE-125) in tcpdump’s SOME/IP dissector, described as unsafe use of tok2strbuf() in print-someip.c. There is no included malicious payload, shell, persistence, or post-exploitation logic. Successful use yields a sanitizer-detected crash and stack trace, not code execution. Repository structure: top-level documentation includes README.md, description.md, and meta.json describing the CVE, vulnerable file, commit metadata, and reproduction goal. The compile/ directory contains build.sh, deps.txt, BUILD_OK, build.log, binary_size.txt, and artifacts. BUILD_OK confirms the main binary is /compile/artifacts/tcpdump with /compile/artifacts/main as a symlink entry point. The src/tcpdump/ directory contains the full vulnerable upstream tcpdump source tree at the vulnerable commit, including autotools/CMake build files, CI configs, protocol dissectors, compatibility code, and documentation. Build/repro details: compile/build.sh installs clang-10, libpcap0.8-dev, bison, flex, m4, and pkg-config; sets CFLAGS/LDFLAGS to -fsanitize=address,undefined; runs ./configure and make; and copies the resulting tcpdump binary into compile/artifacts/. The environment is Ubuntu 20.04-based and intended for local reproduction. The README explicitly states that constructing a pcap that reaches the SOME/IP parsing path should trigger the ASan report. Attack surface: primarily file-based, because the intended trigger is a crafted pcap read by tcpdump. Secondarily, the vulnerable code is a network protocol dissector, so equivalent malformed live traffic could also reach the same parser if tcpdump captures it. No hardcoded victim IPs, C2, or exploit delivery infrastructure are present. Notable endpoint observations: most extracted endpoints are project/build related rather than exploit targets. They include local artifact paths (/src/tcpdump/, /compile/artifacts/tcpdump), upstream repository URLs, and CI/dependency URLs. No attacker-controlled remote infrastructure is embedded in the repo.yan5ui · Disclosed Jun 17, 2026 · c · shell · file · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
TcpdumpTcpdumpapplication
FAQ

Frequently asked questions

Is CVE-2020-8036 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2020-8036 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2020-8036?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2020-8036, the earliest disclosed Jun 17, 2026.
Is there a patch for CVE-2020-8036?
Update to a version of tcpdump in which the SOME/IP dissector uses tok2strbuf() safely, or where the underlying vulnerability has been patched. Review and apply any security patches provided by the tcpdump maintainers.
What products are affected by CVE-2020-8036?
Tcpdump.
How severe is CVE-2020-8036?
CVE-2020-8036 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 1.5% (74th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

No public activity tracked yet. Mallory keeps watching.

View more in app →

No public activity observed for this vulnerability.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.