Integer Overflow in TCPFLOW Allows Out-of-Bounds Read and Denial of Service (CVE-2018-14938)

tcpflow Updated 02 Oct 2025

Summary

05/08/2018
N/A
Yes i
Critical
9.1

CVE-2018-14938: An issue was discovered in wifipcap/wifipcap.cpp in TCPFLOW through 1.5.0-alpha. Affects tcpflow across 2 version ranges.

< 1.5.0-r0 < a4e1cd14eb5ccc51ed271b65b3420f7d692c40eb

Fixed in 1.5.0-r0. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

TCPFLOW is a tool for capturing and analyzing network traffic. It allows users to intercept and log network packets passing through a network interface. This vulnerability affects TCPFLOW versions prior to 1.5.0-alpha. The issue resides in the wifipcap/wifipcap.cpp file and involves an integer overflow in the handle_prism function during caplen processing. If the caplen is less than 144, it can trigger an integer overflow in the handle_80211 function, leading to an out-of-bounds read and potential access to sensitive memory or a denial of service.

Vulnerability Detail

The integer overflow vulnerability in TCPFLOW can be exploited by an attacker to read sensitive memory or cause a denial of service. By manipulating the caplen value to be less than 144, the handle_80211 function can be triggered to perform an out-of-bounds read. This can potentially expose sensitive information or crash the application, leading to a denial of service. The vulnerability has a CVSS score of 9.1, indicating a critical severity level.

How To Fix

Minimum fixed version

1.5.0-r0

This is the first release that contains the fix.

sudo apk add --upgrade tcpflow

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

Workaround

No workaround has been provided for this vulnerability.

Conclusion

The integer overflow vulnerability in TCPFLOW can lead to an out-of-bounds read and potential access to sensitive memory or a denial of service. It is crucial to update TCPFLOW to version 1.5.0-alpha or later to mitigate this vulnerability. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for tcpflow →

Share this vulnerability

FAQ

TCPFLOW is a network traffic capture and analysis tool.

The vulnerability can allow an attacker to read sensitive memory or cause a denial of service.

The CVSS score of this vulnerability is 9.1, indicating a critical severity level.

To fix this vulnerability, update TCPFLOW to version 1.5.0-alpha or later.

No workaround has been provided for this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for tcpflow.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

1.5.0-r0

This is the first release that contains the fix.

sudo apk add --upgrade tcpflow

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