{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-137063", "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10", "state": "PUBLISHED", "assignerShortName": "VulnCheck", "dateReserved": "2026-11-25T17:56:23.564Z", "datePublished": "2026-11-25T19:33:13.752Z", "dateUpdated": "2026-11-25T19:33:13.752Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10", "shortName": "VulnCheck", "dateUpdated": "2026-11-25T19:33:13.752Z" }, "datePublic": "2026-11-20T00:00:00.000Z", "title": "Leptonica 1.79.0 through 1.87.0 Heap Buffer Overflow via l_byteaInitFromStream()", "descriptions": [ { "lang": "en", "value": "Leptonica 1.79.0 through 1.87.0 contains a heap-based buffer overflow vulnerability in l_byteaInitFromStream() that allows attackers to write past a heap buffer by supplying oversized input. Attackers can provide a file larger than 1,000,000,000 bytes, causing l_byteaCreate() to allocate a 201-byte buffer before memcpy copies the full stream size, crashing the application." } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "description": "Heap-based Buffer Overflow", "cweId": "CWE-122", "type": "CWE" } ] } ], "affected": [ { "vendor": "Leptonica", "product": "Leptonica", "defaultStatus": "unaffected", "versions": [ { "version": "1.79.0", "lessThanOrEqual": "1.87.0", "versionType": "semver", "status": "affected" } ], "packageURL": "pkg:github/DanBloomberg/leptonica", "repo": "https://github.com/DanBloomberg/leptonica" } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:leptonica:leptonica:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.79.0", "versionEndIncluding": "1.87.0" } ] } ] } ], "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://github.com/DanBloomberg/leptonica/commit/c493a776e6bc6cfb1d8d15152a0b74f3d15b33fd", "tags": [ "patch" ] }, { "url": "https://github.com/DanBloomberg/leptonica/blob/1.87.0/src/bytearray.c#L177-L197", "tags": [ "technical-description" ] }, { "url": "https://www.vulncheck.com/advisories/leptonica-1.79.0-through-1.87.0-heap-buffer-overflow-via-l-byteainitfromstream", "name": "VulnCheck Advisory: Leptonica 1.79.0 through 1.87.0 Heap Buffer Overflow via l_byteaInitFromStream()", "tags": [ "third-party-advisory" ] } ], "credits": [ { "lang": "en", "value": "Deus Rex", "type": "finder" } ], "x_generator": { "engine": "vulncheck-endgame" } } } }