{"id":"UBUNTU-CVE-2025-53864","details":"Connect2id Nimbus JOSE + JWT 10.0.x before 10.0.2 and 9.37.x before 9.37.4 allows a remote attacker to cause a denial of service via a deeply nested JSON object supplied in a JWT claim set, because of uncontrolled recursion. NOTE: this is independent of the Gson 2.11.0 issue because the Connect2id product could have checked the JSON object nesting depth, regardless of what limits (if any) were imposed by Gson.","modified":"2026-05-20T16:11:25.603046072Z","published":"2025-07-11T03:16:00Z","upstream":["CVE-2025-53864"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-53864"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-53864"},{"type":"REPORT","url":"https://bitbucket.org/connect2id/nimbus-jose-jwt/issues/583/stackoverflowerror-due-to-deeply-nested"},{"type":"REPORT","url":"https://github.com/google/gson/commit/1039427ff0100293dd3cf967a53a55282c0fef6b"},{"type":"REPORT","url":"https://github.com/google/gson/compare/gson-parent-2.11.0...gson-parent-2.12.0"}],"affected":[{"package":{"name":"libgoogle-gson-java","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libgoogle-gson-java?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.4-1","2.4-1","2.4-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libgoogle-gson-java","binary_version":"2.4-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-53864.json"}},{"package":{"name":"libgoogle-gson-java","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libgoogle-gson-java?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4-2","2.8.2-1","2.8.5-3~18.04","2.8.5-3~18.04.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.8.5-3~18.04.1~esm1","binary_name":"libgoogle-gson-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-53864.json"}},{"package":{"name":"libgoogle-gson-java","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libgoogle-gson-java?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.5-3","2.8.5-3+deb10u1build0.20.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.8.5-3+deb10u1build0.20.04.1","binary_name":"libgoogle-gson-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-53864.json"}},{"package":{"name":"libgoogle-gson-java","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libgoogle-gson-java?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.6-1","2.8.8-1","2.8.8-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libgoogle-gson-java","binary_version":"2.8.8-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-53864.json"}},{"package":{"name":"libgoogle-gson-java","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libgoogle-gson-java?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10-1","2.10.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libgoogle-gson-java","binary_version":"2.10.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-53864.json"}},{"package":{"name":"libgoogle-gson-java","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libgoogle-gson-java?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.10.1-1","binary_name":"libgoogle-gson-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-53864.json"}},{"package":{"name":"libgoogle-gson-java","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libgoogle-gson-java?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libgoogle-gson-java","binary_version":"2.10.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-53864.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L"},{"type":"Ubuntu","score":"medium"}]}