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().
Published: 2026-10-15
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Information disclosure
Action: Patch Immediately
AI Analysis

Impact

NetSurf libnsbmp in versions up to 0.1.7 contains an out-of-bounds read in the bmp_decode_mask function, which can read one byte beyond the allocated buffer when decoding an ICO image whose inner bitmap width is not a multiple of 8. This heap over-read exposes arbitrary sensitive data that resides adjacent to the buffer and can also lead to a crash. The weakness is classified as CWE‑125. The likely attack vector is a crafted ICO file supplied to an application that uses libnsbmp for image decoding. This could happen when a web browser, image viewer, or other software processes an untrusted image file. While the CVE does not claim remote exploitation, an attacker who can influence the image input can use the over‑read to read confidential memory or cause denial of service by crashing the decoding routine.

Affected Systems

The vulnerable component is NetSurf libnsbmp from the NetSurf project. All versions up to and including 0.1.7 are affected. The CVE references the library source code and the CPE identifier cpe:2.3:a:netsurf-browser:libnsbmp:*:*:*:*:*:*:*:* applies to the affected versions.

Risk and Exploitability

The CVSS score of 6.8 indicates a moderate severity. The EPSS score of <1% shows a very low estimated likelihood of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. The exploit requires supplying a crafted ICO file to the target application; no network-based attack vector is described, so exploitation is likely limited to local or application-level attacks or remote files if the browser accepts untrusted images.

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 the latest release (greater than 0.1.7), which removes the out-of-bounds read in bmp_decode_mask.
  • If an upgrade is not immediately possible, validate ICO images before decoding: reject any file whose inner bitmap width is not a multiple of 8 or enforce strict bounds checking on the image buffer.
  • As a temporary measure, disable or sandbox the processing of ICO files in environments that handle untrusted input, and monitor for abnormal crashes or memory access violations.

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

Mon, 26 Oct 2026 15: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_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().
Title NetSurf libnsbmp through 0.1.7 Out-of-Bounds Read via bmp_decode_mask
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-26T14:04:23.877Z

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

Link: CVE-2026-111139

cve-icon Vulnrichment

Updated: 2026-10-26T14:04:20.252Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-10-26T15:16:37.223

Link: CVE-2026-111139

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T13:30:08Z

Weaknesses