CVE-2026-138368
published medium CVSS 4.0 · 6.8lwext4 through 1.0.0 Out-of-Bounds Read via ext4_dir_dx_checksum
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gkostka | — | lwext40 through 1.0.0 · Other versions: unaffected | Affected | Not stated | VulnCheck |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gkostka | lwext4 | 0 through 1.0.0 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-125 Out-of-bounds Read
References
5- https://github.com/Aladdin-R-D/lwext4/commit/2760ed20808fd63b0fde9150157531fe8190c0b7
- https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_dir_idx.c#L212-L240
- https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_dir_idx.c#L281-L311
- https://github.com/gkostka/lwext4/issues/169
- VulnCheck Advisory: lwext4 through 1.0.0 Out-of-Bounds Read via ext4_dir_dx_checksum https://www.vulncheck.com/advisories/lwext4-through-1.0.0-out-of-bounds-read-via-ext4-dir-dx-checksum
Provider assertions
1VulnCheck · cna
lwext4 through 1.0.0 Out-of-Bounds Read via ext4_dir_dx_checksum
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ca07db99d01a108934415c63b389f9693e040f1f65c34d3230dd864e88f75de2
- Ingested
- 29 Nov 2026, 13:25:53 UTC
- Source record
- Official CVE record