{"id":"JLSEC-2026-2354","summary":"Leptonica 1.79.0 through 1.87.0 contains a heap-based buffer overflow vulnerability in...","details":"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.","modified":"2026-12-03T16:58:34.899446964Z","published":"2026-12-03T16:31:40.608Z","upstream":["CVE-2026-137063","EUVD-2026-135705","GHSA-4g5v-hgh8-49r5"],"database_specific":{"license":"CC-BY-4.0","sources":[{"database_specific":{"status":"Received"},"id":"CVE-2026-137063","imported":"2026-12-03T14:18:28.258Z","modified":"2026-11-30T20:17:49.910Z","published":"2026-11-25T20:18:40.807Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-137063","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137063"},{"imported":"2026-12-03T14:18:28.105Z","modified":"2026-11-25T21:30:48Z","published":"2026-11-25T21:30:37Z","url":"https://api.github.com/advisories/GHSA-4g5v-hgh8-49r5","html_url":"https://github.com/advisories/GHSA-4g5v-hgh8-49r5","id":"GHSA-4g5v-hgh8-49r5"},{"url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-135705","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-135705","affected":{"Leptonica:Leptonica":["1.79.0 ≤1.87.0"]},"id":"EUVD-2026-135705","imported":"2026-12-03T14:18:27.766Z","modified":"2026-11-30T19:45:56Z","published":"2026-11-25T19:33:13Z"}]},"references":[{"type":"WEB","url":"https://github.com/DanBloomberg/leptonica/blob/1.87.0/src/bytearray.c#L177-L197"},{"type":"WEB","url":"https://github.com/DanBloomberg/leptonica/commit/c493a776e6bc6cfb1d8d15152a0b74f3d15b33fd"},{"type":"WEB","url":"https://github.com/advisories/GHSA-4g5v-hgh8-49r5"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137063"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/leptonica-1.79.0-through-1.87.0-heap-buffer-overflow-via-l-byteainitfromstream"}],"affected":[{"package":{"name":"Leptonica_jll","ecosystem":"Julia","purl":"pkg:julia/Leptonica_jll?uuid=6a1430e4-294a-53a5-a485-ec66ef6b843c"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.79.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-2354.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"CNA"},{"type":"CVSS_V4","score":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"CNA"}]}