Every CVE Search/ Get API key

CVE-2023-4256

Tcpreplay: tcprewrite: double free in tcpedit_dlt_cleanup() in plugins/dlt_plugins.c

5.5 MediumFix available

Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the tcpedit_dlt_cleanup() function within plugins/dlt_plugins.c. This vulnerability can be exploited by supplying a specifically crafted file to the tcprewrite binary. This flaw enables a local attacker to initiate a Denial of Service (DoS) attack.

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
None
Integrity
None
Availability
High

Exploit likelihood

0.33%Up 0.3 points since Dec 22, 2023
90%50%10%1%

What each source reports

CVE List Score used 5.5

Tcpreplay: tcprewrite: double free in tcpedit_dlt_cleanup() in plugins/dlt_plugins.c

Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the tcpedit_dlt_cleanup() function within plugins/dlt_plugins.c. This vulnerability can be exploited by supplying a specifically crafted file to the tcprewrite binary. This flaw enables a local attacker to initiate a Denial of Service (DoS) attack.

Record
CVE-2023-4256
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-415
Updated
2026-11-02
EUVDEUVD-2023-54127 5.5

Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the tcpedit_dlt_cleanup() function within plugins/dlt_plugins.c. This vulnerability can be exploited by supplying a specifically crafted file to the tcprewrite binary. This flaw enables a local attacker to initiate a Denial of Service (DoS) attack.

Record
EUVD-2023-54127
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-pjxj-fcrm-89x2 5.5

Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the...

Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the tcpedit_dlt_cleanup() function within plugins/dlt_plugins.c. This vulnerability can be exploited by supplying a specifically crafted file to the tcprewrite binary. This flaw enables a local attacker to initiate a Denial of Service (DoS) attack.

Record
GHSA-pjxj-fcrm-89x2
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-415
Updated
2026-11-02
NVD 5.5

Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the tcpedit_dlt_cleanup() function within plugins/dlt_plugins.c. This vulnerability can be exploited by supplying a specifically crafted file to the tcprewrite binary. This flaw enables a local attacker to initiate a Denial of Service (DoS) attack.

Record
CVE-2023-4256
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-415
Updated
2026-11-02
OSV 5.5

Tcpreplay: tcprewrite: double free in tcpedit_dlt_cleanup() in plugins/dlt_plugins.c

Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the tcpedit_dlt_cleanup() function within plugins/dlt_plugins.c. This vulnerability can be exploited by supplying a specifically crafted file to the tcprewrite binary. This flaw enables a local attacker to initiate a Denial of Service (DoS) attack.

Record
CVE-2023-4256
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-415
Updated
2026-11-02
OSVDEBIAN-CVE-2023-4256 5.5

Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the tcpedit_dlt_cleanup() function within plugins/dlt_plugins.c. This vulnerability can be exploited by supplying a specifically crafted file to the tcprewrite binary. This flaw enables a local attacker to initiate a Denial of Service (DoS) attack.

Record
DEBIAN-CVE-2023-4256
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2023-4256 5.5

Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the tcpedit_dlt_cleanup() function within plugins/dlt_plugins.c. This vulnerability can be exploited by supplying a specifically crafted file to the tcprewrite binary. This flaw enables a local attacker to initiate a Denial of Service (DoS) attack.

Record
UBUNTU-CVE-2023-4256
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2024-0098 No score

Updated tcpreplay packages fix security vulnerabilities

Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the tcpedit_dlt_cleanup() function within plugins/dlt_plugins.c. This vulnerability can be exploited by supplying a specifically crafted file to the tcprewrite binary. This flaw enables a local attacker to initiate a Denial of Service (DoS) attack. (CVE-2023-4256) Null Pointer Dereference in mask_cidr6 component at cidr.c in Tcpreplay 4.4.4 allows attackers to crash the application via crafted tcprewrite command. (CVE-2023-43279)

Record
MGASA-2024-0098
Updated
2026-11-02
OSVopenSUSE-SU-2025:20119-1 No score

Security update for tcpreplay

This update for tcpreplay fixes the following issues:

  • update to 4.5.2:
    • features added since 4.4.4
      • fix/recalculate header checksum for ipv6-frag
      • IPv6 frag checksum support
      • AF_XDP socket support
      • tcpreplay -w (write into a pcap file)
      • tcpreplay --fixhdrlen
      • --include and --exclude options
      • SLL2 support
      • Haiku support
    • security fixes reported for 4.4.4 fixed in 4.5.2
      • CVE-2023-4256 / bsc#1218249
      • CVE-2023-43279 / bsc#1221324
      • CVE-2024-3024 / bsc#1222131 (likely)
      • CVE-2024-22654 / bsc#1243845
      • CVE-2025-9157 / bsc#1248322
      • CVE-2025-9384 / bsc#1248595
      • CVE-2025-9385 / bsc#1248596
      • CVE-2025-9386 / bsc#1248597
      • CVE-2025-9649 / bsc#1248964
      • CVE-2025-51006 / bsc#1250356
