Skip to main content

OSPG binwalk CVE-2026-7179

LOW
Path Traversal (CWE-22)
2026-04-27 VulDB
1.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Gain local access with limited privileges
  2. Delivery
    Craft malicious WinCE firmware image with path traversal filenames
  3. Exploit
    Supply crafted image to binwalk analysis workflow
  4. Execution
    Trigger read_null_terminated_string in WinCE plugin
  5. Impact
    Read or overwrite files outside extraction directory

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

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

Exploitation Conditions

Exploitation requires an attacker to already have local access to the system running binwalk with at least low-level user privileges (CVSS PR:L, AV:L) - remote exploitation is not possible. The vulnerability is triggered only when binwalk is invoked against a crafted input file that activates the WinCE Extraction Plugin, meaning the malicious firmware image must contain WinCE filesystem structures recognizable by that plugin. No network exposure is required, and the SSVC assessment confirms the attack is not automatable. The limiting factors are the strict local-only vector, the need to supply or inject a crafted firmware file into the analysis workflow, and the requirement that the victim system runs an unmitigated binwalk 2.x installation with the WinCE plugin present.

Impact

Real-world risk is low across every available signal. The CVSS 4.0 base score of 1.9 reflects the local-only attack vector (AV:L) and requirement for existing low-level privileges (PR:L), with only partial confidentiality, integrity, and availability impact and no scope change to subsequent systems (SC/SI/SA all N). EPSS at 0.01% places this in the 2nd percentile of exploitation probability - among the least likely vulnerabilities to be exploited in practice despite the public POC. SSVC corroborates: exploitation is POC-level, not automatable, and technical impact is partial. No CISA KEV listing exists, confirming no known active exploitation campaign. The primary compounding risk factor is the indefinite exposure created by the EOL status: no patch will ever be issued for 2.x, so organizations that have not migrated accumulate permanent residual risk. However, the local-only vector significantly constrains realistic threat actors.

Exploit ScenarioDerived

A local user with standard account privileges crafts a malicious WinCE firmware image embedding filenames containing path traversal sequences such as ../../etc/passwd. When an analyst or automated pipeline runs binwalk against this image, the read_null_terminated_string function in the WinCE Extraction Plugin processes the malicious filename without sanitization, causing file read or write operations to land outside the intended extraction directory. A public proof-of-concept demonstrating this behavior is available at the referenced GitHub disclosure.

Monitor Track and reassess. Why: Vendor states no customer action required.
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 24, 2026

Path traversal in OSPG binwalk 2.4.3 and earlier allows local low-privileged attackers to read or write files outside the intended extraction directory by supplying a crafted WinCE firmware image that manipulates the self.file_name argument in the read_null_terminated_string function of the WinCE Extraction Plugin. A public proof-of-concept exploit exists, though EPSS sits at 0.01% (2nd percentile) and CISA KEV lists no confirmed active exploitation, indicating negligible real-world uptake. The project maintainer has acknowledged the flaw but confirmed no patch will be released, as binwalk 2.x is end-of-life; migration to binwalk v3 is the only vendor-endorsed resolution.

RemediationAI

The only vendor-endorsed resolution is migration from binwalk 2.x to binwalk v3, as explicitly stated by the project maintainer following their EOL declaration - no vendor-released patch is identified at time of analysis for any 2.x release. If immediate migration is not feasible, a targeted compensating control is to remove or disable the WinCE Extraction Plugin (src/binwalk/plugins/winceextract.py) from the local binwalk installation, which eliminates the vulnerable code path at the cost of losing WinCE firmware extraction capability. Additionally, restrict execution of binwalk to trusted users only via filesystem permissions or sudoers policy, since the attack vector is strictly local and requires at least low-level privilege. Reference the VulDB advisory at https://vuldb.com/vuln/359781 and the POC at https://github.com/dhabaleshwar/Open-Source-Vulnerabilities/blob/main/binwalk_path_traversal.md for technical detail.

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

binwalk is a firmware analysis and extraction tool commonly used in embedded-systems security research and reverse engineering. The vulnerable component is the WinCE Extraction Plugin located at src/binwalk/plugins/winceextract.py. The read_null_terminated_string function reads filenames from WinCE filesystem structures and passes the unsanitized self.file_name value directly to filesystem operations. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) describes this root cause: without normalization or boundary validation, attacker-controlled path components such as ../ sequences can redirect file operations outside the intended extraction root. The affected CPE is cpe:2.3:a:ospg:binwalk:*:*:*:*:*:*:*:*, covering all OSPG-maintained 2.x releases through 2.4.3.

Know when Binwalk 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 (VulDB) PRIMARY 1.9 LOW
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 5.3 MEDIUM

Local-only vector with low-privilege requirement; partial CIA impact from path traversal enabling limited file read/write; no scope change beyond the vulnerable system.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
Severity Changed
Apr 29, 2026 - 01:12 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:12 NVD
4.8 (MEDIUM) 1.9 (LOW)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
CVSS changed
Apr 27, 2026 - 23:22 NVD
5.3 (MEDIUM) 4.8 (MEDIUM)
CVE Published
Apr 27, 2026 - 22:15 nvd
LOW 1.9

DescriptionCVE.org

A security vulnerability has been detected in OSPG binwalk up to 2.4.3. This vulnerability affects the function read_null_terminated_string of the file src/binwalk/plugins/winceextract.py of the component WinCE Extraction Plugin. Such manipulation of the argument self.file_name leads to path traversal. The attack can only be performed from a local environment. The exploit has been disclosed publicly and may be used. The project maintainer confirms this issue: "I accept the existence of the Path Traversal vulnerability. However, as stated in the Github link, it reached EOL and as a result no actions should be expected." The GitHub repository mentions, that "[u]sers and contributors should migrate to binwalk v3." This vulnerability only affects products that are no longer supported by the maintainer.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Prevalence
Low
niche firmware analysis tool, primarily used in security research
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
Vendor states no customer action required
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
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Affected Products (CPE)CVE.org

cpe:2.3:a:ospg:binwalk:*:*:*:*:*:*:*:*

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