Skip to main content

NILFS Utils CVE-2026-55392

| EUVDEUVD-2026-37927 MEDIUM
Improper Validation of Specified Quantity in Input (CWE-1284)
2026-06-18 VulnCheck GHSA-f559-vgh2-9hj6
6.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft NILFS2 image with oversized s_log_block_size
  2. Delivery
    Deliver malicious image to target user
  3. Exploit
    User runs nilfs-tune or dumpseg on image
  4. Execution
    Unvalidated shift/allocation triggers undefined behavior
  5. Impact
    Tool 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

nilfs-utils 0 ≤2.3.0

Affected Packages

euvd nilfs_utils no fix

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

Vendor (VulnCheck) PRIMARY 6.7 MEDIUM
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
vuln.today AI 5.5 MEDIUM

Local attack vector and required user interaction (run tool on crafted image); no privileges needed; crash-only impact with no confidentiality or integrity effect.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 5.5 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.1%
Top 99% exploitable
Data Quality
9 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy