Out-of-bounds read in NetSurf libnsbmp RLE8 and RLE4 decoders
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-125 and the CVSS impact.
Summary
NetSurf libnsbmp through 0.1.7 has an out-of-bounds read in its RLE8 and RLE4 BMP decoders, where bound checks for absolute runs omit the word alignment pad byte (CWE-125). If a user decodes a crafted RLE8 or RLE4 BMP that ends on an odd-length absolute run, a one-byte heap over-read crashes the application. A public exploit is linked in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for libnsbmp.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Vendor assessments
Timeline
- 2026-10-16 Threatist record created from CVE-2026-111138
- 2026-10-16 Affected versions changed · Red Hat
- 2026-10-16 CVSS score added · Red Hat
References
Other 4
- https://github.com/netsurf-browser/libnsbmp/blob/ea063c9f46acb43e90208da14073332b505ef7e7/src/libnsbmp.c#L942-L982
- https://github.com/netsurf-browser/libnsbmp/blob/ea063c9f46acb43e90208da14073332b505ef7e7/src/libnsbmp.c#L1096-L1147
- https://download.netsurf-browser.org/libs/releases/libnsbmp-0.1.7-src.tar.gz
- https://github.com/netsurf-browser/libnsbmp
More NetSurf vulnerabilities
- TI-2026-74923 Out-of-bounds read in NetSurf libnsbmp via crafted ICO files CVSS 4.0MEDIUM 6.8
Sources
- CVE-2026-111138 · CVE Program
- CVE-2026-111138 · NVD
- FIRST EPSS
- CVE-2026-111138 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences