CVE-2022-4510Microsoft Binwalk
High 7.8 High EPSS
Follow: this CVE · Microsoft · Microsoft Binwalk We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 3.1
- 7.8
- EPSS
- 17.5% probability of exploitation in 30 days · percentile 98
- Auth required
- Yes
- Published
- Jan 26, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Windows
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
A path traversal vulnerability was identified in ReFirm Labs binwalk from version 2.1.2b through 2.3.3 included. By crafting a malicious PFS filesystem file, an attacker can get binwalk's PFS extractor to extract files at arbitrary locations when binwalk is run in extraction mode (-e option). Remote code execution can be achieved by building a PFS filesystem that, upon extraction, would extract a malicious binwalk module into the folder .config/binwalk/plugins.
This vulnerability is associated with program files src/binwalk/plugins/unpfs.py.
This issue affects binwalk from 2.1.2b through 2.3.3 included.
What to do
- Apply the vendor's security update for Binwalk.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | binwalk |
≥ 2.1.2b ≤ 2.3.3 |
no fixed version | — |
| PyPI | binwalk |
≥ 2.1.2b < 2.3.4 |
2.3.4 |
pip install "binwalk>=2.3.4" |
Per OSV / GitHub Advisories (GHSA-3cm8-v4mc-gppg, PYSEC-2026-787). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| microsoft | binwalk | ≥ 2.2.0 < 2.3.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Patch Third Party Advisory
- security.gentoo.org
- lists.debian.org