{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-20840","published":"2019-05-30T16:29:01.323000Z","last_modified":"2026-06-17T01:53:34.400000Z","status":"Modified","cvss":{"version":"3.0","score":8.6,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-754"],"cpes":[{"criteria":"cpe:2.3:a:google:api_c\\+\\+_client:*:*:*:*:*:*:*:*","part":"a","vendor":"google","product":"api_c++_client","version_end_excluding":"2019-04-10"}],"cpes_truncated":false,"vendors":["google"],"products":["google/api_c-_client"],"epss":{"score":0.00651,"percentile":0.4596,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":67,"links":{"html_es":"/es/cve/CVE-2018-20840/","html_en":"/en/cve/CVE-2018-20840/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-20840","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-20840"},"untrusted":{"vendor_name":"Google","product_name":"Api C++ Client","desc_en":"An unhandled exception vulnerability exists during Google Sign-In with Google API C++ Client before 2019-04-10. It potentially causes an outage of third-party services that were not designed to recover from exceptions. On the client, ID token handling can cause an unhandled exception because of misinterpretation of an integer as a string, resulting in denial-of-service and then other users can no longer login/sign-in to the affected third-party service. Once this third-party service uses Google Sign-In with google-api-cpp-client, a malicious user can trigger this client/auth/oauth2_authorization.cc vulnerability by requesting the client to receive the ID token from a Google authentication server.","affected":[],"references":[{"url":"https://github.com/google/google-api-cpp-client/issues/57","tags":["Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/google/google-api-cpp-client/pull/58","tags":["Issue Tracking","Patch","Third Party Advisory"]}]}}