An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/pkcs15-prkey.c has an incorrect free operation in scpkcs15decodeprkdfentry.
[ { "source": "https://github.com/opensc/opensc/commit/6ce6152284c47ba9b1d4fe8ff9d2e6a3f5ee02c7", "signature_version": "v1", "target": { "file": "src/libopensc/pkcs15-prkey.c", "function": "sc_pkcs15_decode_prkdf_entry" }, "digest": { "length": 6121.0, "function_hash": "162047458889155774187317401183520961497" }, "deprecated": false, "signature_type": "Function", "id": "CVE-2019-19480-37105d14" }, { "source": "https://github.com/opensc/opensc/commit/6ce6152284c47ba9b1d4fe8ff9d2e6a3f5ee02c7", "signature_version": "v1", "target": { "file": "src/libopensc/pkcs15-prkey.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "160542685908272291460930655417632752501", "3366154941826393126590499296759204611", "251521466629396975558003379503376779544", "198535845630281139726904303748511241928", "302611518481914155035091659091628638784", "223299698967060821071255394104689711519", "48728338035194072931138701102656839868" ] }, "deprecated": false, "signature_type": "Line", "id": "CVE-2019-19480-d9c1ea8b" } ]