{"id":"CVE-2025-71473","summary":"lwext4 through 1.0.0 Heap Buffer Overflow via ext4_fs_init_inode_bitmap","details":"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.","modified":"2026-11-20T02:00:08.615949683Z","published":"2026-11-20T00:37:10.179Z","database_specific":{"cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71473.json","cna_assigner":"VulnCheck"},"references":[{"type":"FIX","url":"https://github.com/Aladdin-R-D/lwext4/commit/2f5714d42f729fbdf3e65fd24d57149619fa1f33"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71473.json"},{"type":"PACKAGE","url":"https://github.com/gkostka/lwext4"},{"type":"ARTICLE","url":"https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c#L401-L405"},{"type":"FIX","url":"https://github.com/gkostka/lwext4/commit/b9c842f168e6044bd03fe34e1237eda33c299908"},{"type":"REPORT","url":"https://github.com/gkostka/lwext4/issues/93"},{"type":"FIX","url":"https://github.com/gkostka/lwext4/pull/111"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71473"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/lwext4-through-1.0.0-heap-buffer-overflow-via-ext4-fs-init-inode-bitmap"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gkostka/lwext4","events":[{"introduced":"0"},{"last_affected":"890484c72dbb321535127625c3686e51f1f424b9"},{"fixed":"b9c842f168e6044bd03fe34e1237eda33c299908"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"1.0.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"b9c842f168e6044bd03fe34e1237eda33c299908"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v1.0.0","lwext4-0.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71473.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}