An improper computation of ptx0, ptx1, pty0 and pty1 in the function opjgetencoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer overflow.
[
{
"id": "CVE-2018-20847-09c54e44",
"source": "https://github.com/uclouvain/openjpeg/commit/5d00b719f4b93b1445e6fb4c766b9a9883c57949",
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "src/lib/openjp2/pi.c",
"function": "opj_get_all_encoding_parameters"
},
"digest": {
"length": 2597.0,
"function_hash": "163378792543775124696387571498731229941"
},
"deprecated": false
},
{
"id": "CVE-2018-20847-5143d364",
"source": "https://github.com/uclouvain/openjpeg/commit/5d00b719f4b93b1445e6fb4c766b9a9883c57949",
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "src/lib/openjp2/tcd.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"15260350836644213240829099315201793762",
"173443813093649578680407006076703983292",
"54709661076326201330083866866759711426",
"121713522297824452935289107708446190463",
"165168505138123589767261992393647519663",
"46878580236153829076650875780653926826",
"102017304529906639766385571652773303262"
]
},
"deprecated": false
},
{
"id": "CVE-2018-20847-659b2ffd",
"source": "https://github.com/uclouvain/openjpeg/commit/5d00b719f4b93b1445e6fb4c766b9a9883c57949",
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "src/lib/openjp2/pi.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"176615525002015676482656684392522200543",
"43405247619569204100702115459277374226",
"117451511473347492792874953304723327335",
"318359758975478787308868838886806726441",
"100905172399819142807590137543089589464",
"327286993796517583159493696502807280184",
"264804895149057228764343549705254440814"
]
},
"deprecated": false
},
{
"id": "CVE-2018-20847-7bd4fd58",
"source": "https://github.com/uclouvain/openjpeg/commit/5d00b719f4b93b1445e6fb4c766b9a9883c57949",
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "src/lib/openjp2/tcd.c",
"function": "opj_tcd_init_tile"
},
"digest": {
"length": 9025.0,
"function_hash": "170610748971508839838692560277608944310"
},
"deprecated": false
}
]