Lwext4
Monthly
Opening a crafted ext4 filesystem image with lwext4 through 1.0.0 can crash the host application through an out-of-bounds read during directory-index checksum verification. The path is reachable when the image enables the metadata_csum directory-index feature and supplies a dx root count larger than its limit; the vector is local, requires a victim to process the image, and is assessed as denial of service only with no confidentiality, integrity, or code-execution impact. No public exploit was identified at time of analysis, and the issue is a medium-severity denial-of-service condition rather than a high-priority emergency.
An out-of-bounds heap write in lwext4 through 1.0.0 lets a crafted ext4 image corrupt the block-bitmap buffer while the library initializes filesystem metadata, crashing the mounting application and potentially altering in-memory bookkeeping. A local, unauthenticated attacker must first get the victim to mount or parse the malicious image; the assessed impact is availability-high with low integrity impact and no confidentiality impact (CVSS 6.9). No public exploit identified at time of analysis, and the provided priority signals make this a this-month, availability-centric issue rather than an emergency.
Heap memory corruption in lwext4 through 1.0.0 allows an attacker who supplies a crafted ext4 image to drive an out-of-bounds write when the image is mounted or parsed by a victim application built on the library. Crafted superblock fields (blocks count, first_data_block, blocks_per_group) yield a group_blocks value above INT_MAX, which turns start_bit negative inside ext4_fs_mark_bitmap_end() and makes the routine write hundreds of MiB past the block-bitmap buffer, crashing the mounting process and potentially corrupting adjacent heap memory. Exploitation is local and requires passive user interaction - a victim must open the malicious image - so exposure is limited to systems that parse untrusted ext4 images with an unpatched build; no CISA KEV entry and no public exploit code were identified at time of analysis, and the priority is a moderate, defense-in-depth fix rather than an emergency.
lwext4 through version 1.0.0 performs an unchecked division during inode-table initialization when mounting an ext4 image, so a crafted superblock with an inode_size larger than the block size raises SIGFPE and terminates the mounting application. The flaw is a missing validation in ext4_sb_check(), which accepts malformed inode_size and log_block_size values before ext4_fs_init_inode_table() in src/ext4_fs.c uses them in a division. Exploitation is local and requires the victim to mount or parse an attacker-supplied image (per the assessed vector, AV:L/AC:L/PR:N/UI:R, availability-only impact); the result is a crash, not code execution or data exposure, and no public exploit or CISA KEV listing was identified at time of analysis. Upstream fixes are available as commits, and no released patched version was independently confirmed.
Heap-based memory corruption in lwext4 through 1.0.0 is triggered when the library mounts a crafted ext4 image whose superblock declares an s_inodes_per_group value larger than the inode bitmap block can represent, causing the memset in ext4_fs_init_inode_bitmap() (src/ext4_fs.c) to write past a heap buffer sized to block_size. Exploitation is local and requires passive interaction - a user or application must mount the attacker-supplied image (AV:L, UI:P, PR:N) - and the assessed impact is availability-dominant, crashing the mounting application through heap corruption, with only limited integrity impact and no confidentiality impact; there is no remote network trigger. No public exploit code was identified at time of analysis and the issue is not in CISA KEV, but upstream fix code has been merged (PR #111).
Mounting a crafted ext4 image with lwext4 1.0.0 or earlier can drive a heap out-of-bounds write in ext4_fs_init_block_bitmap(), corrupting memory past the block bitmap buffer and crashing the host application (assessed availability impact High, integrity Low, no confidentiality exposure). The trigger is a superblock geometry that passes an oversized s_reserved_gdt_blocks value alongside BLOCK_UNINIT block groups, so the computed bitmap size exceeds the fixed block_size buffer; exploitation requires the target application to actually mount the attacker-supplied image (UI:P / assessed UI:R), which makes locally or removable-media-supplied images the primary exposure. Severity is moderate (CVSS 4.0 6.9; assessed CVSS 3.1 AV:L/AC:L/PR:N/UI:R with A:H), no CISA KEV listing and no public exploit identified at time of analysis, and the priority label is this_month; upstream fix commits are referenced in the advisory.
Out-of-bounds read in lwext4 1.0.0's ext4_ext_binsearch_idx function (src/ext4_extent.c) exposes applications to memory disclosure or process crashes when parsing a specially crafted ext4 filesystem image. Insufficient validation of extent header fields before binary search traversal of the extent index tree allows invalid pointer arithmetic, resulting in reads beyond the allocated buffer boundary. A publicly available exploit exists on GitHub; no CISA KEV listing has been confirmed, but the combination of a network-deliverable attack vector and public POC elevates practical urgency for lwext4 consumers.
Divide-by-zero in lwext4 1.0.0's ext4_block_set_lb_size function (src/ext4_blockdev.c) crashes any application that mounts or processes a crafted ext4 filesystem image with a zero logical block size. The CVSS vector (AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H) confirms the impact is limited to availability - no code execution or data exposure - but the crash is reliable and reproducible. Publicly available exploit code exists demonstrating the issue; no active exploitation has been confirmed by CISA KEV.
Opening a crafted ext4 filesystem image with lwext4 through 1.0.0 can crash the host application through an out-of-bounds read during directory-index checksum verification. The path is reachable when the image enables the metadata_csum directory-index feature and supplies a dx root count larger than its limit; the vector is local, requires a victim to process the image, and is assessed as denial of service only with no confidentiality, integrity, or code-execution impact. No public exploit was identified at time of analysis, and the issue is a medium-severity denial-of-service condition rather than a high-priority emergency.
An out-of-bounds heap write in lwext4 through 1.0.0 lets a crafted ext4 image corrupt the block-bitmap buffer while the library initializes filesystem metadata, crashing the mounting application and potentially altering in-memory bookkeeping. A local, unauthenticated attacker must first get the victim to mount or parse the malicious image; the assessed impact is availability-high with low integrity impact and no confidentiality impact (CVSS 6.9). No public exploit identified at time of analysis, and the provided priority signals make this a this-month, availability-centric issue rather than an emergency.
Heap memory corruption in lwext4 through 1.0.0 allows an attacker who supplies a crafted ext4 image to drive an out-of-bounds write when the image is mounted or parsed by a victim application built on the library. Crafted superblock fields (blocks count, first_data_block, blocks_per_group) yield a group_blocks value above INT_MAX, which turns start_bit negative inside ext4_fs_mark_bitmap_end() and makes the routine write hundreds of MiB past the block-bitmap buffer, crashing the mounting process and potentially corrupting adjacent heap memory. Exploitation is local and requires passive user interaction - a victim must open the malicious image - so exposure is limited to systems that parse untrusted ext4 images with an unpatched build; no CISA KEV entry and no public exploit code were identified at time of analysis, and the priority is a moderate, defense-in-depth fix rather than an emergency.
lwext4 through version 1.0.0 performs an unchecked division during inode-table initialization when mounting an ext4 image, so a crafted superblock with an inode_size larger than the block size raises SIGFPE and terminates the mounting application. The flaw is a missing validation in ext4_sb_check(), which accepts malformed inode_size and log_block_size values before ext4_fs_init_inode_table() in src/ext4_fs.c uses them in a division. Exploitation is local and requires the victim to mount or parse an attacker-supplied image (per the assessed vector, AV:L/AC:L/PR:N/UI:R, availability-only impact); the result is a crash, not code execution or data exposure, and no public exploit or CISA KEV listing was identified at time of analysis. Upstream fixes are available as commits, and no released patched version was independently confirmed.
Heap-based memory corruption in lwext4 through 1.0.0 is triggered when the library mounts a crafted ext4 image whose superblock declares an s_inodes_per_group value larger than the inode bitmap block can represent, causing the memset in ext4_fs_init_inode_bitmap() (src/ext4_fs.c) to write past a heap buffer sized to block_size. Exploitation is local and requires passive interaction - a user or application must mount the attacker-supplied image (AV:L, UI:P, PR:N) - and the assessed impact is availability-dominant, crashing the mounting application through heap corruption, with only limited integrity impact and no confidentiality impact; there is no remote network trigger. No public exploit code was identified at time of analysis and the issue is not in CISA KEV, but upstream fix code has been merged (PR #111).
Mounting a crafted ext4 image with lwext4 1.0.0 or earlier can drive a heap out-of-bounds write in ext4_fs_init_block_bitmap(), corrupting memory past the block bitmap buffer and crashing the host application (assessed availability impact High, integrity Low, no confidentiality exposure). The trigger is a superblock geometry that passes an oversized s_reserved_gdt_blocks value alongside BLOCK_UNINIT block groups, so the computed bitmap size exceeds the fixed block_size buffer; exploitation requires the target application to actually mount the attacker-supplied image (UI:P / assessed UI:R), which makes locally or removable-media-supplied images the primary exposure. Severity is moderate (CVSS 4.0 6.9; assessed CVSS 3.1 AV:L/AC:L/PR:N/UI:R with A:H), no CISA KEV listing and no public exploit identified at time of analysis, and the priority label is this_month; upstream fix commits are referenced in the advisory.
Out-of-bounds read in lwext4 1.0.0's ext4_ext_binsearch_idx function (src/ext4_extent.c) exposes applications to memory disclosure or process crashes when parsing a specially crafted ext4 filesystem image. Insufficient validation of extent header fields before binary search traversal of the extent index tree allows invalid pointer arithmetic, resulting in reads beyond the allocated buffer boundary. A publicly available exploit exists on GitHub; no CISA KEV listing has been confirmed, but the combination of a network-deliverable attack vector and public POC elevates practical urgency for lwext4 consumers.
Divide-by-zero in lwext4 1.0.0's ext4_block_set_lb_size function (src/ext4_blockdev.c) crashes any application that mounts or processes a crafted ext4 filesystem image with a zero logical block size. The CVSS vector (AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H) confirms the impact is limited to availability - no code execution or data exposure - but the crash is reliable and reproducible. Publicly available exploit code exists demonstrating the issue; no active exploitation has been confirmed by CISA KEV.