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.
Published: 2026-10-15
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Out-of-bounds read leading to application crashes
Action: Patch
AI Analysis

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.

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

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 yet.

History

Thu, 15 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 15 Oct 2026 19:00:00 +0000

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'}


Subscriptions

Netsurf-browser Libnsbmp
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-15T19:44:28.460Z

Reserved: 2026-10-15T17:03:55.771Z

Link: CVE-2026-111138

cve-icon Vulnrichment

Updated: 2026-10-15T19:44:22.990Z

cve-icon NVD

Status : Deferred

Published: 2026-10-15T19:17:27.840

Modified: 2026-10-16T18:25:45.343

Link: CVE-2026-111138

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T16:15:11Z

Weaknesses