CVE catalog

CVE-2022-4510

binwalk: CVE-2022-4510

[CVE catalog]

Severity
High · CVSS 7.8CVSS: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.

DistributionPackageReleaseVersionStatus
Debianbinwalksid2.4.3+dfsg1-3fixed
Debianbinwalkforky2.4.3+dfsg1-3fixed
Debianbinwalktrixie2.4.3+dfsg1-2+deb13u1fixed
Debianbinwalkbookworm2.3.4+dfsg1-1fixed
Opensusebinwalktumbleweed2.3.3-2.1fixed
Ubuntubinwalk16.042.0.1+dfsg-1vulnerable
Ubuntubinwalk16.042.0.1+dfsg-2vulnerable
Ubuntubinwalk16.042.0.1+dfsg-3vulnerable
Ubuntubinwalk16.042.1.1-1vulnerable
Ubuntubinwalk16.042.1.1-2vulnerable
Ubuntubinwalk16.042.1.1-3vulnerable
Ubuntubinwalk16.042.1.1-4vulnerable
Ubuntubinwalk18.042.1.1-16vulnerable
Ubuntubinwalk20.042.1.2~git20180830+dfsg1-1vulnerable
Ubuntubinwalk20.042.2.0+dfsg1-1vulnerable
Ubuntubinwalk22.042.3.2+dfsg1-1vulnerable
Ubuntubinwalk22.042.3.3+dfsg1-2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianbinwalksourcesid2.3.4+dfsg1-1not yet assignedNot reportedNot reported
Debianbinwalksourceforky2.3.4+dfsg1-1not yet assignedNot reportedNot reported
Debianbinwalksourcetrixie2.3.4+dfsg1-1not yet assignedNot reportedNot reported
Debianbinwalksourcebookworm2.3.4+dfsg1-1not yet assignedNot reportedNot reported
Opensusebinwalkrpmtumbleweed2.3.3-2.1Not reportedOPENSUSE-SU-2024:12649-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [binwalk]Fixed
    Details (2)
    • 2.3.4+dfsg1-1 · all · bookworm

      Fixed · Fixed: 2.3.4+dfsg1-1

      dsa · binwalk · debian · bookworm

    • 2.3.4+dfsg1-1 · all · bookworm

      Fixed · Fixed: 2.3.4+dfsg1-1

      dsa · binwalk · debian · bookworm

  • Source package: [binwalk]

    Details (2)
    • 2.3.4+dfsg1-1 · all · bookworm

      Fixed · Fixed: 2.3.4+dfsg1-1

      dsa · binwalk · debian · bookworm

    • 2.3.4+dfsg1-1 · all · bookworm

      Fixed · Fixed: 2.3.4+dfsg1-1

      dsa · binwalk · debian · bookworm

[openSUSE Tumbleweed]

  • [binwalk]Fixed

    Source package: [binwalk]

    Details (1)
    • 3.1.0-1.5 · x86_64 · tumbleweed

      Fixed · Fixed: 2.3.3-2.1

      dsa · binwalk · opensuse · tumbleweed

Observed:

References