CVE-2018-17582
Tcpreplay v4.3.0 beta1 contains a heap-based buffer over-read. The get_next_packet() function in...
Tcpreplay v4.3.0 beta1 contains a heap-based buffer over-read. The get_next_packet() function in the send_packets.c file uses the memcpy() function unsafely to copy sequences from the source buffer pktdata to the destination (*prev_packet)->pktdata. This will result in a Denial of Service (DoS) and potentially Information Exposure when the application attempts to process a file.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.1
Tcpreplay v4.3.0 beta1 contains a heap-based buffer over-read. The get_next_packet() function in the send_packets.c file uses the memcpy() function unsafely to copy sequences from the source buffer pktdata to the destination (*prev_packet)->pktdata. This will result in a Denial of Service (DoS) and potentially Information Exposure when the application attempts to process a file.
- Record
CVE-2018-17582- CVSS 3.0
- 7.1 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - CVSS 2.0
- 5.8 Medium
AV:N/AC:M/Au:N/C:P/I:N/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
Tcpreplay v4.3.0 beta1 contains a heap-based buffer over-read. The get_next_packet() function in the send_packets.c file uses the memcpy() function unsafely to copy sequences from the source buffer pktdata to the destination (*prev_packet)->pktdata. This will result in a Denial of Service (DoS) and potentially Information Exposure when the application attempts to process a file.
- Record
CVE-2018-17582- Updated
- 2026-11-02
EUVDEUVD-2018-9330 No score
Tcpreplay v4.3.0 beta1 contains a heap-based buffer over-read. The get_next_packet() function in the send_packets.c file uses the memcpy() function unsafely to copy sequences from the source buffer pktdata to the destination (*prev_packet)->pktdata. This will result in a Denial of Service (DoS) and potentially Information Exposure when the application attempts to process a file.
- Record
EUVD-2018-9330- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-92gh-w7h2-5542
7.1
Tcpreplay v4.3.0 beta1 contains a heap-based buffer over-read. The get_next_packet() function in...
Tcpreplay v4.3.0 beta1 contains a heap-based buffer over-read. The get_next_packet() function in the send_packets.c file uses the memcpy() function unsafely to copy sequences from the source buffer pktdata to the destination (*prev_packet)->pktdata. This will result in a Denial of Service (DoS) and potentially Information Exposure when the application attempts to process a file.
- Record
GHSA-92gh-w7h2-5542- CVSS 3.0
- 7.1 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
7.1
Tcpreplay v4.3.0 beta1 contains a heap-based buffer over-read. The get_next_packet() function in the send_packets.c file uses the memcpy() function unsafely to copy sequences from the source buffer pktdata to the destination (*prev_packet)->pktdata. This will result in a Denial of Service (DoS) and potentially Information Exposure when the application attempts to process a file.
- Record
CVE-2018-17582- CVSS 3.0
- 7.1 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-17582
7.1
Tcpreplay v4.3.0 beta1 contains a heap-based buffer over-read. The get_next_packet() function in the send_packets.c file uses the memcpy() function unsafely to copy sequences from the source buffer pktdata to the destination (*prev_packet)->pktdata. This will result in a Denial of Service (DoS) and potentially Information Exposure when the application attempts to process a file.
- Record
DEBIAN-CVE-2018-17582- CVSS 3.0
- 7.1 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2018-17582
7.1
Tcpreplay v4.3.0 beta1 contains a heap-based buffer over-read. The get_next_packet() function in the send_packets.c file uses the memcpy() function unsafely to copy sequences from the source buffer pktdata to the destination (*prev_packet)->pktdata. This will result in a Denial of Service (DoS) and potentially Information Exposure when the application attempts to process a file.
- Record
UBUNTU-CVE-2018-17582- CVSS 3.0
- 7.1 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2019-0094 No score
Updated tcpreplay packages fix security vulnerability
An issue was discovered in Tcpreplay 4.3.0 beta1. A heap-based buffer over-read was triggered in the function dlt_en10mb_encode() of the file plugins/dlt_en10mb/en10mb.c, due to inappropriate values in the function memmove(). The length (pktlen + ctx -> l2len) can be larger than source value (packet + ctx->l2len) because the function fails to ensure the length of a packet is valid. This leads to Denial of Service. (CVE-2018-17974)
A heap-based buffer over-read exists in the function fast_edit_packet() in the file send_packets.c of Tcpreplay v4.3.0 beta1. This can lead to Denial of Service (DoS) and potentially Information Exposure when the application attempts to process a crafted pcap file. (CVE-2018-17580)
Tcpreplay v4.3.0 beta1 contains a heap-based buffer over-read. The get_next_packet() function in the send_packets.c file uses the memcpy() function unsafely to copy sequences from the source buffer pktdata to the destination (*prev_packet)->pktdata. This will result in a Denial of Service (DoS) and potentially Information Exposure when the application attempts to process a file. (CVE-2018-17582)
A heap-based buffer over-read was discovered in the tcpreplay-edit binary of Tcpreplay 4.3.0 beta1, during the incremental checksum operation. The issue gets triggered in the function csum_replace4() in incremental_checksum.h, causing a denial of service. (CVE-2018-18407)
A use-after-free was discovered in the tcpbridge binary of Tcpreplay 4.3.0 beta1. The issue gets triggered in the function post_args() at tcpbridge.c, causing a denial of service or possibly unspecified other impact. (CVE-2018-18408)
- Record
MGASA-2019-0094- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11426-1 No score
tcpreplay-4.3.4-1.3 on GA media
These are all security issues fixed in the tcpreplay-4.3.4-1.3 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11426-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.1-1 | 4.3.1-1 |
tcpreplayDebian:13 |
before 4.3.1-1 | 4.3.1-1 |
tcpreplayDebian:14 |
before 4.3.1-1 | 4.3.1-1 |
tcpreplayMageia:6 |
before 4.3.1-1.mga6 | 4.3.1-1.mga6 |
tcpreplayUbuntu:Pro:16.04:LTS |
before 3.4.4-2+deb8u1ubuntu0.1~esm1, plus listed versions 3.4.4-23.4.4-2+deb8u1build0.16.04.1 |
3.4.4-2+deb8u1ubuntu0.1~esm1 |
tcpreplayUbuntu:Pro:18.04:LTS |
before 4.2.6-1ubuntu0.1~esm1, plus listed versions 4.2.6-1 |
4.2.6-1ubuntu0.1~esm1 |
tcpreplayUbuntu:Pro:16.04:LTS |
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 |
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 |
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 |
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.3.4-1.3 | 4.3.4-1.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| 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-2018-17582 is a high vulnerability (CVSS 7.1) in Broadcom Tcpreplay, published September 28, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.21%, the 68th percentile. Fixed in tcpreplay 4.3.1-1.
References
github.com/appneta/tcpreplay/issues/484
github.com/SegfaultMasters/covering360/blob/master/tcpreplay
nvd.nist.gov/vuln/detail/CVE-2018-17582
github.com/advisories/GHSA-92gh-w7h2-5542
security-tracker.debian.org/tracker/CVE-2018-17582
advisories.mageia.org/MGASA-2019-0094.html
Show 28 moreShow less
bugs.mageia.org/show_bug.cgi?id=24148
lists.fedoraproject.org/archives/list/[email protected]/thread/5UTDLO275Z67H3IN6UL57U6OAI4R3G5I
ubuntu.com/security/CVE-2018-17582
ubuntu.com/security/notices/USN-5205-1
cve.org/CVERecord?id=CVE-2018-17582
ubuntu.com/security/CVE-2018-13112
ubuntu.com/security/CVE-2018-17580
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-12740
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-2017-6429
suse.com/security/cve/CVE-2018-17580
suse.com/security/cve/CVE-2018-17582
suse.com/security/cve/CVE-2018-17974
suse.com/security/cve/CVE-2018-18407
suse.com/security/cve/CVE-2018-18408
suse.com/security/cve/CVE-2019-8376
suse.com/security/cve/CVE-2019-8377
suse.com/security/cve/CVE-2019-8381
suse.com/security/cve/CVE-2020-24265
suse.com/security/cve/CVE-2020-24266