{"id":"CVE-2026-111139","revision":"70e081fc459646b8abf06c381064b577","records":[{"revision":"70e081fc459646b8abf06c381064b577","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-111139","aliases":[],"title":"NetSurf libnsbmp through 0.1.7 Out-of-Bounds Read via bmp_decode_mask","description":"NetSurf libnsbmp through 0.1.7 contains an out-of-bounds read vulnerability in bmp_decode_mask() that allows attackers to read one byte past the image buffer by supplying crafted ICO files. Attackers can provide an ICO whose inner bitmap width is not a multiple of 8, causing a heap over-read that can crash applications calling bmp_decode().","state":0,"publishedAt":"2026-10-15T18:57:31.959+00:00","modifiedAt":"2026-10-15T18:57:31.959+00:00","affected":[{"ecosystem":"https://github.com/netsurf-browser/libnsbmp","name":"libnsbmp","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"NetSurf\",\n                    \"product\": \"libnsbmp\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"0.1.7\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"custom\"\n                        }\n                    ],\n                    \"collectionURL\": \"https://github.com/netsurf-browser/libnsbmp\",\n                    \"packageURL\": \"pkg:github/netsurf-browser/libnsbmp\",\n                    \"repo\": \"https://github.com/netsurf-browser/libnsbmp\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":6.8,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"severity":"MEDIUM"}],"references":["https://hackmd.io/@haind-pwn/libnsbmp-rle-absolute-pad-and-ico-mask-oob-read","https://github.com/netsurf-browser/libnsbmp/blob/ea063c9f46acb43e90208da14073332b505ef7e7/src/libnsbmp.c#L835-L873","https://download.netsurf-browser.org/libs/releases/libnsbmp-0.1.7-src.tar.gz","https://github.com/netsurf-browser/libnsbmp","https://www.vulncheck.com/advisories/netsurf-libnsbmp-through-0.1.7-out-of-bounds-read-via-bmp-decode-mask"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-111139","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-111139","identifiers":["CVE-2026-111139"]},"retained":false,"historicalAffected":[]}],"coverage":[]}