Every CVE Search/ Get API key

CVE-2020-12740

tcprewrite in Tcpreplay through 4.3.2 has a heap-based buffer over-read during a get_c operation....

9.1 CriticalFix available

tcprewrite in Tcpreplay through 4.3.2 has a heap-based buffer over-read during a get_c operation. The issue is being triggered in the function get_ipv6_next() at common/get.c.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
High

Exploit likelihood

1.69%Up 0.9 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.1

tcprewrite in Tcpreplay through 4.3.2 has a heap-based buffer over-read during a get_c operation. The issue is being triggered in the function get_ipv6_next() at common/get.c.

Record
CVE-2020-12740
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS 2.0
6.4 MediumAV:N/AC:L/Au:N/C:P/I:N/A:P
Weakness
CWE-125
Updated
2026-11-02
CVE List No score

tcprewrite in Tcpreplay through 4.3.2 has a heap-based buffer over-read during a get_c operation. The issue is being triggered in the function get_ipv6_next() at common/get.c.

Record
CVE-2020-12740
Updated
2026-11-02
EUVDEUVD-2020-5028 No score

tcprewrite in Tcpreplay through 4.3.2 has a heap-based buffer over-read during a get_c operation. The issue is being triggered in the function get_ipv6_next() at common/get.c.

Record
EUVD-2020-5028
Updated
2026-11-03
GitHub AdvisoriesGHSA-95wm-mm55-cxhx 9.1

tcprewrite in Tcpreplay through 4.3.2 has a heap-based buffer over-read during a get_c operation....

tcprewrite in Tcpreplay through 4.3.2 has a heap-based buffer over-read during a get_c operation. The issue is being triggered in the function get_ipv6_next() at common/get.c.

Record
GHSA-95wm-mm55-cxhx
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness
CWE-125
Updated
2026-11-02
OSV 9.1

tcprewrite in Tcpreplay through 4.3.2 has a heap-based buffer over-read during a get_c operation. The issue is being triggered in the function get_ipv6_next() at common/get.c.

Record
CVE-2020-12740
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2020-12740 9.1

tcprewrite in Tcpreplay through 4.3.2 has a heap-based buffer over-read during a get_c operation. The issue is being triggered in the function get_ipv6_next() at common/get.c.

Record
DEBIAN-CVE-2020-12740
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2020-12740 9.1

tcprewrite in Tcpreplay through 4.3.2 has a heap-based buffer over-read during a get_c operation. The issue is being triggered in the function get_ipv6_next() at common/get.c.

Record
UBUNTU-CVE-2020-12740
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVMGASA-2020-0278 No score

Updated tcpreplay packages fix security vulnerability

Updated tcpreplay package fixes security vulnerability:

tcprewrite in Tcpreplay through 4.3.2 has a heap-based buffer over-read during a get_c operation. The issue is being triggered in the function get_ipv6_next() at common/get.c (CVE-2020-12740).

Record
MGASA-2020-0278
Updated
2026-11-02
OSVopenSUSE-SU-2026:12337-1 No score

tcpreplay-4.6.2-1.1 on GA media

These are all security issues fixed in the tcpreplay-4.6.2-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:12337-1
Updated
2026-11-02
OSVUSN-5205-1 No score

tcpreplay vulnerabilities

It was discovered that Tcpreplay incorrectly handled certain specially crafted packet capture input when processed by tcpprep. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 18.04 ESM. (CVE-2018-13112)

It was discovered that Tcpreplay incorrectly handled certain specially crafted packet capture input. An attacker could possibly use this issue to cause a denial of service or expose sensitive information. This issue only affected Ubuntu 16.04 ESM and Ubuntu 18.04 ESM. (CVE-2018-17580, CVE-2018-17582)

It was discovered that Tcpreplay incorrectly handled certain specially crafted packet capture input. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 ESM and Ubuntu 18.04 ESM. (CVE-2018-17974, CVE-2018-18407)

