Description
The PGP signing plugin in Gradle before 6.0 relies on the SHA-1 algorithm, which might allow an attacker to replace an artifact with a different one that has the same SHA-1 message digest, a related issue to CVE-2005-4900.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gradle | 4.4.1-18 | — |
| Debian 13 | gradle | 4.4.1-18 | — |
| Debian 12 | gradle | 4.4.1-18 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | gradle | No fix yet | — |
| Ubuntu 26.04 LTS | gradle | No fix yet | — |
| Ubuntu 25.10 | gradle | No fix yet | — |
| Ubuntu 24.04 LTS | gradle | No fix yet | — |
| Ubuntu 22.04 LTS | gradle | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | gradle | No fix yet | — |
| Ubuntu 16.04 LTS | gradle | No fix yet | — |
| Ubuntu Pro 18.04 LTS | gradle | 4.4.1-5ubuntu2~18.04+esm1 | USN-4858-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | gradle | 4.4.1-7.2 | openSUSE-SU-2024:10817-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.gradle:gradle-core | < 6.0 | 6.0 | GHSA-hhr2-f668-ff2w |
Advisories 2
- USN-4858-1 gradle vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- openSUSE-SU-2024:10817-1 gradle-4.4.1-7.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026