Description
A security vulnerability has been detected in npitre cramfs-tools up to 2.1. Affected is the function do_directory of the file cramfsck.c of the component Directory Handler. Such manipulation leads to path traversal. The attack can only be performed from a local environment. The exploit has been disclosed publicly and may be used. Upgrading to version 2.2 is able to address this issue. The name of the patch is 2fc492747115b24d8a07eddd27a2d45229cb273c. Upgrading the affected component is recommended.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| npitre | cramfs-tools | 2.0, 2.1 | 2.2 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cramfs-tools | 2.2-1.1 | openSUSE-SU-2026:12210-1 |
Advisories 1
- openSUSE-SU-2026:12210-1 cramfs-tools-2.2-1.1 on GA media SUSE / openSUSE Security Updates · Oct 22, 2026
References
- VDB-362571 | npitre cramfs-tools Directory cramfsck.c do_directory path traversal vdb-entry technical-description
- VDB-362571 | CTI Indicators (IOB, IOC, TTP, IOA) signature permissions-required
- Submit #810864 | GNU cramfs-tools V2.1 Improper Limitation of a Pathname to a Restricted Directory third-party-advisory
- https://github.com/npitre/cramfs-tools/issues/12 issue-tracking
- https://github.com/npitre/cramfs-tools/issues/12#issue-4307511739 exploit issue-tracking
- https://github.com/npitre/cramfs-tools/commit/2fc492747115b24d8a07eddd27a2d45229cb273c patch
- https://github.com/npitre/cramfs-tools/releases/tag/v2.2 patch
- https://github.com/npitre/cramfs-tools/ product