It was discovered that a use-after-free existed in Tcpreplay in the tcpbridge binary. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 ESM and Ubuntu 18.04 ESM. (CVE-2018-18408)

It was discovered that Tcpreplay incorrectly handled certain specially crafted packet capture input. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2018-20552, CVE-2018-20553)

It was discovered that a heap-based buffer over-read that existed in Tcpreplay caused an application crash when tcprewrite or tcpreplay-edit received specially crafted packet capture input. An attacker could possibly use this to cause a denial of service or to expose sensitive information. This issue only affected Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-12740)

It was discovered that Tcpreplay incorrectly handled certain specially crafted packet capture input when processed by tcpprep. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-24265, CVE-2020-24266)

It was discovered that Tcpreplay incorrectly handled certain specially crafted packet capture input when processed by tcprewrite. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 22.04 ESM. (CVE-2022-27416)

It was discovered that Tcpreplay did not properly manage memory under certain circumstances. If a user were tricked into opening a specially crafted packet capture file, a remote attacker could possibly use this issue to cause Tcpreplay crash, resulting in a denial of service, or possibly read sensitive data. This issue only affected Ubuntu 18.04 ESM, Ubuntu 20.04 ESM and Ubuntu 22.04 ESM. (CVE-2022-28487)

Record
USN-5205-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
tcpreplay
Debian:12
before 4.3.3-1
4.3.3-1
tcpreplay
Debian:13
before 4.3.3-1
4.3.3-1
tcpreplay
Debian:14
before 4.3.3-1
4.3.3-1
tcpreplay
Mageia:7
before 4.3.3-1.mga7
4.3.3-1.mga7
tcpreplay
Ubuntu:Pro:18.04:LTS
before 4.2.6-1ubuntu0.1~esm3, plus listed versions
4.2.6-14.2.6-1ubuntu0.1~esm14.2.6-1ubuntu0.1~esm2
4.2.6-1ubuntu0.1~esm3
tcpreplay
Ubuntu:Pro:20.04:LTS
before 4.3.2-1ubuntu0.1~esm1, plus listed versions
4.3.2-1build1
4.3.2-1ubuntu0.1~esm1
tcpreplay
Ubuntu:Pro:16.04:LTS
From an advisory covering 13 CVEs
before 3.4.4-2+deb8u1ubuntu0.1~esm2, plus listed versions
3.4.4-23.4.4-2+deb8u1build0.16.04.13.4.4-2+deb8u1ubuntu0.1~esm1
3.4.4-2+deb8u1ubuntu0.1~esm2
tcpreplay
Ubuntu:Pro:18.04:LTS
From an advisory covering 13 CVEs
before 4.2.6-1ubuntu0.1~esm4, plus listed versions
4.2.6-14.2.6-1ubuntu0.1~esm14.2.6-1ubuntu0.1~esm24.2.6-1ubuntu0.1~esm3
4.2.6-1ubuntu0.1~esm4
tcpreplay
Ubuntu:Pro:20.04:LTS
From an advisory covering 13 CVEs
before 4.3.2-1ubuntu0.1~esm2, plus listed versions
4.3.2-1build14.3.2-1ubuntu0.1~esm1
4.3.2-1ubuntu0.1~esm2
tcpreplay
Ubuntu:Pro:22.04:LTS
From an advisory covering 13 CVEs
before 4.3.4-1ubuntu0.1~esm1, plus listed versions
4.3.3-24.3.4-1
4.3.4-1ubuntu0.1~esm1
tcpreplay
openSUSE:Tumbleweed
before 4.6.2-1.1
4.6.2-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-12740 is a critical vulnerability (CVSS 9.1) in Broadcom Tcpreplay, published May 8, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.69%, the 77th percentile. Fixed in tcpreplay 4.3.3-1.

References

Show 21 moreShow less
MoveEnter Open