CVE-2026-138370
published medium CVSS 4.0 · 6.9lwext4 through 1.0.0 Out-of-Bounds Write via ext4_fs_mark_bitmap_end
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 write vulnerability in ext4_fs_mark_bitmap_end() in src/ext4_fs.c that allows attackers to corrupt heap memory via a crafted ext4 image. Attackers can supply superblock fields yielding group_blocks above INT_MAX, making start_bit negative and writing hundreds of MiB past the bitmap buffer, crashing the mounting 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.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.1 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/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-787 Out-of-bounds Write
References
5- https://github.com/Aladdin-R-D/lwext4/commit/2760ed20808fd63b0fde9150157531fe8190c0b7
- https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c#L272-L284
- https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c#L338-L372
- https://github.com/gkostka/lwext4/issues/172
- VulnCheck Advisory: lwext4 through 1.0.0 Out-of-Bounds Write via ext4_fs_mark_bitmap_end https://www.vulncheck.com/advisories/lwext4-through-1.0.0-out-of-bounds-write-via-ext4-fs-mark-bitmap-end
Provider assertions
2VulnCheck · cna
lwext4 through 1.0.0 Out-of-Bounds Write via ext4_fs_mark_bitmap_end
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2bb23190c83f508d4f8a3a06544fbdb2ae91aec223953338adebaf58264a6509
- Ingested
- 30 Nov 2026, 18:38:11 UTC
- Source record
- Official CVE record