CVE-2026-8274
npitre cramfs-tools Directory cramfsck.c do_directory path traversal
- State
- Published
- Severity
- 4.8 Medium
- Published
- May 11, 2026
- Updated
- May 11, 2026
- Reserved
- May 10, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 5.3 Medium | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | VulDB |
| 3.0 | 5.3 Medium | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | VulDB |
| 2.0 | 4.3 Medium | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C | VulDB |
Weaknesses
- CWE-22 Path Traversal
Affected Products
| Product | Versions |
|---|---|
cramfs-toolsnpitre |
|
References
- VDB-362571 | npitre cramfs-tools Directory cramfsck.c do_directory path traversalvdb-entrytechnical-description
- VDB-362571 | CTI Indicators (IOB, IOC, TTP, IOA)signaturepermissions-required
- Submit #810864 | GNU cramfs-tools V2.1 Improper Limitation of a Pathname to a Restricted Directorythird-party-advisory
- https://github.com/npitre/cramfs-tools/issues/12issue-tracking
- https://github.com/npitre/cramfs-tools/issues/12#issue-4307511739exploitissue-tracking
- https://github.com/npitre/cramfs-tools/commit/2fc492747115b24d8a07eddd27a2d45229cb273cpatch
- https://github.com/npitre/cramfs-tools/releases/tag/v2.2patch
- https://github.com/npitre/cramfs-tools/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.