CVE-2025-71473: lwext4 Out-of-bounds Write
Published 2026-11-20 · Updated 2026-11-25 · Source disclosure@vulncheck.com
Not known to be exploited · medium severity — apply the vendor fix or mitigation on your normal schedule.
What to do
- The advisory lists versions through 1.0.0 as affected and does not name a fixed release. Check the references below for a newer version of lwext4 or a vendor mitigation.
- Until it is patched, limit who has a local account on systems running lwext4.
- Avoid processing untrusted input with the affected component until it is updated.
- Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| lwext4 | ≤ 1.0.0 | Not stated in the advisory |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
Exploiting it requires local access to the system, or getting a user to open a crafted file; the attacker does not need an account, and a victim has to take an action such as opening a link or file. Attack complexity is low, so a working exploit is expected to be reliable. The impact on availability is rated high, and on integrity low.
| Attack vector | Local | Exploiting it requires local access to the system, or getting a user to open a crafted file. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | Required | A victim has to take an action, such as opening a link or file. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | Low | Partial loss of integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
Weakness: Out-of-bounds Write
The software writes past the end of a buffer, corrupting memory in a way that can crash it or allow code execution.
Classified as CWE-787.
Description
lwext4 through 1.0.0 contains a heap buffer overflow in ext4_fs_init_inode_bitmap() in src/ext4_fs.c because it does not validate s_inodes_per_group against the inode bitmap size. Attackers can supply a crafted ext4 image with an oversized s_inodes_per_group so memset writes past the heap buffer, corrupting memory and crashing the mounting application.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/Aladdin-R-D/lwext4/commit/2f5714d42f729fbdf3e65fd24d57149619fa1f33
- Patchhttps://github.com/gkostka/lwext4/commit/b9c842f168e6044bd03fe34e1237eda33c299908
- Patchhttps://github.com/gkostka/lwext4/pull/111
- Advisoryhttps://www.vulncheck.com/advisories/lwext4-through-1.0.0-heap-buffer-overflow-via-ext4-fs-init-inode-bitmap
- Referencehttps://github.com/gkostka/lwext4
- Referencehttps://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c#L401-L405
- Referencehttps://github.com/gkostka/lwext4/issues/93