CVE-2026-111138

NetSurf libnsbmp through 0.1.7 Out-of-Bounds Read in RLE8 and RLE4 Decoders

Published Oct 15, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability resides in the bmp_decode_rle8() and bmp_decode_rle4() functions of NetSurf libnsbmp up to version 0.1.7. The bug arises because absolute‑run bound checks omit the word‑alignment pad byte, allowing an attacker supplied BMP file with an odd‑length absolute run to trigger a one‑byte heap over‑read. This out‑of‑bounds read can corrupt memory, lead to a crash, or potentially enable further exploitation if an attacker can control the surrounding memory.

Affected Systems

Affected systems include any deployment of the NetSurf Linux browser distribution or applications that embed the libnsbmp library version 0.1.7 or earlier. The CNA lists the vendor as NetSurf and the product as libnsbmp; the fix is available in the 0.1.8 release. Systems that rely on older releases remain vulnerable until the library is updated.

Risk and Exploitability

The CVSS score of 6.8 suggests a moderate severity with limited impact on confidentiality or integrity, but the risk is elevated by the fact that any application that decodes untrusted BMP images can be brought down. The EPSS score of less than 1% indicates that exploitation is currently rare, and the vulnerability is not present in the CISA KEV catalog, reducing the likelihood of organized attacks. However, the crash effect may be sufficient for denial‑of‑service attacks or as a foothold if combined with other weaknesses. The most probable attack vector is the injection of a crafted BMP file to a vulnerable application that processes images from untrusted sources.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libnsbmp to version 0.1.8 or later.
  • Rebuild the library from the latest source repository to apply the boundary‑check fix.
  • Temporarily disable loading of BMP images that use RLE8 or RLE4 encoding until a patched library is deployed.

Generated by OpenCVE AI on October 16, 2026 at 16:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title NetSurf libnsbmp through 0.1.7 Out-of-Bounds Read in RLE8 and RLE4 Decoders
First Time appeared Netsurf-browser
Netsurf-browser libnsbmp
Weaknesses CWE-125
CPEs cpe:2.3:a:netsurf-browser:libnsbmp:*:*:*:*:*:*:*:*
Vendors & Products Netsurf-browser
Netsurf-browser libnsbmp
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.8, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 15, 2026, 7:44 PM
Reserved
Oct 15, 2026, 5:03 PM
Status
Deferred
Published
Oct 15, 2026, 7:17 PM
Modified
Oct 16, 2026, 6:25 PM