CVE-2026-111139
NetSurf libnsbmp through 0.1.7 Out-of-Bounds Read via bmp_decode_mask
- State
- Published
- Severity
- 6.8 Medium
- Published
- Oct 15, 2026
- Updated
- Oct 26, 2026
- Reserved
- Oct 15, 2026
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().
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.8 Medium | 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 | VulnCheck |
| 3.1 | 5.5 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | VulnCheck |
Weaknesses
- CWE-125 Out-of-bounds Read
Affected Products
| Product | Versions |
|---|---|
libnsbmpNetSurf |
|
References
- https://hackmd.io/@haind-pwn/libnsbmp-rle-absolute-pad-and-ico-mask-oob-readtechnical-descriptionexploit
- 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
- VulnCheck Advisory: NetSurf libnsbmp through 0.1.7 Out-of-Bounds Read via bmp_decode_maskthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.