- Home
- Vulnerabilities
- CVE-2026-111139
CVE-2026-111139
NetSurf libnsbmp through 0.1.7 Out-of-Bounds Read via bmp_decode_mask
Low
28/100
Summary
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().
Affected products and versions
NetSurf (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| libnsbmp | up to 0.1.7 (included) |
— | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
Exploit reported by sources
These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.
Timeline
- — CVE published (cve)
References
- https://hackmd.io/@haind-pwn/libnsbmp-rle-absolute-pad-and-ico-mask-oob-readtechnical-description, exploit
- https://github.com/netsurf-browser/libnsbmp/blob/ea063c9f46acb43e90208da14073332b505ef7e7/src/libnsbmp.c#L835-L873technical-description
- https://download.netsurf-browser.org/libs/releases/libnsbmp-0.1.7-src.tar.gzproduct
- https://github.com/netsurf-browser/libnsbmpproduct
- https://www.vulncheck.com/advisories/netsurf-libnsbmp-through-0.1.7-out-of-bounds-read-via-bmp-decode-maskthird-party-advisory
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H(CVSS 3.1, NVD)- Weakness
- CWE-125 · Corruption mémoire