CVE-2026-7179 Details
Description
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.
A path traversal vulnerability has been identified in OSPG binwalk versions through 2.4.3, specifically within the WinCE Extraction Plugin. The issue arises in the 'read_null_terminated_string' function of 'winceextract.py', where the 'self.file_name' argument is manipulated, leading to unauthorized file writes. This vulnerability can be exploited locally and has been publicly disclosed. Additionally, it can be escalated to remote code execution by injecting a malicious binwalk plugin that executes in subsequent binwalk runs.
Users are advised to migrate to binwalk v3.x, the Rust-based rewrite, which is not affected by this vulnerability. The archived Python version of binwalk will not receive any updates or patches.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 27, 2026CISA-ADP
Assessed Apr 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/dhabaleshwar/Open-Source-Vulnerabilities/blob/main/binwalk_path_traversal.md | [email protected] | ExploitTechnical Analysis |
| https://vuldb.com/submit/802228 | [email protected] | Technical Description |
| https://vuldb.com/vuln/359781 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/vuln/359781/cti | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| OSPG binwalk | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 27, 2026 | New CVE Received | [email protected] |
Volerion