In libpng 1.6.34, a wrong calculation of rowfactor in the pngcheckchunklength function (pngrutil.c) may trigger an integer overflow and resultant divide-by-zero while processing a crafted PNG file, leading to a denial of service.
[
{
"id": "CVE-2018-13785-a84a3113",
"source": "https://github.com/pnggroup/libpng/commit/8a05766cb74af05c04c53e6c9d60c13fc4d59bf2",
"digest": {
"length": 987.0,
"function_hash": "282460725215391584583494778972512461376"
},
"target": {
"file": "pngrutil.c",
"function": "png_check_chunk_length"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function"
},
{
"id": "CVE-2018-13785-f0bc505a",
"source": "https://github.com/pnggroup/libpng/commit/8a05766cb74af05c04c53e6c9d60c13fc4d59bf2",
"digest": {
"line_hashes": [
"107966026133260924818778745914586419456",
"256164953430444557586735334527917876014",
"73440847196266064536662526583930052559",
"135968293059614300638946458008389177687",
"325492539394967073006475273665072020765",
"106295171231175941086144928405087290842",
"18891773824478661748387439301515208175"
],
"threshold": 0.9
},
"target": {
"file": "pngrutil.c"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line"
}
]