CVE-2020-12740
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.
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
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 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - CVSS 2.0
- 6.4 Medium
AV: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 Critical
CVSS: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 Critical
CVSS: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 Critical
CVSS: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 Critical
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
tcpreplayDebian:12 |
before 4.3.3-1 | 4.3.3-1 |
tcpreplayDebian:13 |
before 4.3.3-1 | 4.3.3-1 |
tcpreplayDebian:14 |
before 4.3.3-1 | 4.3.3-1 |
tcpreplayMageia:7 |
before 4.3.3-1.mga7 | 4.3.3-1.mga7 |
tcpreplayUbuntu: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 |
tcpreplayUbuntu:Pro:20.04:LTS |
before 4.3.2-1ubuntu0.1~esm1, plus listed versions 4.3.2-1build1 |
4.3.2-1ubuntu0.1~esm1 |
tcpreplayUbuntu: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 |
tcpreplayUbuntu: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 |
tcpreplayUbuntu: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 |
tcpreplayUbuntu: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 |
tcpreplayopenSUSE:Tumbleweed |
before 4.6.2-1.1 | 4.6.2-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE 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
github.com/appneta/tcpreplay/issues/576
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4YAT4AGTHQKB74ETOQPJMV67TSDIAPOC
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UOSEIQ3D2OONCJEVMGC2TYBC2QX4E5EJ
nvd.nist.gov/vuln/detail/CVE-2020-12740
lists.fedoraproject.org/archives/list/[email protected]/message/4YAT4AGTHQKB74ETOQPJMV67TSDIAPOC
lists.fedoraproject.org/archives/list/[email protected]/message/UOSEIQ3D2OONCJEVMGC2TYBC2QX4E5EJ
Show 21 moreShow less
github.com/advisories/GHSA-95wm-mm55-cxhx
security-tracker.debian.org/tracker/CVE-2020-12740
advisories.mageia.org/MGASA-2020-0278.html
bugs.mageia.org/show_bug.cgi?id=26885
lists.fedoraproject.org/archives/list/[email protected]/thread/4YAT4AGTHQKB74ETOQPJMV67TSDIAPOC
ubuntu.com/security/CVE-2020-12740
ubuntu.com/security/notices/USN-5205-1
cve.org/CVERecord?id=CVE-2020-12740
ubuntu.com/security/CVE-2018-13112
ubuntu.com/security/CVE-2018-17580
ubuntu.com/security/CVE-2018-17582
ubuntu.com/security/CVE-2018-17974
ubuntu.com/security/CVE-2018-18407
ubuntu.com/security/CVE-2018-18408
ubuntu.com/security/CVE-2018-20552
ubuntu.com/security/CVE-2018-20553
ubuntu.com/security/CVE-2020-24265
ubuntu.com/security/CVE-2020-24266
ubuntu.com/security/CVE-2022-27416
ubuntu.com/security/CVE-2022-28487
suse.com/security/cve/CVE-2020-12740