Skip to main content

hping3 CVE-2026-136131

| EUVDEUVD-2026-133976 MEDIUM
Out-of-bounds Write (CWE-787)
2026-11-24 VulnCheck GHSA-mgr6-gwq7-jq3v
6.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Operator runs hping3 with -G
  2. Delivery
    Reply crafted as probed/on-path/spoofed host
  3. Exploit
    Oversized Record Route option (len up to 255)
  4. Execution
    Overflow static 40-byte old_rr buffer
  5. Impact
    Corrupt global memory and crash hping3

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim to be running hping3 with the Record Route feature enabled via the -G/--rroute flag, which is NOT the default mode. The attacker must occupy a privileged network position: be the host being probed, sit on-path, or successfully spoof the target and win the timing needed to inject a crafted IP/ICMP reply containing an IP Record Route option whose length field is set up to 255 bytes (far exceeding the 40-byte old_rr buffer). Limiting factors that reduce realistic risk: the non-default -G flag must be in use, the operator must actively initiate the probe (user interaction), and the attacker needs an on-path or spoofing position with timing success - hence the high attack complexity. Impact is confined to the hping3 process (global-memory corruption and crash); the available sources do not establish confidentiality loss or confirmed code execution.

Impact

This is a moderate-severity issue (CVSS 4.0 base 6.0) whose real-world priority is bounded by several limiting signals rather than elevated by them. The vector CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P shows that although the trigger arrives over the network (AV:N) and needs no privileges on the hping host (PR:N), exploitation is gated by high attack complexity (AC:H), a present attack requirement (AT:P), and active user interaction (UI:P) - the operator must run hping3 with the non-default -G/--rroute flag against a host the attacker controls, is on-path with, or can spoof. Impact is limited: VC:N (no confidentiality loss), VI:L (limited integrity via global-memory corruption), VA:H (crash/DoS). CWE-787 (out-of-bounds write) can in principle enable more than a crash, but the available evidence describes only global-memory corruption and a crash, so code execution is not established by the sources. The vuln.today Decision label is 'this_month' (a moderate, scheduled priority - not act_now or emergency). No EPSS score, KEV listing, or confirmed working exploit is present in the input, and a low/absent exploitation-probability picture is consistent with a niche operator-side tool rather than mass-automatable server exploitation. Net: a genuine but non-urgent stability/DoS bug in a specialist tool, not a high-real-risk network threat.

Exploit ScenarioDerived

An operator runs hping3 with -G/--rroute to probe a host, and the attacker - acting as that probed host, positioned on-path, or spoofing the target - returns a reply carrying a crafted IP Record Route option with a length field up to 255 bytes. Parsing in display_ipopt() writes past the static 40-byte old_rr buffer, corrupting global memory and crashing hping3. A public PoC reference exists (GitHub issue #80 and a VulnCheck advisory); it is not verified as working exploit code.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 24, 2026

Memory corruption in hping3 (antirez/hping through commit 3547c76) lets a remote party acting as the probed host, on-path, or spoofing the target overflow the static 40-byte old_rr buffer in display_ipopt() with an IP Record Route option length up to 255, crashing the tool and corrupting global memory. The flaw is reachable only when the operator runs hping3 with the non-default -G/--rroute flag and initiates a probe, and the attacker needs a privileged network position or successful spoofing, so real-world exposure is limited; no public exploit identified at time of analysis. This moderate-severity issue is scored CVSS 4.0 base 6.0 and maps to CVSS 3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H in the independent assessment.

RemediationAI

No vendor-released patch identified at time of analysis. Until a fixed commit or release is published, avoid running hping3 with -G/--rroute; this disables the vulnerable Record Route display path but removes record-route diagnostic output. If the option is required, use hping3 only against targets on a trusted network path where the probed host or an on-path attacker cannot inject crafted IP/ICMP replies, accepting that this does not protect against a compromised target and is unsuitable for untrusted Internet probing. Monitor https://github.com/antirez/hping/issues/80 and https://www.vulncheck.com/advisories/hping3-through-commit-3547c76-out-of-bounds-write-in-display-ipopt-via-record-route for a fixed commit or release, and validate any upstream fix before relying on it.

Affected VersionsENISA

hping 7257579bc9e722d3f1e28d42c0cd93d769260b2b ≤3547c7691742c6eaa31f8402e0ccbb81387c1b99

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

hping3 is a command-line TCP/IP packet assembler and network probing tool; its IP option display code in display_ipopt.c uses a fixed 40-byte static old_rr buffer for Record Route data. The parser trusts the option length supplied in a reply, allowing a length up to 255 bytes to be written and overflowing that buffer, which is a CWE-787 out-of-bounds write. The CPE cpe:2.3:a:antirez:hping:*:*:*:*:*:*:*:* identifies the antirez/hping codebase through commit 3547c76, with the vulnerable logic at display_ipopt.c lines 94-113. Reachability is narrow: hping3 must be running with -G/--rroute (not the default mode), and the attacker must be the probed host, sit on-path, or successfully spoof the target and deliver a crafted IP/ICMP reply. The provided assessment rates this CVSS 4.0 6.0 and CVSS 3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H, with impact limited to global-memory corruption and a crash of the hping3 process; confidentiality loss or confirmed code execution is not established.

Know when Hping gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.0 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

PR:N (no auth on the hping host) but UI:R (operator must run -G/--rroute) and AC:H (attacker must be probed host/on-path/spoofing with timing); C:N, I:L for limited memory corruption, A:H for the crash.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

hping3 through commit 3547c76 contains an out-of-bounds write vulnerability in display_ipopt() that allows remote attackers to overflow the static 40-byte old_rr buffer via a crafted IP Record Route option. Attackers acting as the probed host, on-path, or spoofing the target can send replies with option lengths up to 255 to hping3 running with -G/--rroute, corrupting global memory and crashing hping3.

Threat Intelligence Overview

EPSS Score
0.8%
Top 47% exploitable
Prevalence
Low
niche network-testing/pentesting CLI utility, no production service footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.8%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy