{"schemaVersion":3,"id":"CVE-2022-39829","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"There is a NULL pointer dereference in aes256_encrypt in Samsung mTower through 0.3.0 due to a missing check on the return value of EVP_CIPHER_CTX_new.","dates":{"published":"2022-09-05T03:43:20.000Z","modified":"2024-08-03T12:07:43.008Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01341,"percentile":0.70895,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.032000000000000084,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01309},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01341,"percentile":0.70895}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01341,"percentile":0.70895}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_SAMSUNG_MTOWER","name":"Mtower","source":"github","url":"https://github.com/Samsung/mTower/blob/18f4b592a8a973ce5972f4e2658ea0f6e3686284/tee/lib/libutee/tee_api_objects.c#L283","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-476","name":"NULL Pointer Dereference","description":"The product dereferences a pointer that it expects to be valid but is NULL.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/476.html"}],"affected":[{"vendor":"samsung","product":"mtower","name":"mtower","label":"mtower","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 0.3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.3.0","eol":null,"hubHref":"/vendor/samsung/mtower"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.openssl.org/docs/manmaster/man3/EVP_CIPHER_CTX_new.html","label":"www.openssl.org/docs/manmaster/man3/EVP_CIPHER_CTX_new.html","hostname":"www.openssl.org","tags":["X Refsource MISC","Third Party Advisory"]},{"url":"https://github.com/Samsung/mTower/issues/75","label":"github.com/Samsung/mTower/issues/75","hostname":"github.com","tags":["X Refsource MISC","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/Samsung/mTower/blob/18f4b592a8a973ce5972f4e2658ea0f6e3686284/tools/ecdsa_keygen.c#L135","label":"github.com/Samsung/mTower/blob/18f4b592a8a973ce5972f4e2658ea0f6e3686284/tools/ecdsa_keygen.c","hostname":"github.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-09-05T03:43:20.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T12:07:43.008Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T22:43:09.271Z","stale":false,"partial":false}}