CVE-2022-4510

unknown
Published 2023-01-26 · Modified 2025-12-20
CVSS v3
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v2
VIR risk
1.0

Description

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.

Predictions

Exploit likelihood
55%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2022-4510

Exploits

Exploit-DB

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed2.3.4+dfsg1-1
debian debianbullseyefixed2.3.1+dfsg1-1+deb11u1
debian debianforkyfixed2.3.4+dfsg1-1
debian debiansidfixed2.3.4+dfsg1-1
debian debiantrixiefixed2.3.4+dfsg1-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIbinwalk>=2.1.2b,<=2.3.3

References

Verify integrity in audit chain (admin only). AS-IS.