{"id":"CVE-2026-111138","aliases":["CVE-2026-111138"],"related":[],"kind":"vulnerability","state":"published","title":"NetSurf libnsbmp through 0.1.7 Out-of-Bounds Read in RLE8 and RLE4 Decoders","summary":"NetSurf libnsbmp through 0.1.7 contains an out-of-bounds read vulnerability in bmp_decode_rle8() and bmp_decode_rle4() because absolute-run bound checks omit the word-alignment pad byte. Attackers can supply a crafted RLE8 or RLE4 BMP ending on an odd-length absolute run to cause a one-byte heap over-read, crashing applications decoding untrusted images.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"NetSurf libnsbmp through 0.1.7 contains an out-of-bounds read vulnerability in bmp_decode_rle8() and bmp_decode_rle4() because absolute-run bound checks omit the word-alignment pad byte. Attackers can supply a crafted RLE8 or RLE4 BMP ending on an odd-length absolute run to cause a one-byte heap over-read, crashing applications decoding untrusted images.","source":"cvelist"}],"published":"2026-10-15T18:57:31.267Z","modified":"2026-10-16T18:25:45.343Z","severity":{"scorer":"VulnCheck","scheme":"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,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"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,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"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,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"0.1.7","status":"affected"}],"vendor":"NetSurf","product":"libnsbmp","repo":"https://github.com/netsurf-browser/libnsbmp","source":"cvelist"}],"references":[{"url":"https://hackmd.io/@haind-pwn/libnsbmp-rle-absolute-pad-and-ico-mask-oob-read","tags":["exploit","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/netsurf-browser/libnsbmp/blob/ea063c9f46acb43e90208da14073332b505ef7e7/src/libnsbmp.c#L942-L982","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/netsurf-browser/libnsbmp/blob/ea063c9f46acb43e90208da14073332b505ef7e7/src/libnsbmp.c#L1096-L1147","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://download.netsurf-browser.org/libs/releases/libnsbmp-0.1.7-src.tar.gz","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/netsurf-browser/libnsbmp","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/netsurf-libnsbmp-through-0.1.7-out-of-bounds-read-in-rle8-and-rle4-decoders","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["HaiND from the Post and Telecommunication Institute of Technology"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-10-15T19:44:18.693Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-111138","url":"https://www.cve.org/CVERecord?id=CVE-2026-111138","licence":"CVE Terms of Use","modified":"2026-10-15T19:44:28.460Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-111138","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111138","licence":"Public domain","modified":"2026-10-16T18:25:45.343Z"}],"updatedAt":"2026-11-25T22:59:44.933Z","epss":{"score":0.00128,"percentile":0.02644,"date":"2026-12-01T12:00:22.000Z"}}