# CVE-2024-4420: Denial of Service in Tink-cc

- Severity: Medium 6.8 (CVSS:4.0, scored by Google) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/S:N/AU:Y/V:D/RE:L/U:Green`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-05-21T11:52:28.398Z
- Modified: 2026-06-17T08:01:50.720Z
- Weaknesses: CWE-116
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Google

## Description

There exists a Denial of service vulnerability in Tink-cc in versions prior to 2.1.3.   *  An adversary can crash binaries using the crypto::tink::JsonKeysetReader in tink-cc by providing an input that is not an encoded JSON object, but still a valid encoded JSON element, for example a number or an array. This will crash as Tink just assumes any valid JSON input will contain an object.


  *  An adversary can crash binaries using the crypto::tink::JsonKeysetReader in tink-cc by providing an input containing many nested JSON objects. This may result in a stack overflow.


We recommend upgrading to version 2.1.3 or above

(As written by CVE List.)

## Affected

- Tink-cc: from 2.0.0 before 2.1.3
- Tink-crypto (legacy): up to 1.7.0
- google tink_c++: before 2.1.3

## Every score

- Google: CVSS:4.0 6.8 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/S:N/AU:Y/V:D/RE:L/U:Green`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/tink-crypto/tink-cc/issues/4> (issue-tracking, patch, third-party-advisory)

## Sources

- CVE List: [CVE-2024-4420](https://www.cve.org/CVERecord?id=CVE-2024-4420), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-4420](https://nvd.nist.gov/vuln/detail/CVE-2024-4420), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-4420 · Whole record: https://cve.day/CVE-2024-4420.json · Rebuilt by cve.day 2026-11-25T22:58:40.687Z
