{"id":"CVE-2026-137063","aliases":["CVE-2026-137063"],"related":[],"kind":"vulnerability","state":"published","title":"Leptonica 1.79.0 through 1.87.0 Heap Buffer Overflow via l_byteaInitFromStream()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-25T19:33:13.752Z","modified":"2026-11-30T20:17:49.910Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6.8,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-122"],"affected":[{"ranges":[{"type":"semver","introduced":"1.79.0","lastAffected":"1.87.0","status":"affected"}],"vendor":"Leptonica","product":"Leptonica","repo":"https://github.com/DanBloomberg/leptonica","source":"cvelist"}],"references":[{"url":"https://github.com/DanBloomberg/leptonica/commit/c493a776e6bc6cfb1d8d15152a0b74f3d15b33fd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/DanBloomberg/leptonica/blob/1.87.0/src/bytearray.c#L177-L197","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/leptonica-1.79.0-through-1.87.0-heap-buffer-overflow-via-l-byteainitfromstream","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Deus Rex"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-30T19:45:41.333Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-137063","url":"https://www.cve.org/CVERecord?id=CVE-2026-137063","licence":"CVE Terms of Use","modified":"2026-11-30T19:45:56.004Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-137063","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137063","licence":"Public domain","modified":"2026-11-30T20:17:49.910Z"}],"updatedAt":"2026-11-30T20:32:14.188Z","epss":{"score":0.00233,"percentile":0.15169,"date":"2026-12-01T12:00:22.000Z"}}