{"id":"UBUNTU-CVE-2018-7247","details":"An issue was discovered in pixHtmlViewer in prog/htmlviewer.c in Leptonica before 1.75.3. Unsanitized input (rootname) can overflow a buffer, leading potentially to arbitrary code execution or possibly unspecified other impact.","modified":"2026-04-22T12:02:25.842418Z","published":"2018-02-19T18:29:00Z","related":["USN-5143-1"],"upstream":["CVE-2018-7247"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-7247"},{"type":"REPORT","url":"https://github.com/DanBloomberg/leptonica/commit/c1079bb8e77cdd426759e466729917ca37a3ed9f"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5143-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-7247"}],"affected":[{"package":{"name":"leptonlib","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/leptonlib@1.75.3-3ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.75.3-3ubuntu0.1~esm1"}]}],"versions":["1.74.4-1","1.74.4-2","1.75.3-1","1.75.3-2","1.75.3-3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"leptonica-progs","binary_version":"1.75.3-3ubuntu0.1~esm1"},{"binary_name":"liblept5","binary_version":"1.75.3-3ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-7247.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}