# CVE-2019-16370: Use of a weak cryptographic algorithm in Gradle

- Severity: Medium 5.9 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- 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.89%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-09-16T17:50:28.000Z
- Modified: 2026-06-17T02:22:11.277Z
- Also known as: GHSA-hhr2-f668-ff2w
- Weaknesses: CWE-327
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- org.gradle:gradle-core (Maven): before 6.0
- gradle gradle: before 6.0

## Every score

- GitHub: rating Low
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/gradle/gradle/pull/10543> (exploit, patch, third-party-advisory, web)
- <https://github.com/gradle/gradle/commit/425b2b7a50cd84106a77cdf1ab665c89c6b14d2f> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-16370> (advisory)

## Sources

- CVE List: [CVE-2019-16370](https://www.cve.org/CVERecord?id=CVE-2019-16370), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-hhr2-f668-ff2w](https://github.com/advisories/GHSA-hhr2-f668-ff2w), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2019-16370](https://nvd.nist.gov/vuln/detail/CVE-2019-16370), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-16370 · Whole record: https://cve.day/CVE-2019-16370.json · Rebuilt by cve.day 2026-11-25T22:57:47.005Z
