Vulnerability in tcpreplay package - tcprewrite program does not check frame size

tcpreplay Updated 02 Oct 2025

Summary

07/07/2016
N/A
Yes i
Unrated
Not published

DLA-544-1: tcpreplay - security update. Affects tcpreplay versions < 3.4.3-2+wheezy2. Fixed in 3.4.3-2+wheezy2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The tcpreplay package is a suite of tools used for replaying network traffic saved in pcap files. It includes the tcprewrite program, which is responsible for rewriting packet data. The vulnerability lies in the tcprewrite program's failure to validate the size of frames it processes. This issue becomes critical when processing huge frames, which can trigger a segmentation fault. Such frames are commonly encountered when capturing packets on interfaces with an MTU of or close to 65536, such as the loopback interface 'lo' in the Linux kernel.

Vulnerability Detail

The vulnerability in the tcprewrite program allows for a segmentation fault to occur when processing large frames. This can be exploited by an attacker to crash the program or potentially execute arbitrary code. The issue arises due to the lack of size validation in the frame processing logic. If an interface with a large MTU is used, the program may encounter frames that exceed its processing capabilities, leading to a crash.

How To Fix

Minimum fixed version

3.4.3-2+wheezy2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade tcpreplay

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. Upgrading to the fixed version is the only recommended solution.

Conclusion

The vulnerability in the tcpreplay package's tcprewrite program can lead to a segmentation fault when processing large frames. Upgrading to the fixed version is the recommended solution. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for tcpreplay →

Share this vulnerability

FAQ

The vulnerability can lead to a segmentation fault in the tcprewrite program, potentially crashing the program or allowing for arbitrary code execution.

The vulnerability affects tcpreplay package version 0 and is fixed in version 3.4.3-2+wheezy2 or later.

No, this vulnerability requires the attacker to have access to the system and the ability to provide specially crafted network traffic.

There are no known instances of this vulnerability being exploited in the wild.

For more information about this vulnerability, refer to the Debian LTS security advisory DLA-544-1.

Related vulnerabilities

Recent vulnerabilities recorded for tcpreplay.

How To Fix

Minimum fixed version

3.4.3-2+wheezy2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade tcpreplay

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback