Skip to content
WatchlistHigh

CVE-2022-4510Binwalk Path Traversal

Path traversal in binwalk

Published Jan 25, 2023 · Updated Nov 3, 2026 · Also known as CLEANSTART-2024-NO63086, DEBIAN-CVE-2022-4510, DLA-3339-1, DLA-4410-1, GHSA-3cm8-v4mc-gppg, MGASA-2023-0074, PYSEC-2026-787, UBUNTU-CVE-2022-4510, USN-9134-1, openSUSE-SU-2024:12649-1

Key Facts

Patch immediately
  • CVE-2022-4510 is a high-severity vulnerability (CVSS 7.8 v3.1) affecting Binwalk (Microsoft), python3-binwalk (ubuntu).
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 24% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Binwalk 2.1.2~git20180830+dfsg1-1+deb10u1, Binwalk 2.2.0+dfsg1-1ubuntu0.1~esm1, Binwalk 2.3.1+dfsg1-1+deb11u1.
  • Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.

Scores

CVSS v3.1

7.8

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

24%

Higher than 97.8% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

40/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

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.

Affected Products

26 affected entries in total
ProductAffected versionsFixed in
BinwalkMicrosoft>= 2.1.2b2.3.3
python3-binwalkubuntuSee advisory2.2.0+dfsg1-1ubuntu0.1~esm1

Patched Releases

Binwalk

2.1.2~git20180830+dfsg1-1+deb10u1, 2.2.0+dfsg1-1ubuntu0.1~esm1, 2.3.1+dfsg1-1+deb11u1, 2.3.3-2.1, 2.3.3+dfsg1-2ubuntu0.1~esm1, 2.3.4, 2.3.4-1.mga8, 2.3.4-r0, 2.3.4+dfsg1-1, 2.3.3

python3-binwalk

2.2.0+dfsg1-1ubuntu0.1~esm1, 2.3.3+dfsg1-2ubuntu0.1~esm1

Timeline

  1. Publicly disclosed

    Jan 25, 2023

  2. Last updated

    Nov 3, 2026

Weakness Type

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

FAQ

Common Questions.

Is CVE-2022-4510 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.