Home › Vulnerabilities › gkostka
lwext4 through 1.0.0 flaws let crafted ext4 images corrupt heap memory and crash mounting apps
NVD published two medium-severity (CVSS 6.9) memory-corruption flaws in gkostka lwext4 through 1.0.0. Both can be triggered by a crafted ext4 image that causes out-of-bounds writes, which the records say can crash applications that mount it.
What to look into
- 2 vulnerabilities in gkostka lwext4: 2 medium (CVSS up to 6.9).
- None of them is known to be exploited yet.
- Start with CVE-2025-71474 (6.9 medium): lwext4 through 1.0.0 contains an out-of-bounds write vulnerability in ext4fsinitblockbitmap() that allows attackers to corrupt heap memory via crafted superblock geometry fields. Attackers can supply… An attacker without an account can exploit this with local access if a user views or visits something.
- 0 of 2 can be attacked over the network without logging in.
- Kinds of flaws: Out-of-bounds Write (×2).
Key points
- Two MEDIUM (CVSS 6.9) heap memory-corruption flaws in gkostka lwext4 through 1.0.0
- CVE-2025-71474 is an out-of-bounds write in ext4fsinitblockbitmap() triggered by oversized sreservedgdtblocks and BLOCKUNINIT groups
- CVE-2025-71473 is a heap buffer overflow in ext4fsinitinodebitmap() from an unvalidated sinodespergroup value
- Both are triggered by a crafted ext4 image and the records say they crash the mounting application
- The sources give no fixed version or workaround
What the batch contains
NVD published two vulnerabilities in gkostka lwext4, an ext4 filesystem library, covering all versions through 1.0.0. Both are memory-corruption flaws in the code that initializes filesystem bitmaps, and both are rated MEDIUM with a CVSS score of 6.9.
The flaws
CVE-2025-71474 is an out-of-bounds write in ext4fsinitblockbitmap(). According to the record, an attacker who supplies an ext4 image with oversized sreservedgdtblocks values and BLOCKUNINIT groups can write past the bitmap buffer and corrupt heap memory.
CVE-2025-71473 is a heap buffer overflow in ext4fsinitinodebitmap(), in src/ext4fs.c. The function does not check sinodespergroup against the size of the inode bitmap. A crafted image with an oversized value makes a memset write beyond the heap buffer.
Who is affected
Both records describe the same trigger: a malicious ext4 image that is mounted by an application using lwext4. The records say the result is memory corruption that crashes the mounting application. They do not describe code execution, data theft, or any exploitation in the wild, and they do not name a fixed version or a workaround.
What administrators should do
The sources do not state a patched release, a configuration workaround, or detection guidance. Teams that embed lwext4 should identify where it is used, treat filesystem images from untrusted sources with caution, and watch for vendor or project updates that address these issues.
What to do
- Identify applications that embed or link lwext4 and confirm which versions they use
- Avoid mounting ext4 images from untrusted sources until a fix is available
The 2 vulnerabilities
- CVE-2025-71474 6.9 lwext4 through 1.0.0 contains an out-of-bounds write vulnerability in ext4fsinitblockbitmap() that allows attackers to corrupt heap memory via crafted superblock geometry fields. Attackers can supply an ext4 image with oversized sreservedg…
- CVE-2025-71473 6.9 lwext4 through 1.0.0 contains a heap buffer overflow in ext4fsinitinodebitmap() in src/ext4fs.c because it does not validate sinodespergroup against the inode bitmap size. Attackers can supply a crafted ext4 image with an oversized sinodes…
Frequently asked questions
How many gkostka lwext4 vulnerabilities were published on November 20, 2026?
2 vulnerabilities: 2 medium, with CVSS scores up to 6.9.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2025-71474 (CVSS 6.9): lwext4 through 1.0.0 contains an out-of-bounds write vulnerability in ext4fsinitblockbitmap() that allows attackers to corrupt heap memory via crafted superblock geometry fields. Attackers can supply…