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.
[
{
"source": "https://github.com/danbloomberg/leptonica/commit/c1079bb8e77cdd426759e466729917ca37a3ed9f",
"target": {
"file": "prog/htmlviewer.c"
},
"deprecated": false,
"id": "CVE-2018-7247-9a10d3db",
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"86131722677607723836386531335628579842",
"321864641632423368605542367013098034770",
"125405979290422972298820614717049585014",
"63566823817719195583457703102878675001",
"250866039938653795677324993901594496235",
"244251171216041348305455856739691320093",
"247430095452367124053452919071023693657",
"208986908692489209629208892835202775509",
"82185525019101152392144563271275276878",
"217501793217674591336551416808823416899"
]
}
},
{
"source": "https://github.com/danbloomberg/leptonica/commit/c1079bb8e77cdd426759e466729917ca37a3ed9f",
"target": {
"function": "pixHtmlViewer",
"file": "prog/htmlviewer.c"
},
"deprecated": false,
"id": "CVE-2018-7247-fdfb99b6",
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 3985.0,
"function_hash": "285240336880957559950408789745258391992"
}
}
]