{"id":"CVE-2026-137063","aliases":[],"title":"Leptonica 1.79.0 through 1.87.0 Heap Buffer Overflow via l_byteaInitFromStream()","originalDescription":"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.","severity":{"cvss":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","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.00233,"percentile":0.08517},"exploitDb":null},"affected":[],"references":[{"url":"https://github.com/DanBloomberg/leptonica/commit/c493a776e6bc6cfb1d8d15152a0b74f3d15b33fd","type":"patch"},{"url":"https://github.com/DanBloomberg/leptonica/blob/1.87.0/src/bytearray.c#L177-L197","type":"technical-description"},{"url":"https://www.vulncheck.com/advisories/leptonica-1.79.0-through-1.87.0-heap-buffer-overflow-via-l-byteainitfromstream","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137063.json","type":"advisory"},{"url":"https://github.com/DanBloomberg/leptonica","type":"package"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137063","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-25T20:25:28.901Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137063","license":"NVD terms of use","firstSeenAt":"2026-11-25T20:25:28.901Z"},{"name":"osv","at":"2026-11-26T21:45:23.940Z","url":"https://osv.dev/vulnerability/CVE-2026-137063","license":"CC-BY 4.0","firstSeenAt":"2026-11-25T21:33:06.515Z"},{"name":"cvelistV5","at":"2026-11-28T22:07:52.968Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-137063","license":"CVE Terms of Use","firstSeenAt":"2026-11-25T19:49:54.965Z"}],"firstSeenAt":"2026-11-25T19:49:54.965Z","publishedAt":"2026-11-25T19:33:13.752Z","modifiedAt":"2026-11-26T21:02:14.488Z"}