
CVE catalog
CVE-2022-4510
binwalk: CVE-2022-4510
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 22.01% · Oct 27, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | binwalk | sid | 2.4.3+dfsg1-3 | fixed |
| Debian | binwalk | forky | 2.4.3+dfsg1-3 | fixed |
| Debian | binwalk | trixie | 2.4.3+dfsg1-2+deb13u1 | fixed |
| Debian | binwalk | bookworm | 2.3.4+dfsg1-1 | fixed |
| Opensuse | binwalk | tumbleweed | 2.3.3-2.1 | fixed |
| Ubuntu | binwalk | 16.04 | 2.0.1+dfsg-1 | vulnerable |
| Ubuntu | binwalk | 16.04 | 2.0.1+dfsg-2 | vulnerable |
| Ubuntu | binwalk | 16.04 | 2.0.1+dfsg-3 | vulnerable |
| Ubuntu | binwalk | 16.04 | 2.1.1-1 | vulnerable |
| Ubuntu | binwalk | 16.04 | 2.1.1-2 | vulnerable |
| Ubuntu | binwalk | 16.04 | 2.1.1-3 | vulnerable |
| Ubuntu | binwalk | 16.04 | 2.1.1-4 | vulnerable |
| Ubuntu | binwalk | 18.04 | 2.1.1-16 | vulnerable |
| Ubuntu | binwalk | 20.04 | 2.1.2~git20180830+dfsg1-1 | vulnerable |
| Ubuntu | binwalk | 20.04 | 2.2.0+dfsg1-1 | vulnerable |
| Ubuntu | binwalk | 22.04 | 2.3.2+dfsg1-1 | vulnerable |
| Ubuntu | binwalk | 22.04 | 2.3.3+dfsg1-2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | binwalk | source | sid | 2.3.4+dfsg1-1 | not yet assigned | Not reported | Not reported |
| Debian | binwalk | source | forky | 2.3.4+dfsg1-1 | not yet assigned | Not reported | Not reported |
| Debian | binwalk | source | trixie | 2.3.4+dfsg1-1 | not yet assigned | Not reported | Not reported |
| Debian | binwalk | source | bookworm | 2.3.4+dfsg1-1 | not yet assigned | Not reported | Not reported |
| Opensuse | binwalk | rpm | tumbleweed | 2.3.3-2.1 | Not reported | OPENSUSE-SU-2024:12649-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [binwalk]Fixed
Details (2)
2.3.4+dfsg1-1· all · bookwormFixed · Fixed:
2.3.4+dfsg1-1dsa · binwalk · debian · bookworm
2.3.4+dfsg1-1· all · bookwormFixed · Fixed:
2.3.4+dfsg1-1dsa · binwalk · debian · bookworm
- [python3-binwalk]Fixed
Source package: [binwalk]
Details (2)
2.3.4+dfsg1-1· all · bookwormFixed · Fixed:
2.3.4+dfsg1-1dsa · binwalk · debian · bookworm
2.3.4+dfsg1-1· all · bookwormFixed · Fixed:
2.3.4+dfsg1-1dsa · binwalk · debian · bookworm
[openSUSE Tumbleweed]
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_12649-1.json]
- [https://osv.dev/vulnerability/DLA-3339-1]
- [https://osv.dev/vulnerability/DLA-4410-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-4510]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:12649-1]
- [https://security-tracker.debian.org/tracker/CVE-2022-4510]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-4510.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]