CVE-2026-111138
NetSurf libnsbmp through 0.1.7 Out-of-Bounds Read in RLE8 and RLE4 Decoders
CVSS Score
5.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-125 |
| Vendor | netsurf |
| Product | libnsbmp |
| Published | Oct 15, 2026 |
Stay Ahead of the Next One
Get instant alerts for netsurf libnsbmp
Be the first to know when new medium vulnerabilities affecting netsurf libnsbmp are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
Affected Versions
NetSurf / libnsbmp
0 โค 0.1.7
References
hackmd.io: https://hackmd.io/@haind-pwn/libnsbmp-rle-absolute-pad-and-ico-mask-oob-read github.com: https://github.com/netsurf-browser/libnsbmp/blob/ea063c9f46acb43e90208da14073332b505ef7e7/src/libnsbmp.c#L942-L982 github.com: https://github.com/netsurf-browser/libnsbmp/blob/ea063c9f46acb43e90208da14073332b505ef7e7/src/libnsbmp.c#L1096-L1147 download.netsurf-browser.org: https://download.netsurf-browser.org/libs/releases/libnsbmp-0.1.7-src.tar.gz github.com: https://github.com/netsurf-browser/libnsbmp vulncheck.com: https://www.vulncheck.com/advisories/netsurf-libnsbmp-through-0.1.7-out-of-bounds-read-in-rle8-and-rle4-decoders
Credits
HaiND from the Post and Telecommunication Institute of Technology