Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft NILFS2 image with oversized s_log_block_size
-
DeliveryDeliver malicious image to target user
-
ExploitUser runs nilfs-tune or dumpseg on image
-
ExecutionUnvalidated shift/allocation triggers undefined behavior
-
ImpactTool crashes (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Input size validation
|
| Exploitation Conditions | Exploitation requires a user to actively run a NILFS utility (specifically nilfs-tune or dumpseg) against an attacker-controlled NILFS2 filesystem image containing a crafted superblock with s_log_block_size set to a value greater than 6. The attack vector is local (AV:L): the attacker cannot trigger the crash remotely without first delivering the malicious image and inducing user interaction (UI:A). No elevated privileges are required to run the affected utilities (PR:N from the CVSS 4.0 vector). What limits exploitation: the victim must take an active step to process the malicious image; the impact is limited strictly to a crash of the userspace utility (VA:H) with no confidentiality or integrity impact (VC:N, VI:N); and the vulnerability does not affect the kernel NILFS2 driver, only the userspace nilfs-utils package. Non-default or unusual deployment configurations are not required - any installation of nilfs-utils through 2.3.0 is vulnerable when processing untrusted images. |
| Impact | The CVSS 4.0 base score of 6.7 is appropriate and well-supported by the vector (AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N). The local attack vector (AV:L) reflects that exploitation requires a user to actively run a NILFS utility against an attacker-controlled image; the required user interaction (UI:A, Active) further narrows the realistic attack surface. Impact is strictly denial-of-service against the userspace tool itself - no confidentiality or integrity compromise is possible, and scope is unchanged. No EPSS score was provided in the source data, so exploitation probability cannot be quantified numerically. The absence of KEV listing and no identified public exploit code reinforces a low real-world urgency: this is a targeted, socially-engineered DoS affecting offline filesystem tooling rather than a remotely exploitable or privilege-escalating flaw. Priority should be LOW for most environments; slightly elevated for workflows that automatically parse or audit untrusted NILFS2 images (e.g., forensic tools, CI pipelines processing external filesystem archives). |
| Exploit ScenarioDerived | An attacker crafts a NILFS2 filesystem image containing a superblock with an s_log_block_size value far exceeding the valid maximum of 6 and delivers it to a target through a phishing email, file share, or malicious download. When the victim runs nilfs-tune or dumpseg against the image - for instance, during a forensic investigation, filesystem audit, or routine administration task - the unvalidated field is used in a bit-shift or allocation calculation, triggering undefined behavior that crashes the tool. No public exploit code has been identified, but the simplicity of crafting a malformed superblock means exploitation requires minimal technical skill once an attacker understands the target field. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 18, 2026
NILFS utilities (nilfs-utils) through version 2.3.0 crash when processing crafted NILFS2 filesystem images due to missing bounds validation on the s_log_block_size superblock field before performing bit-shift operations. Tools including nilfs-tune and dumpseg are affected: an attacker who can persuade a user to process a malicious image can trigger undefined behavior - either oversized shift operations or out-of-memory conditions - resulting in a denial of service via tool crash. No public exploit code has been identified at time of analysis, and this vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.
RemediationAI
Apply the upstream fix available at commit 26efb5daff0757365101035145331b0a5a85d9d9 (https://github.com/nilfs-dev/nilfs-utils/commit/26efb5daff0757365101035145331b0a5a85d9d9), which adds a one-line bounds check - rejecting any superblock where s_log_block_size exceeds 6 - to nilfs_sb_is_valid() in lib/sb.c. A patched tagged release version has not yet been confirmed from the available data; users should build nilfs-utils directly from the post-fix HEAD or monitor the upstream repository (https://github.com/nilfs-dev/nilfs-utils) for a release announcement. As a compensating control, restrict use of nilfs-tune and dumpseg to trusted NILFS2 images only, and avoid automating processing of externally-sourced or untrusted filesystem images until a patched release is available. Automated pipelines that ingest third-party NILFS2 images should be sandboxed (e.g., container or VM isolation) so a tool crash does not propagate to broader system availability.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
NILFS2 is a log-structured filesystem for Linux. The nilfs-utils userspace toolkit provides administrative utilities (nilfs-tune, dumpseg, etc.) that parse the on-disk NILFS2 superblock structure (struct nilfs_super_block). The s_log_block_size field encodes the filesystem block size as a base-2 logarithm offset (block size = 1024 << s_log_block_size). The nilfs_sb_is_valid() function in lib/sb.c is responsible for superblock validation, but prior to commit 26efb5d it failed to check that s_log_block_size was within a valid range before it was used in downstream shift operations. An attacker-supplied value far exceeding the valid range (0-6, yielding 1 KiB-64 KiB block sizes) causes either a shift count that invokes undefined behavior under C standards or allocations sized orders of magnitude beyond available memory. CWE-1284 (Improper Validation of Specified Quantity in Input) precisely identifies the root cause: an integer quantity from external input is used in a sensitive operation (bit shift, memory allocation) without a preceding range check. Affected product confirmed by CPE cpe:2.3:a:nilfs-dev:nilfs-utils:*:*:*:*:*:*:*:*.
Know when Nilfs Utils gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Local attack vector and required user interaction (run tool on crafted image); no privileges needed; crash-only impact with no confidentiality or integrity effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
NILFS utilities through 2.3.0, fixed in commit 26efb5d, nilfs_sb_is_valid() function fails to validate s_log_block_size field in NILFS2 superblock before bit-shift operations. Attackers supplying crafted NILFS2 images trigger undefined behavior through oversized shifts or out-of-memory conditions, crashing tools like nilfs-tune and dumpseg.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Same technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
EUVD-2026-37927
GHSA-f559-vgh2-9hj6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB