CVE-2022-24884
Trivial signature forgery in ecdsautils
Reported by github_m · Published May 5, 2022
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| freifunk-gluon | ecdsautils | < 0.4.1 |
| freifunk-gluon | ecdsautils | 0 |
Timeline
- May 5, 2022 CVE Published
- May 6, 2022 EPSS Score (30 in total, the first dated here)
- Apr 23, 2025 CVE Updated
- Mar 10, 2026 Distribution Patch
- Mar 10, 2026 Security Advisory
- Jul 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-24884
vulnetix vdb fixes CVE-2022-24884
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-24884/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- [debian-lts-announce] 20220507 [SECURITY] [DLA 2997-1] ecdsautils security update mailing-listx_refsource_MLIST
- DSA-5132 vendor-advisoryx_refsource_DEBIAN
- FEDORA-2022-111177a5ac vendor-advisoryx_refsource_FEDORA
- FEDORA-2022-7704d5e885 vendor-advisoryx_refsource_FEDORA
- FEDORA-2022-bf58612696 vendor-advisoryx_refsource_FEDORA