Record
openSUSE-SU-2025:20119-1
Updated
2026-11-02
OSVUSN-7231-1 No score

tcpreplay vulnerabilities

It was discovered that Tcpreplay incorrectly handled memory when using the tcprewrite utility. A remote attacker could possibly use this issue to cause Tcpreplay to crash, resulting in a denial of service. (CVE-2023-27783)

It was discovered that Tcpreplay incorrectly validated external input. A remote attacker could possibly use this issue to cause Tcpreplay to crash, resulting in a denial of service. (CVE-2023-27784, CVE-2023-27785, CVE-2023-27786, CVE-2023-27787, CVE-2023-27788, CVE-2023-27789)

It was discovered that Tcpreplay incorrectly handled memory when using the tcprewrite utility. An attacker could possibly use this issue to cause Tcpreplay to crash, resulting in a denial of service. (CVE-2023-4256, CVE-2023-43279)

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

Affected products

Affected packages

Affected packages
PackageAffectedFixed
tcpreplay
Debian:12
All versions, plus listed versions
4.4.3-14.4.4-14.5.1-14.5.2-14.5.3-14.5.4-1
None known
tcpreplay
Debian:13
before 4.5.1-1
4.5.1-1
tcpreplay
Debian:14
before 4.5.1-1
4.5.1-1
tcpreplay
Mageia:9
From an advisory covering 2 CVEs
before 4.4.3-2.1.mga9
4.4.3-2.1.mga9
tcpreplay
Ubuntu:Pro:18.04:LTS
before 4.2.6-1ubuntu0.1~esm5, plus listed versions
4.2.6-14.2.6-1ubuntu0.1~esm14.2.6-1ubuntu0.1~esm24.2.6-1ubuntu0.1~esm34.2.6-1ubuntu0.1~esm4
4.2.6-1ubuntu0.1~esm5
tcpreplay
Ubuntu:Pro:20.04:LTS
before 4.3.2-1ubuntu0.1~esm3, plus listed versions
4.3.2-1build14.3.2-1ubuntu0.1~esm14.3.2-1ubuntu0.1~esm2
4.3.2-1ubuntu0.1~esm3
tcpreplay
Ubuntu:Pro:22.04:LTS
before 4.3.4-1ubuntu0.1~esm2, plus listed versions
4.3.3-24.3.4-14.3.4-1ubuntu0.1~esm1
4.3.4-1ubuntu0.1~esm2
tcpreplay
Ubuntu:Pro:24.04:LTS
before 4.4.4-1ubuntu0.1~esm1, plus listed versions
4.4.3-14.4.4-14.4.4-1build14.4.4-1build2
4.4.4-1ubuntu0.1~esm1
tcpreplay
Ubuntu:Pro:16.04:LTS
From an advisory covering 9 CVEs
before 3.4.4-2+deb8u1ubuntu0.1~esm3, plus listed versions
3.4.4-23.4.4-2+deb8u1build0.16.04.13.4.4-2+deb8u1ubuntu0.1~esm13.4.4-2+deb8u1ubuntu0.1~esm2
3.4.4-2+deb8u1ubuntu0.1~esm3
tcpreplay
Ubuntu:Pro:18.04:LTS
From an advisory covering 9 CVEs
before 4.2.6-1ubuntu0.1~esm5, plus listed versions
4.2.6-14.2.6-1ubuntu0.1~esm14.2.6-1ubuntu0.1~esm24.2.6-1ubuntu0.1~esm34.2.6-1ubuntu0.1~esm4
4.2.6-1ubuntu0.1~esm5
Show 4 moreShow less
Affected packages
PackageAffectedFixed
tcpreplay
Ubuntu:Pro:20.04:LTS
From an advisory covering 9 CVEs
before 4.3.2-1ubuntu0.1~esm3, plus listed versions
4.3.2-1build14.3.2-1ubuntu0.1~esm14.3.2-1ubuntu0.1~esm2
4.3.2-1ubuntu0.1~esm3
tcpreplay
Ubuntu:Pro:22.04:LTS
From an advisory covering 9 CVEs
before 4.3.4-1ubuntu0.1~esm2, plus listed versions
4.3.3-24.3.4-14.3.4-1ubuntu0.1~esm1
4.3.4-1ubuntu0.1~esm2
tcpreplay
Ubuntu:Pro:24.04:LTS
From an advisory covering 9 CVEs
before 4.4.4-1ubuntu0.1~esm1, plus listed versions
4.4.3-14.4.4-14.4.4-1build14.4.4-1build2
4.4.4-1ubuntu0.1~esm1
tcpreplay
openSUSE:Leap 16.0
From an advisory covering 11 CVEs
before 4.5.2-bp160.1.1
4.5.2-bp160.1.1

History

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

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

In short

CVE-2023-4256 is a medium vulnerability (CVSS 5.5) in Broadcom Tcpreplay, published December 21, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.33%, the 25th percentile. Fixed in tcpreplay 4.5.1-1.

References

Show 40 moreShow less
MoveEnter Open