{"id":"CVE-2022-24884","aliases":["DEBIAN-CVE-2022-24884","DLA-2997-1","DSA-5132-1","EUVD-2022-29652","GHSA-qhcg-9ffp-78pw","UBUNTU-CVE-2022-24884","USN-6239-1"],"status":"published","title":"Trivial signature forgery in ecdsautils","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.","severity":{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01039,"percentile":0.64264,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-347"],"published":"2022-05-05T23:50:10Z","modified":"2026-11-11T02:45:40Z","fixes":[{"ecosystem":"Debian:12","package":"ecdsautils","fixed_in":["0.4.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ecdsautils","fixed_in":["0.4.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ecdsautils","fixed_in":["0.4.1-1"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"ecdsautils","fixed_in":["0.3.2+git20151018-2+deb9u1"],"sources":["osv"]},{"ecosystem":"Debian:10","package":"ecdsautils","fixed_in":["0.3.2+git20151018-2+deb10u1"],"sources":["osv"]},{"ecosystem":"Debian:11","package":"ecdsautils","fixed_in":["0.3.2+git20151018-2+deb11u1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"ecdsautils","fixed_in":["0.3.2+git20151018-2ubuntu0.16.04.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"ecdsautils","fixed_in":["0.3.2+git20151018-2ubuntu0.18.04.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"ecdsautils","fixed_in":["0.3.2+git20151018-2+deb10u1build0.20.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"ecdsautils","fixed_in":["0.3.2+git20151018-2+deb10u1build0.22.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"ecdsautils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"ecdsautils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ecdsautils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"ecdsautils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.2+git20151018-2+deb9u1"}]}],"versions":["0.3.2+git20151018-2"]},{"source":"osv","ecosystem":"Debian:10","package":"ecdsautils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.2+git20151018-2+deb10u1"}]}],"versions":["0.3.2+git20151018-2"]},{"source":"osv","ecosystem":"Debian:11","package":"ecdsautils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.2+git20151018-2+deb11u1"}]}],"versions":["0.3.2+git20151018-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"ecdsautils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.2+git20151018-2ubuntu0.16.04.1~esm1"}]}],"versions":["0.3.2+git20151018-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"ecdsautils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.2+git20151018-2ubuntu0.18.04.1~esm1"}]}],"versions":["0.3.2+git20151018-2","0.3.2+git20151018-2build1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"ecdsautils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.2+git20151018-2+deb10u1build0.20.04.1"}]}],"versions":["0.3.2+git20151018-2build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"ecdsautils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.2+git20151018-2+deb10u1build0.22.04.1"}]}],"versions":["0.3.2+git20151018-2build1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"ecdsautils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.2+git20151018-2ubuntu0.16.04.1~esm1"}]}],"versions":["0.3.2+git20151018-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"ecdsautils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.2+git20151018-2ubuntu0.18.04.1~esm1"}]}],"versions":["0.3.2+git20151018-2","0.3.2+git20151018-2build1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"ecdsautils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.2+git20151018-2+deb10u1build0.20.04.1"}]}],"versions":["0.3.2+git20151018-2build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"ecdsautils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.2+git20151018-2+deb10u1build0.22.04.1"}]}],"versions":["0.3.2+git20151018-2build1"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"ecdsautils_project","product":"ecdsautils"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"freifunk-gluon","product":"ecdsautils"}],"references":[{"url":"https://github.com/freifunk-gluon/ecdsautils/security/advisories/GHSA-qhcg-9ffp-78pw","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://github.com/freifunk-gluon/ecdsautils/commit/1d4b091abdf15ad7b2312535b5b95ad70f6dbd08","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://github.com/freifunk-gluon/ecdsautils/commit/39b6d0a77414fd41614953a0e185c4eefa2f88ad","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00007.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","article"]},{"url":"https://www.debian.org/security/2022/dsa-5132","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G2JT57AAFIEL7JDO2ZBV25JKYME5NU54/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L7UBR3M4U3LA46BHXYSH7EN5GDG44GK7/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4AKQH5WCBMJA3ODCSNERY6HVX4BX3ITG/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24884.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24884","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-24884","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-24884","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-6239-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-24884","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-24884","title":"Trivial signature forgery in ecdsautils","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.","status":"published","published":"2022-05-05T23:50:10Z","modified":"2025-04-23T18:29:53.064Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","level":"critical","assessor":"cna"}],"cwes":["CWE-347"],"updated_at":"2026-11-02T14:34:34.940806Z"}],"euvd":[{"id":"EUVD-2022-29652","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.","status":"published","published":"2022-05-05T23:50:10Z","modified":"2025-04-23T18:29:53Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","level":"critical"}],"updated_at":"2026-11-02T20:52:08.401317Z"}],"nvd":[{"id":"CVE-2022-24884","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.","status":"published","published":"2022-05-06T00:15:07.697Z","modified":"2026-06-17T04:32:43.667Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","level":"critical","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-347"],"updated_at":"2026-11-02T14:07:19.51203Z"}],"osv":[{"id":"CVE-2022-24884","title":"Trivial signature forgery in ecdsautils","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.","status":"published","published":"2022-05-05T23:50:10Z","modified":"2026-11-11T07:19:27.817841688Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","level":"critical"}],"cwes":["CWE-347"],"updated_at":"2026-11-11T02:50:43.46164Z"},{"id":"DEBIAN-CVE-2022-24884","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.","status":"published","published":"2022-05-06T00:15:07.697Z","modified":"2026-11-03T08:02:14.558448897Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-03T08:24:50.542442Z"},{"id":"UBUNTU-CVE-2022-24884","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.","status":"published","published":"2022-05-06T00:15:00Z","modified":"2026-02-05T14:27:04.155891Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","level":"critical"}],"updated_at":"2026-11-02T16:53:53.13624Z"},{"id":"DLA-2997-1","title":"ecdsautils - security update","status":"published","published":"2022-05-07T00:00:00Z","modified":"2026-03-09T01:20:48.835384Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"DSA-5132-1","title":"ecdsautils - security update","status":"published","published":"2022-05-08T00:00:00Z","modified":"2026-03-09T02:08:34.444913Z","updated_at":"2026-11-02T15:46:17.543497Z"},{"id":"USN-6239-1","title":"ecdsautils vulnerability","description":"It was discovered that ECDSA Util did not properly verify certain \nsignature values.\nAn attacker could possibly use this issue to bypass signature \nverification.\n","status":"published","published":"2023-07-20T09:01:16Z","modified":"2026-06-25T13:32:12.46045225Z","updated_at":"2026-11-02T16:58:17.305935Z"}]}}
