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

Medium 6.8 Published Updated

Attackers can crash applications by supplying crafted BMP images to the libnsbmp library, causing a one-byte heap over-read in RLE decoders.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-111138?

CVE-2026-111138 is a medium-severity memory corruption vulnerability in NetSurf libnsbmp, published on 15 Oct 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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

Weakness: CWE-125

Which versions are affected by CVE-2026-111138?

How do I fix CVE-2026-111138?

No fix has been published for CVE-2026-111138 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-111138 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-111138 exists.

Sources

Also known as GHSA-2rgc-q6cr-f7qj, UBUNTU-CVE-2026-111138.

Is CVE-2026-111138 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free