# CVE-2022-24884: Trivial signature forgery in ecdsautils

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/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): 1.04%, higher than 64% of CVEs (2026-12-01)
- Published: 2022-05-05T23:50:10.000Z
- Modified: 2026-06-17T04:32:43.667Z
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

ecdsautils is a tiny collection of programs used for ECDSA (keygen, sign, verify). `ecdsa_verify_[prepare_]legacy()` does not check whether the signature values `r` and `s` are non-zero. A signature consisting only of zeroes is always considered valid, making it trivial to forge signatures. Requiring multiple signatures from different public keys does not mitigate the issue: `ecdsa_verify_list_legacy()` will accept an arbitrary number of such forged signatures. Both the `ecdsautil verify` CLI command and the libecdsautil library are affected. The issue has been fixed in ecdsautils 0.4.1. All older versions of ecdsautils (including versions before the split into a library and a CLI utility) are vulnerable.

(As written by CVE List.)

## Affected

- freifunk-gluon ecdsautils: < 0.4.1
- ecdsautils_project ecdsautils: before 0.4.1
- fedoraproject fedora: 34; 35; 36
- debian debian_linux: 9.0; 10.0; 11.0

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/freifunk-gluon/ecdsautils/security/advisories/GHSA-qhcg-9ffp-78pw> (third-party-advisory)
- <https://github.com/freifunk-gluon/ecdsautils/commit/1d4b091abdf15ad7b2312535b5b95ad70f6dbd08> (patch, third-party-advisory)
- <https://github.com/freifunk-gluon/ecdsautils/commit/39b6d0a77414fd41614953a0e185c4eefa2f88ad> (patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/05/msg00007.html> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2022/dsa-5132> (third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G2JT57AAFIEL7JDO2ZBV25JKYME5NU54/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L7UBR3M4U3LA46BHXYSH7EN5GDG44GK7/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4AKQH5WCBMJA3ODCSNERY6HVX4BX3ITG/> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-24884](https://www.cve.org/CVERecord?id=CVE-2022-24884), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-24884](https://nvd.nist.gov/vuln/detail/CVE-2022-24884), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24884 · Whole record: https://cve.day/CVE-2022-24884.json · Rebuilt by cve.day 2026-11-25T22:58:11.485Z
