CVE-2026-138370

Source
https://cve.org/CVERecord?id=CVE-2026-138370
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138370.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138370
Published
2026-11-29T13:24:26Z
Modified
2026-11-30T21:00:26Z
Severity
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
lwext4 through 1.0.0 Out-of-Bounds Write via ext4_fs_mark_bitmap_end
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-787"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138370.json"
}
References

Affected packages

Git / github.com/aladdin-r-d/lwext4

Affected ranges

Type
GIT
Repo
https://github.com/aladdin-r-d/lwext4
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "fixed":  "2760ed20808fd63b0fde9150157531fe8190c0b7"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}
Type
GIT
Repo
https://github.com/gkostka/lwext4
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "1.0.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "4"
                },
                {
                    "last_affected":  "1.0.0"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}

Affected versions

lwext4-0.*
lwext4-0.8.0
v1.*
v1.0.0
v1.0.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138370.json"