Security mailing lists by PureSourceCode

CVE-2022-4510

HIGH 7.8CVSS 3.1

Path traversal in binwalk

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.

Published
26 Jan 2023
Last modified
7 Jul 2026
Assigned by
research@onekey.com
NVD status
Modified
Weakness
CWE-22
Also known as
GHSA-3cm8-v4mc-gppgPYSEC-2026-787
Sources
NVDJSONOSV GHSA-3cm8-v4mc-gppgJSONOSV PYSEC-2026-787JSON

Scores

SourceScored byVersionScoreVector / decision
NVD research@onekey.com (Secondary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD microsoft binwalk
cpe:2.3:a:microsoft:binwalk:*:*:*:*:*:*:*:*
>= 2.2.0, < 2.3.3 2.3.3
OSV PyPI binwalk >= 2.1.2b, <= 2.3.3
OSV PyPI binwalk >= 2.1.2b, < 2.3.4 2.3.4

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 26 Jan 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Jan 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.