# CVE-2026-8274: npitre cramfs-tools Directory cramfsck.c do_directory path traversal

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-11T04:45:10.977Z
- Modified: 2026-10-26T18:10:00.173Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- npitre cramfs-tools: 2.0; 2.1 (not affected: 2.2)

## Every score

- VulDB: CVSS: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: CVSS: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: CVSS: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: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C`

## References

- <https://github.com/npitre/cramfs-tools/issues/12#issue-4307511739> (exploit, issue-tracking)
- <https://vuldb.com/vuln/362571> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/362571/cti> (permissions-required, signature)
- <https://vuldb.com/submit/810864> (third-party-advisory)
- <https://github.com/npitre/cramfs-tools/issues/12> (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)

## Sources

- CVE List: [CVE-2026-8274](https://www.cve.org/CVERecord?id=CVE-2026-8274), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-8274](https://nvd.nist.gov/vuln/detail/CVE-2026-8274), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-8274 · Whole record: https://cve.day/CVE-2026-8274.json · Rebuilt by cve.day 2026-11-25T22:59:21.186Z
