CVE-2020-12740
NixOS vulnerability analysis and mitigation

Overview

A heap-based buffer over-read vulnerability (CVE-2020-12740) was discovered in tcprewrite, a component of Tcpreplay through version 4.3.2. The vulnerability was identified in May 2020 and affects the get_c operation during IPv6 packet processing (Debian Tracker, Ubuntu Notice).

Technical details

The vulnerability exists in the get_ipv6_next() function located in common/get.c. The issue occurs when processing IPv6 packets, specifically during the get_c operation where a heap-based buffer over-read is triggered. The vulnerability was discovered through testing with Address Sanitizer (ASAN) which revealed the buffer overflow when processing specially crafted packet capture input (GitHub Issue).

Impact

When exploited, this vulnerability can lead to a Denial of Service (DoS) condition and potentially expose sensitive information when the application attempts to process maliciously crafted files. The impact is primarily limited to scenarios where tcprewrite processes untrusted packet capture files (GitHub Issue).

Exploitability

The vulnerability can be triggered by submitting a malicious pcap file to tcprewrite with specific command parameters. A proof of concept exists that demonstrates the exploitation using the command 'tcprewrite -i $poc -o /dev/null --fuzz-seed=42' (GitHub Issue).

Mitigation and workarounds

The vulnerability was fixed in Tcpreplay version 4.3.3. Users are advised to upgrade to this version or later. The fix was included in various distribution updates, including Debian Bullseye (4.3.3-2), Ubuntu, and Fedora (Debian Tracker, Fedora Update).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-13097CRITICAL9.1
  • NixOS logoNixOS
  • python3-samba-test
NoYesAug 20, 2026
CVE-2026-11861HIGH8.1
  • NixOS logoNixOS
  • samba-common
NoYesAug 20, 2026
CVE-2026-73198HIGH7.5
  • NixOS logoNixOS
  • ctdb-ceph-mutex
NoYesAug 20, 2026
CVE-2026-73197HIGH7.5
  • NixOS logoNixOS
  • samba-test-libs-debuginfo
NoYesAug 20, 2026
CVE-2026-73196MEDIUM6.5
  • NixOS logoNixOS
  • samba-ldb-ldap-modules-debuginfo
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management