{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-111139",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-10-15T17:03:56.133Z",
        "datePublished": "2026-10-15T18:57:31.959Z",
        "dateUpdated": "2026-10-15T18:57:31.959Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-10-15T18:57:31.959Z"
            },
            "datePublic": "2026-10-15T00:00:00.000Z",
            "title": "NetSurf libnsbmp through 0.1.7 Out-of-Bounds Read via bmp_decode_mask",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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()."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Out-of-bounds Read",
                            "cweId": "CWE-125",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "NetSurf",
                    "product": "libnsbmp",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "0",
                            "lessThanOrEqual": "0.1.7",
                            "status": "affected",
                            "versionType": "custom"
                        }
                    ],
                    "collectionURL": "https://github.com/netsurf-browser/libnsbmp",
                    "packageURL": "pkg:github/netsurf-browser/libnsbmp",
                    "repo": "https://github.com/netsurf-browser/libnsbmp"
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:netsurf-browser:libnsbmp:*:*:*:*:*:*:*:*",
                                    "versionEndIncluding": "0.1.7"
                                }
                            ]
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV4_0": {
                        "version": "4.0",
                        "vectorString": "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",
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "PASSIVE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 6.8,
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "REQUIRED",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "availabilityImpact": "HIGH",
                        "baseScore": 5.5,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://hackmd.io/@haind-pwn/libnsbmp-rle-absolute-pad-and-ico-mask-oob-read",
                    "tags": [
                        "technical-description",
                        "exploit"
                    ]
                },
                {
                    "url": "https://github.com/netsurf-browser/libnsbmp/blob/ea063c9f46acb43e90208da14073332b505ef7e7/src/libnsbmp.c#L835-L873",
                    "tags": [
                        "technical-description"
                    ]
                },
                {
                    "url": "https://download.netsurf-browser.org/libs/releases/libnsbmp-0.1.7-src.tar.gz",
                    "tags": [
                        "product"
                    ]
                },
                {
                    "url": "https://github.com/netsurf-browser/libnsbmp",
                    "tags": [
                        "product"
                    ]
                },
                {
                    "name": "VulnCheck Advisory: NetSurf libnsbmp through 0.1.7 Out-of-Bounds Read via bmp_decode_mask",
                    "tags": [
                        "third-party-advisory"
                    ],
                    "url": "https://www.vulncheck.com/advisories/netsurf-libnsbmp-through-0.1.7-out-of-bounds-read-via-bmp-decode-mask"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "HaiND from the Post and Telecommunication Institute of Technology",
                    "type": "finder"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        }
    }
}