CVE-2026-138368: gkostka lwext4 Out-of-Bounds

CVE-2026-138368

NVD

Vulnerability Summary

lwext4 through 1.0.0 contains an out-of-bounds read vulnerability in ext4_dir_dx_checksum() in src/ext4_dir_idx.c because the dx root count field is never validated against limit. Attackers can supply a crafted ext4 image with metadata_csum and a large HTree count, making crc32c read about 512 KiB past the heap buffer and crash the application.
Severity Level
MEDIUM(6.8)
Published Date
Nov 29, 2026
Last Modified
Nov 29, 2026
Exploitation Status
No confirmed exploitation yet
Root Weakness (CWE)
The software reads data past the end, or before the beginning, of the intended buffer.
CVSS v4.0 Base Metrics — Score 6.8 (MEDIUM)
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Attack VectorLocal
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionPassive
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 5.5)
CVSS v3.1 Base Metrics — Score 5.5 (MEDIUM)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • gkostka lwext4 <= 1.0.0
Patched Versions
  • gkostka lwext4 1.0.0

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run gkostka lwext4 and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 29, 2026Published
  • Nov 29, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new gkostka lwext4 CVEsYou are reading CVE-2026-138368. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 29, 2026 22:08 UTC