CVE-2026-138368: lwext4 through 1.0.0 Out-of-Bounds Read via ext4_dir_dx_checksum

Published Nov 29, 2026
·
Updated

lwext4 through 1.0.0 contains an out-of-bounds read vulnerability in ext4dirdxchecksum() in src/ext4diridx.c because the dx root count field is never validated against limit. Attackers can supply a crafted ext4 image with metadatacsum and a large HTree count, making crc32c read about 512 KiB past the heap buffer and crash the application.

Affected Software

1 affected component
lwext4 lwext4<=1.0.0

Event History

Nov 29, 2026
CVE Published
via MITRE·01:24 PM
Data Sourced
via MITRE·01:24 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Applications using lwext4 through 1.0.0 that open or process attacker-supplied ext4 filesystem images are exposed. The vulnerable path involves directory indexing checksum handling for images using metadata_csum.

2

What does an attacker need to trigger the flaw?

An attacker needs to provide a crafted ext4 image with metadata_csum enabled and an HTree root containing an excessively large count field. Exploitation requires local access and user interaction, such as causing an application to process the image.

3

What is the likely impact?

The crafted count causes crc32c to read roughly 512 KiB beyond a heap buffer, which can crash the application. The provided severity vector indicates availability impact only, with no stated confidentiality or integrity impact.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203