OpenSC before 0.20.0 has a double free in coolkeyfreeprivatedata because coolkeyadd_object in libopensc/card-coolkey.c lacks a uniqueness check.
[
{
"signature_version": "v1",
"target": {
"function": "LLVMFuzzerTestOneInput",
"file": "src/tests/fuzzing/fuzz_pkcs15_reader.c"
},
"digest": {
"length": 2619.0,
"function_hash": "293648382138511495160968861622353662031"
},
"source": "https://github.com/opensc/opensc/commit/45e29056ccde422e70ed3585084a7f150c632515",
"signature_type": "Function",
"id": "CVE-2019-20792-0e4109b3",
"deprecated": false
},
{
"signature_version": "v1",
"target": {
"file": "src/libopensc/card-coolkey.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"230985030794508757992760968719559967350",
"310435344726459438381937301013045244530",
"288673917574911987998876666203952460375"
]
},
"source": "https://github.com/opensc/opensc/commit/c246f6f69a749d4f68626b40795a4f69168008f4",
"signature_type": "Line",
"id": "CVE-2019-20792-3c6d3c4a",
"deprecated": false
},
{
"signature_version": "v1",
"target": {
"file": "src/tests/fuzzing/fuzz_pkcs15_reader.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"194062470009936436447945246988331101219",
"251408580405775135383116960595976968951",
"284045830406911495116073497720354821007",
"270953615497185537070235313685442968422",
"20393014985081258602878277868967455511",
"91070933187673124866303201171236791528",
"240044258610078274294209636274322753269",
"302641261595298239604372272751171178922"
]
},
"source": "https://github.com/opensc/opensc/commit/45e29056ccde422e70ed3585084a7f150c632515",
"signature_type": "Line",
"id": "CVE-2019-20792-775a11f1",
"deprecated": false
},
{
"signature_version": "v1",
"target": {
"function": "coolkey_add_object",
"file": "src/libopensc/card-coolkey.c"
},
"digest": {
"length": 716.0,
"function_hash": "81983556100758335818887154183925867305"
},
"source": "https://github.com/opensc/opensc/commit/c246f6f69a749d4f68626b40795a4f69168008f4",
"signature_type": "Function",
"id": "CVE-2019-20792-f5fba478",
"deprecated": false
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-20792.json"