{"id":"CVE-2023-26053","aliases":["ALPINE-CVE-2023-26053","BELL-CVE-2023-26053","BIT-gradle-2023-26053","EUVD-2023-29930","GHSA-c724-3xg7-g3hf","UBUNTU-CVE-2023-26053"],"status":"published","title":"Gradle usage of long IDs for PGP keys opens potential for collision attacks","description":"Gradle is a build tool with a focus on build automation and support for multi-language development. This is a collision attack on long IDs (64bits) for PGP keys. Users of dependency verification in Gradle are vulnerable if they use long IDs for PGP keys in a `trusted-key` or `pgp` element in their dependency verification metadata file. The fix is to fail dependency verification if anything but a fingerprint is used in a trust element in dependency verification metadata. The problem is fixed in Gradle 8.0 and above. The problem is also patched in Gradle 6.9.4 and 7.6.1. As a workaround, use only full fingerprint IDs for `trusted-key` or `pgp` element in the metadata is a protection against this issue.","severity":{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00994,"percentile":0.63066,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-829"],"published":"2023-03-02T03:11:31Z","modified":"2026-11-03T06:32:58Z","fixes":[{"ecosystem":"Alpine:v3.17","package":"gradle","fixed_in":["7.6.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"gradle","fixed_in":["7.6.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"gradle","fixed_in":["7.6.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"gradle","fixed_in":["7.6.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"gradle","fixed_in":["7.6.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"gradle","fixed_in":["7.6.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"gradle","fixed_in":["7.6.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"gradle","fixed_in":["7.6.1-r0"],"sources":["osv"]},{"ecosystem":"Bitnami","package":"gradle","fixed_in":["6.9.4","7.6.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.17","package":"gradle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"7.6.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"gradle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"7.6.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"gradle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"7.6.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"gradle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"7.6.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"gradle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"7.6.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"gradle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"7.6.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"gradle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"7.6.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"gradle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"7.6.1-r0"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"gradle","ranges":[{"type":"SEMVER","events":[{"introduced":"6.2.0"},{"fixed":"6.9.4"},{"introduced":"7.0.0"},{"fixed":"7.6.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"gradle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5-3","2.7-1","2.7-2","2.7-3","2.10-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"gradle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.1-3build2","3.2.1-4","3.2.1-5","3.4.1-4","3.4.1-6","3.4.1-7ubuntu1","4.4.1-5ubuntu2~18.04","4.4.1-5ubuntu2~18.04+esm1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"gradle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.1-8","4.4.1-9","4.4.1-10"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"gradle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.1-13"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"gradle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.1-18","4.4.1-20"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"gradle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.1-22"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"gradle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.1-22ubuntu1","4.4.1-23"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"gradle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.1-22","4.4.1-22build1","4.4.1-22ubuntu1"]}],"products":[{"vendor":"gradle","product":"gradle"}],"references":[{"url":"https://github.com/gradle/gradle/security/advisories/GHSA-c724-3xg7-g3hf","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","report"]},{"url":"https://github.com/gradle/gradle/commit/bf3cc0f2b463033037e67aaacda31291643ea1a9","tags":["x_refsource_MISC","x_transferred","Patch","fix","report"]},{"url":"https://security.netapp.com/advisory/ntap-20230413-0002/","tags":["x_transferred","web","advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2023-26053","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2023-26053","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26053","tags":["web","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26053.json","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-26053","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-26053","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-26053","title":"Gradle usage of long IDs for PGP keys opens potential for collision attacks","description":"Gradle is a build tool with a focus on build automation and support for multi-language development. This is a collision attack on long IDs (64bits) for PGP keys. Users of dependency verification in Gradle are vulnerable if they use long IDs for PGP keys in a `trusted-key` or `pgp` element in their dependency verification metadata file. The fix is to fail dependency verification if anything but a fingerprint is used in a trust element in dependency verification metadata. The problem is fixed in Gradle 8.0 and above. The problem is also patched in Gradle 6.9.4 and 7.6.1. As a workaround, use only full fingerprint IDs for `trusted-key` or `pgp` element in the metadata is a protection against this issue.","status":"published","published":"2023-03-02T03:11:31.488Z","modified":"2025-03-05T21:15:36.343Z","cvss":[{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-829"],"updated_at":"2026-11-02T14:35:15.066338Z"}],"euvd":[{"id":"EUVD-2023-29930","description":"Gradle is a build tool with a focus on build automation and support for multi-language development. This is a collision attack on long IDs (64bits) for PGP keys. Users of dependency verification in Gradle are vulnerable if they use long IDs for PGP keys in a `trusted-key` or `pgp` element in their dependency verification metadata file. The fix is to fail dependency verification if anything but a fingerprint is used in a trust element in dependency verification metadata. The problem is fixed in Gradle 8.0 and above. The problem is also patched in Gradle 6.9.4 and 7.6.1. As a workaround, use only full fingerprint IDs for `trusted-key` or `pgp` element in the metadata is a protection against this issue.","status":"published","published":"2023-03-02T03:11:31Z","modified":"2025-03-05T21:15:36Z","cvss":[{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T20:53:11.987115Z"}],"nvd":[{"id":"CVE-2023-26053","description":"Gradle is a build tool with a focus on build automation and support for multi-language development. This is a collision attack on long IDs (64bits) for PGP keys. Users of dependency verification in Gradle are vulnerable if they use long IDs for PGP keys in a `trusted-key` or `pgp` element in their dependency verification metadata file. The fix is to fail dependency verification if anything but a fingerprint is used in a trust element in dependency verification metadata. The problem is fixed in Gradle 8.0 and above. The problem is also patched in Gradle 6.9.4 and 7.6.1. As a workaround, use only full fingerprint IDs for `trusted-key` or `pgp` element in the metadata is a protection against this issue.","status":"published","published":"2023-03-02T04:15:11.147Z","modified":"2026-06-17T05:42:33.343Z","cvss":[{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-829"],"updated_at":"2026-11-02T14:07:48.342507Z"}],"osv":[{"id":"ALPINE-CVE-2023-26053","description":"Gradle is a build tool with a focus on build automation and support for multi-language development. This is a collision attack on long IDs (64bits) for PGP keys. Users of dependency verification in Gradle are vulnerable if they use long IDs for PGP keys in a `trusted-key` or `pgp` element in their dependency verification metadata file. The fix is to fail dependency verification if anything but a fingerprint is used in a trust element in dependency verification metadata. The problem is fixed in Gradle 8.0 and above. The problem is also patched in Gradle 6.9.4 and 7.6.1. As a workaround, use only full fingerprint IDs for `trusted-key` or `pgp` element in the metadata is a protection against this issue.","status":"published","published":"2023-03-02T04:15:11.147Z","modified":"2026-11-03T06:32:58.948460635Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T07:16:09.603409Z"},{"id":"BELL-CVE-2023-26053","title":"CVE-2023-26053 does not affect BellSoft software","status":"withdrawn","published":"2023-08-31T12:16:33.387194Z","modified":"2026-01-26T09:48:03.428217Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:28:17.742221Z"},{"id":"CVE-2023-26053","title":"Gradle usage of long IDs for PGP keys opens potential for collision attacks","description":"Gradle is a build tool with a focus on build automation and support for multi-language development. This is a collision attack on long IDs (64bits) for PGP keys. Users of dependency verification in Gradle are vulnerable if they use long IDs for PGP keys in a `trusted-key` or `pgp` element in their dependency verification metadata file. The fix is to fail dependency verification if anything but a fingerprint is used in a trust element in dependency verification metadata. The problem is fixed in Gradle 8.0 and above. The problem is also patched in Gradle 6.9.4 and 7.6.1. As a workaround, use only full fingerprint IDs for `trusted-key` or `pgp` element in the metadata is a protection against this issue.","status":"published","published":"2023-03-02T03:11:31.488Z","modified":"2026-10-28T02:31:12.024034706Z","cvss":[{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"cwes":["CWE-829"],"updated_at":"2026-11-02T15:44:31.135751Z"},{"id":"UBUNTU-CVE-2023-26053","description":"Gradle is a build tool with a focus on build automation and support for multi-language development. This is a collision attack on long IDs (64bits) for PGP keys. Users of dependency verification in Gradle are vulnerable if they use long IDs for PGP keys in a `trusted-key` or `pgp` element in their dependency verification metadata file. The fix is to fail dependency verification if anything but a fingerprint is used in a trust element in dependency verification metadata. The problem is fixed in Gradle 8.0 and above. The problem is also patched in Gradle 6.9.4 and 7.6.1. As a workaround, use only full fingerprint IDs for `trusted-key` or `pgp` element in the metadata is a protection against this issue.","status":"published","published":"2023-03-02T04:15:00Z","modified":"2026-10-17T12:56:04.717336683Z","cvss":[{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T16:54:20.198616Z"},{"id":"BIT-gradle-2023-26053","title":"Gradle usage of long IDs for PGP keys opens potential for collision attacks","description":"Gradle is a build tool with a focus on build automation and support for multi-language development. This is a collision attack on long IDs (64bits) for PGP keys. Users of dependency verification in Gradle are vulnerable if they use long IDs for PGP keys in a `trusted-key` or `pgp` element in their dependency verification metadata file. The fix is to fail dependency verification if anything but a fingerprint is used in a trust element in dependency verification metadata. The problem is fixed in Gradle 8.0 and above. The problem is also patched in Gradle 6.9.4 and 7.6.1. As a workaround, use only full fingerprint IDs for `trusted-key` or `pgp` element in the metadata is a protection against this issue.","status":"published","published":"2024-03-06T10:53:14.075Z","modified":"2026-09-08T08:45:13.566966285Z","updated_at":"2026-11-02T15:28:31.02759Z"}]}}
