{"id":"CVE-2026-125335","aliases":["AZL-113585","CLSA-2026-1795258391","CLSA-2026-1795514830","CLSA-2026-1795795991","DHI-am46-ldlq-niqa-ffq5","EUVD-2026-122797","GHSA-6889-vf6x-f3g5","UBUNTU-CVE-2026-125335"],"status":"published","title":"Forge: Ed25519 signature verification accepts small-order public keys","description":"Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, ed25519.verify() decodes a public key in crypto_sign_open() without rejecting small-order points or their non-canonical encodings. With S = 0 and a small-order R value, an attacker who can choose the public key can produce signatures that verify for many messages, or all messages with the identity key, without a private key. This can defeat proof-of-possession, attribution, non-repudiation, or deduplication checks that rely on a signature being bound to the message. Keys produced by normal Ed25519 key generation are not small-order, so applications that verify only trusted or internally generated public keys are not affected. This issue is fixed in version 1.4.3.","severity":{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-12-04","score":0.00229,"percentile":0.14555,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-347"],"published":"2026-11-10T18:51:14Z","modified":"2026-12-05T03:13:09Z","fixes":[{"ecosystem":"npm","package":"node-forge","fixed_in":["1.4.3"],"sources":["ghsa","osv"]},{"ecosystem":"Docker Hardened Images:Debian:13","package":"kubeflow-pipelines-frontend","fixed_in":["2.18.0-0"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"node-forge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.4.2"},{"fixed":"1.4.3"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"python-tensorboard","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.16.2-6"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"node-forge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.7.6-tuxcare.0"},{"fixed":"0.7.6-tuxcare.1"}]}],"versions":["0.7.6"],"bundled":29},{"source":"osv","ecosystem":"TuxCare:npm","package":"node-forge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.9.0-tuxcare.0"},{"fixed":"0.9.0-tuxcare.6"}]}],"versions":["0.9.0","0.9.0-tuxcare.1","0.9.0-tuxcare.2","0.9.0-tuxcare.3","0.9.0-tuxcare.4","0.9.0-tuxcare.5"],"bundled":10},{"source":"osv","ecosystem":"TuxCare:npm","package":"node-forge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.10.0-tuxcare.0"},{"fixed":"0.10.0-tuxcare.12"}]}],"versions":["0.10.0","0.10.0-tuxcare.1","0.10.0-tuxcare.10","0.10.0-tuxcare.11","0.10.0-tuxcare.2","0.10.0-tuxcare.3","0.10.0-tuxcare.4","0.10.0-tuxcare.5","0.10.0-tuxcare.6","0.10.0-tuxcare.7","0.10.0-tuxcare.8","0.10.0-tuxcare.9"],"bundled":6},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"kyverno-policy-reporter-ui-dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-r0"}]}],"versions":["2.6.1-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.7.1-r0","2.7.1-r1","2.7.1-r2","2.7.2-r0","2.7.2-r1","2.7.3-r0","2.8.1-r0","2.8.1-r1","2.8.1-r2","2.8.1-r3","2.8.1-r4","2.8.1-r5","2.9.0-r1","2.9.1-r0","2.9.1-r1","2.9.1-r2","2.9.1-r3","2.9.1-r4","2.9.1-r5","2.9.1-r6","2.9.1-r7","2.9.1-r8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"kyverno-policy-reporter-ui-dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-r0"}]}],"versions":["2.6.1-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.7.1-r0","2.7.1-r1","2.7.1-r2","2.7.2-r0","2.7.2-r1","2.7.3-r0","2.8.1-r0","2.8.1-r1","2.8.1-r2","2.8.1-r3","2.8.1-r4","2.8.1-r5","2.9.0-r1","2.9.1-r0","2.9.1-r1","2.9.1-r2","2.9.1-r3","2.9.1-r4","2.9.1-r5","2.9.1-r6","2.9.1-r7","2.9.1-r8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"kyverno-policy-reporter-ui-fips-dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-r0"}]}],"versions":["2.6.1-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.7.1-r0","2.7.1-r1","2.7.1-r2","2.7.2-r0","2.7.2-r1","2.7.3-r0","2.8.1-r0","2.8.1-r1","2.8.1-r2","2.8.1-r3","2.8.1-r4","2.8.1-r5","2.9.0-r1","2.9.1-r0","2.9.1-r1","2.9.1-r2","2.9.1-r3","2.9.1-r4","2.9.1-r5","2.9.1-r6","2.9.1-r7","2.9.1-r8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"kyverno-policy-reporter-ui-fips-dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-r0"}]}],"versions":["2.6.1-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.7.1-r0","2.7.1-r1","2.7.1-r2","2.7.2-r0","2.7.2-r1","2.7.3-r0","2.8.1-r0","2.8.1-r1","2.8.1-r2","2.8.1-r3","2.8.1-r4","2.8.1-r5","2.9.0-r1","2.9.1-r0","2.9.1-r1","2.9.1-r2","2.9.1-r3","2.9.1-r4","2.9.1-r5","2.9.1-r6","2.9.1-r7","2.9.1-r8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"kyverno-policy-reporter-ui-fips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-r0"}]}],"versions":["2.6.1-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.7.1-r0","2.7.1-r1","2.7.1-r2","2.7.2-r0","2.7.2-r1","2.7.3-r0","2.8.1-r0","2.8.1-r1","2.8.1-r2","2.8.1-r3","2.8.1-r4","2.8.1-r5","2.9.0-r1","2.9.1-r0","2.9.1-r1","2.9.1-r2","2.9.1-r3","2.9.1-r4","2.9.1-r5","2.9.1-r6","2.9.1-r7","2.9.1-r8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"kyverno-policy-reporter-ui-fips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-r0"}]}],"versions":["2.6.1-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.7.1-r0","2.7.1-r1","2.7.1-r2","2.7.2-r0","2.7.2-r1","2.7.3-r0","2.8.1-r0","2.8.1-r1","2.8.1-r2","2.8.1-r3","2.8.1-r4","2.8.1-r5","2.9.0-r1","2.9.1-r0","2.9.1-r1","2.9.1-r2","2.9.1-r3","2.9.1-r4","2.9.1-r5","2.9.1-r6","2.9.1-r7","2.9.1-r8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"kyverno-policy-reporter-ui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-r0"}]}],"versions":["2.6.1-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.7.1-r0","2.7.1-r1","2.7.1-r2","2.7.2-r0","2.7.2-r1","2.7.3-r0","2.8.1-r0","2.8.1-r1","2.8.1-r2","2.8.1-r3","2.8.1-r4","2.8.1-r5","2.9.0-r1","2.9.1-r0","2.9.1-r1","2.9.1-r2","2.9.1-r3","2.9.1-r4","2.9.1-r5","2.9.1-r6","2.9.1-r7","2.9.1-r8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"kyverno-policy-reporter-ui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-r0"}]}],"versions":["2.6.1-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.7.1-r0","2.7.1-r1","2.7.1-r2","2.7.2-r0","2.7.2-r1","2.7.3-r0","2.8.1-r0","2.8.1-r1","2.8.1-r2","2.8.1-r3","2.8.1-r4","2.8.1-r5","2.9.0-r1","2.9.1-r0","2.9.1-r1","2.9.1-r2","2.9.1-r3","2.9.1-r4","2.9.1-r5","2.9.1-r6","2.9.1-r7","2.9.1-r8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"logto-1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.45.0-r0"}]}],"versions":["1.45.0-r0","1.45.0-r1","1.45.0-r2","1.45.0-r3","1.45.0-r4","1.46.0-r0","1.46.0-r1","1.46.0-r2","1.46.0-r3","1.46.0-r4","1.46.0-r5","1.46.0-r6","1.46.0-r7","1.46.0-r8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"logto-1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.45.0-r0"}]}],"versions":["1.45.0-r0","1.45.0-r1","1.45.0-r2","1.45.0-r3","1.45.0-r4","1.46.0-r0","1.46.0-r1","1.46.0-r2","1.46.0-r3","1.46.0-r4","1.46.0-r5","1.46.0-r6","1.46.0-r7","1.46.0-r8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"postman-mcp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.11.2-r5"}]}],"versions":["2.11.2-r5","2.12.0-r0","2.12.2-r0","2.12.3-r0","2.13.0-r0","2.14.0-r0","2.15.0-r0","2.15.0-r1","2.15.0-r2"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"postman-mcp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.1-r0"}]}],"versions":["2.11.0-r0","2.11.1-r0","2.11.1-r1","2.11.2-r1","2.11.2-r2","2.11.2-r3","2.11.2-r4","2.11.2-r5","2.12.0-r0","2.12.2-r0","2.12.3-r0","2.13.0-r0","2.14.0-r0","2.15.0-r0","2.15.0-r1","2.15.0-r2","2.9.1-r0"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"sorry-cypress-director-2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0-r0"}]}],"versions":["2.6.0-r0","2.6.0-r10","2.6.0-r2","2.6.0-r3","2.6.0-r4","2.6.0-r5","2.6.0-r6","2.6.0-r7","2.6.0-r8","2.6.0-r9"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"sorry-cypress-director-2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0-r0"}]}],"versions":["2.6.0-r0","2.6.0-r10","2.6.0-r2","2.6.0-r3","2.6.0-r4","2.6.0-r5","2.6.0-r6","2.6.0-r7","2.6.0-r8","2.6.0-r9"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"kibana-9.4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.4.5-1"}]}],"versions":["9.4.10-0","9.4.10-1","9.4.10-2","9.4.5-1","9.4.7-0","9.4.8-0","9.4.8-1","9.4.8-11","9.4.8-12","9.4.8-13","9.4.8-14","9.4.8-2","9.4.8-3","9.4.8-4","9.4.8-5","9.4.8-6","9.4.8-7","9.4.8-8","9.4.8-9","9.4.9-0","9.4.9-1","9.4.9-2","9.4.9-3","9.4.9-4"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"kibana-9.5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.5.5-0"}]}],"versions":["9.5.5-0","9.5.5-1","9.5.5-10","9.5.5-11","9.5.5-12","9.5.5-2","9.5.5-3","9.5.5-4","9.5.5-5","9.5.5-6","9.5.5-7","9.5.5-9","9.5.6-0","9.5.6-1","9.5.6-2","9.5.6-3","9.5.7-0","9.5.7-1","9.5.7-2"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"kubeflow-pipelines-frontend","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.17.0-0"},{"fixed":"2.18.0-0"}]}],"versions":["2.17.0-0","2.17.0-1","2.17.0-2","2.17.0-3","2.17.0-4","2.17.1-0","2.17.1-1","2.17.2-0","2.17.2-1","2.17.2-2","2.17.2-3","2.17.2-4","2.17.2-5","2.17.3-0"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"kyverno-policy-reporter-ui-dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-0"}]}],"versions":["2.6.1-0","2.7.0-0","2.7.0-1","2.7.0-2","2.7.1-0","2.7.1-1","2.7.1-2","2.7.2-0","2.7.2-1","2.7.3-0","2.8.1-0","2.8.1-1","2.8.1-2","2.8.1-3","2.8.1-4","2.8.1-5","2.9.0-1","2.9.1-0","2.9.1-1","2.9.1-2","2.9.1-3","2.9.1-4","2.9.1-5","2.9.1-6","2.9.1-7","2.9.1-8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"kyverno-policy-reporter-ui-fips-dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-0"}]}],"versions":["2.6.1-0","2.7.0-0","2.7.0-1","2.7.0-2","2.7.1-0","2.7.1-1","2.7.1-2","2.7.2-0","2.7.2-1","2.7.3-0","2.8.1-0","2.8.1-1","2.8.1-2","2.8.1-3","2.8.1-4","2.8.1-5","2.9.0-1","2.9.1-0","2.9.1-1","2.9.1-2","2.9.1-3","2.9.1-4","2.9.1-5","2.9.1-6","2.9.1-7","2.9.1-8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"kyverno-policy-reporter-ui-fips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-0"}]}],"versions":["2.6.1-0","2.7.0-0","2.7.0-1","2.7.0-2","2.7.1-0","2.7.1-1","2.7.1-2","2.7.2-0","2.7.2-1","2.7.3-0","2.8.1-0","2.8.1-1","2.8.1-2","2.8.1-3","2.8.1-4","2.8.1-5","2.9.0-1","2.9.1-0","2.9.1-1","2.9.1-2","2.9.1-3","2.9.1-4","2.9.1-5","2.9.1-6","2.9.1-7","2.9.1-8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"kyverno-policy-reporter-ui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-0"}]}],"versions":["2.6.1-0","2.7.0-0","2.7.0-1","2.7.0-2","2.7.1-0","2.7.1-1","2.7.1-2","2.7.2-0","2.7.2-1","2.7.3-0","2.8.1-0","2.8.1-1","2.8.1-2","2.8.1-3","2.8.1-4","2.8.1-5","2.9.0-1","2.9.1-0","2.9.1-1","2.9.1-2","2.9.1-3","2.9.1-4","2.9.1-5","2.9.1-6","2.9.1-7","2.9.1-8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"logto-1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.45.0-0"}]}],"versions":["1.45.0-0","1.45.0-1","1.45.0-2","1.45.0-3","1.45.0-4","1.46.0-0","1.46.0-1","1.46.0-2","1.46.0-3","1.46.0-4","1.46.0-5","1.46.0-6","1.46.0-7","1.46.0-8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"opensearch-dashboards","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.8.0-0"}]}],"versions":["3.10.0-0","3.10.0-1","3.10.0-2","3.10.0-3","3.10.0-4","3.10.0-5","3.8.0-0","3.8.0-1","3.8.0-2","3.8.0-3","3.9.0-0","3.9.0-1","3.9.0-2","3.9.0-3","3.9.0-4","3.9.0-5","3.9.0-6"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"postman-mcp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.1-0"}]}],"versions":["2.11.0-0","2.11.1-0","2.11.1-1","2.11.2-0","2.11.2-1","2.11.2-2","2.11.2-3","2.11.2-5","2.12.0-0","2.12.2-0","2.12.3-0","2.13.0-0","2.13.0-1","2.14.0-0","2.15.0-0","2.15.0-1","2.15.0-2","2.9.1-0"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"sorry-cypress-director-2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0-0"}]}],"versions":["2.6.0-0","2.6.0-10","2.6.0-2","2.6.0-3","2.6.0-4","2.6.0-5","2.6.0-6","2.6.0-7","2.6.0-8","2.6.0-9"]},{"source":"osv","ecosystem":"npm","package":"node-forge","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.3"}]}]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"node-node-forge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.5~dfsg-2","0.9.1~dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"node-node-forge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.0~dfsg-3","1.2.1~dfsg-2"]}],"products":[{"vendor":"digitalbazaar","product":"forge"}],"references":[{"url":"https://github.com/digitalbazaar/forge/security/advisories/GHSA-6889-vf6x-f3g5","tags":["x_refsource_CONFIRM","Exploit","Mitigation","Vendor Advisory","advisory","web","report"]},{"url":"https://github.com/digitalbazaar/forge/pull/1169","tags":["x_refsource_MISC","Patch","fix","web","report"]},{"url":"https://github.com/digitalbazaar/forge/commit/1b77e6f20082d7484479303d0252d5f427651295","tags":["x_refsource_MISC","Patch","fix","web","report"]},{"url":"https://github.com/digitalbazaar/forge/releases/tag/v1.4.3","tags":["x_refsource_MISC","Release Notes","web","report"]},{"url":"https://github.com/advisories/GHSA-6889-vf6x-f3g5","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125335","tags":["web","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125335.json","tags":["advisory"]},{"url":"https://scout.docker.com/v/DHI-am46-ldlq-niqa-ffq5","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-125335","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-125335","tags":["fix","report"]},{"url":"https://ubuntu.com/security/CVE-2026-125335","tags":["advisory","report"]},{"url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-125335","tags":["advisory"]},{"url":"https://github.com/digitalbazaar/forge","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-125335","title":"Forge: Ed25519 signature verification accepts small-order public keys","description":"Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, ed25519.verify() decodes a public key in crypto_sign_open() without rejecting small-order points or their non-canonical encodings. With S = 0 and a small-order R value, an attacker who can choose the public key can produce signatures that verify for many messages, or all messages with the identity key, without a private key. This can defeat proof-of-possession, attribution, non-repudiation, or deduplication checks that rely on a signature being bound to the message. Keys produced by normal Ed25519 key generation are not small-order, so applications that verify only trusted or internally generated public keys are not affected. This issue is fixed in version 1.4.3.","status":"published","published":"2026-11-10T18:51:14.503Z","modified":"2026-11-12T18:02:13.877Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low","assessor":"cna"}],"cwes":["CWE-347"],"updated_at":"2026-11-10T19:39:59.389041Z"}],"euvd":[{"id":"EUVD-2026-122797","description":"Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, ed25519.verify() decodes a public key in crypto_sign_open() without rejecting small-order points or their non-canonical encodings. With S = 0 and a small-order R value, an attacker who can choose the public key can produce signatures that verify for many messages, or all messages with the identity key, without a private key. This can defeat proof-of-possession, attribution, non-repudiation, or deduplication checks that rely on a signature being bound to the message. Keys produced by normal Ed25519 key generation are not small-order, so applications that verify only trusted or internally generated public keys are not affected. This issue is fixed in version 1.4.3.","status":"published","published":"2026-11-10T18:51:14Z","modified":"2026-11-12T18:02:13Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low"}],"updated_at":"2026-11-10T23:24:35.381777Z"}],"ghsa":[{"id":"GHSA-6889-vf6x-f3g5","title":"Forge: Ed25519 signature verification accepts small-order public keys","description":"### Summary\n`ed25519.verify()` does not reject public keys of small order, such as the identity point. Under such a key, a signature with `S = 0` and a small-order `R` verifies for many messages, or for every message with the identity key, without any private key. Fixed in node-forge 1.4.3.\n\n### Details\n`crypto_sign_open()` in `lib/ed25519.js` decodes the public key `A` with `unpackneg()`, which only checks that the point is on the curve, and then checks `R == [S]B - [k]A` with `k = SHA-512(R || A || M)`. Nothing rejects public keys of small order: the identity point, the other 7 points of order 2, 4 or 8, and their non-canonical encodings with `y \u003e= p`.\n\nWith `S = 0`, the check becomes `R == [k](-A)`. For a small-order `A`, `[k](-A)` is one of at most 8 small-order points, so an attacker can make a valid signature by trying the small-order values of `R`. For the identity key (`01 00 … 00`), `R = identity` and `S = 0` verifies for every message. For the other small-order keys, a given message can be forged with high probability. No private key is involved. The `S \u003c L` check added for CVE-2026-33895 (GHSA-q67f-28xg-22rw) doesn't apply, because `S = 0` is canonical.\n\nKeys produced by Ed25519 key generation (`ed25519.generateKeyPair()` or any RFC 8032 implementation) are never small-order, so signatures under them cannot be forged this way. Applications are affected when they verify signatures against a public key an attacker can choose (for example a key included with the signed data, a self-registered key, or a key in an attacker-controlled document) and rely on the signature being bound to the message: proof of possession, attribution, non-repudiation or deduplication.\n\nRFC 8032 doesn't require rejecting small-order public keys, and implementations differ. libsodium rejects them, and Node.js `crypto.verify()` (OpenSSL) rejects these signatures.\n\nThe fix rejects a public key `A` when `[8]A` is the identity point. This covers all small-order points and their non-canonical encodings.\n\n#### Patches\nFixed in node-forge 1.4.3. `ed25519.verify()` returns `false` for small-order public keys.\n\n#### Workarounds\nBefore calling `ed25519.verify()` with a public key from untrusted input, reject keys whose 32-byte encoding is one of the small-order points (the identity `01 00 … 00` and the other encodings that libsodium blocks), or only verify against keys you generated or have otherwise validated.\n\n#### Resources\n- RFC 8032, Section 5.1.7 (Ed25519 verification): https://www.rfc-editor.org/rfc/rfc8032#section-5.1.7\n- GHSA-q67f-28xg-22rw / CVE-2026-33895 (a different Ed25519 verification issue, fixed in 1.4.0): https://github.com/digitalbazaar/forge/security/advisories/GHSA-q67f-28xg-22rw\n\n#### Severity\nCVSS 3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N (3.7, Low)\nCVSS 4.0 (informational): CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N (6.3)\nCVSS 4.0 rates this Moderate because its integrity weighting is higher; the severity rating follows CVSS 3.1.\n\n#### Credits\nReported by @analisaperlengkapan.\n\n### Proof of concept\nIdentity public key `A = 01 00 … 00` (32 bytes) and signature `R = 01 00 … 00`, `S = 00 … 00` (64 bytes):\n\n    forge.ed25519.verify({message: 'admin=true', encoding: 'utf8',\n      signature: SIG, publicKey: IDENTITY});\n    // \u003c= 1.4.2: true for any message; node:crypto.verify(): false\n    // 1.4.3: false\n\nOther small-order public keys (orders 2, 4 and 8, and non-canonical encodings) give forgeries for many messages with `S = 0` and a small-order `R`.\n\nRegression tests are in tests/unit/ed25519.js, and the reporter's PoC is in tests/pocs/ghsa-6889-vf6x-f3g5.js.\n\n### Impact\nApplications that verify Ed25519 signatures with node-forge against a public key that an attacker can choose are affected. An attacker can provide a small-order public key and then produce signatures that verify for many or all messages without a private key, defeating checks that rely on a signature being bound to its message under that key (proof of possession, attribution, non-repudiation, deduplication). Signatures under keys from honest key generation cannot be forged, and applications that only verify against their own or otherwise trusted keys are not affected.","status":"published","published":"2026-11-10T21:18:23Z","modified":"2026-11-10T21:18:23Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low"}],"cwes":["CWE-347"],"updated_at":"2026-11-10T21:27:26.825093Z"}],"nvd":[{"id":"CVE-2026-125335","description":"Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, ed25519.verify() decodes a public key in crypto_sign_open() without rejecting small-order points or their non-canonical encodings. With S = 0 and a small-order R value, an attacker who can choose the public key can produce signatures that verify for many messages, or all messages with the identity key, without a private key. This can defeat proof-of-possession, attribution, non-repudiation, or deduplication checks that rely on a signature being bound to the message. Keys produced by normal Ed25519 key generation are not small-order, so applications that verify only trusted or internally generated public keys are not affected. This issue is fixed in version 1.4.3.","status":"published","published":"2026-11-10T19:21:11.25Z","modified":"2026-11-16T15:52:36.493Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low","assessor":"secondary"}],"cwes":["CWE-347"],"updated_at":"2026-11-16T17:51:50.386656Z"}],"osv":[{"id":"CVE-2026-125335","title":"Forge: Ed25519 signature verification accepts small-order public keys","description":"Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, ed25519.verify() decodes a public key in crypto_sign_open() without rejecting small-order points or their non-canonical encodings. With S = 0 and a small-order R value, an attacker who can choose the public key can produce signatures that verify for many messages, or all messages with the identity key, without a private key. This can defeat proof-of-possession, attribution, non-repudiation, or deduplication checks that rely on a signature being bound to the message. Keys produced by normal Ed25519 key generation are not small-order, so applications that verify only trusted or internally generated public keys are not affected. This issue is fixed in version 1.4.3.","status":"published","published":"2026-11-10T18:51:14.503Z","modified":"2026-11-17T21:00:40.977057269Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low"}],"cwes":["CWE-347"],"updated_at":"2026-11-12T03:30:55.144331Z"},{"id":"DHI-am46-ldlq-niqa-ffq5","upstream":["CVE-2026-125335"],"title":"Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3…","description":"Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, ed25519.verify() decodes a public key in crypto_sign_open() without rejecting small-order points or their non-canonical encodings. With S = 0 and a small-order R value, an attacker who can choose the public key can produce signatures that verify for many messages, or all messages with the identity key, without a private key. This can defeat proof-of-possession, attribution, non-repudiation, or deduplication checks that rely on a signature being bound to the message. Keys produced by normal Ed25519 key generation are not small-order, so applications that verify only trusted or internally generated public keys are not affected. This issue is fixed in version 1.4.3.","status":"published","published":"2026-11-20T01:49:34Z","modified":"2026-12-05T01:00:39.28874383Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low"}],"updated_at":"2026-12-05T01:08:27.445632Z"},{"id":"GHSA-6889-vf6x-f3g5","title":"Forge: Ed25519 signature verification accepts small-order public keys","description":"### Summary\n`ed25519.verify()` does not reject public keys of small order, such as the identity point. Under such a key, a signature with `S = 0` and a small-order `R` verifies for many messages, or for every message with the identity key, without any private key. Fixed in node-forge 1.4.3.\n\n### Details\n`crypto_sign_open()` in `lib/ed25519.js` decodes the public key `A` with `unpackneg()`, which only checks that the point is on the curve, and then checks `R == [S]B - [k]A` with `k = SHA-512(R || A || M)`. Nothing rejects public keys of small order: the identity point, the other 7 points of order 2, 4 or 8, and their non-canonical encodings with `y \u003e= p`.\n\nWith `S = 0`, the check becomes `R == [k](-A)`. For a small-order `A`, `[k](-A)` is one of at most 8 small-order points, so an attacker can make a valid signature by trying the small-order values of `R`. For the identity key (`01 00 … 00`), `R = identity` and `S = 0` verifies for every message. For the other small-order keys, a given message can be forged with high probability. No private key is involved. The `S \u003c L` check added for CVE-2026-33895 (GHSA-q67f-28xg-22rw) doesn't apply, because `S = 0` is canonical.\n\nKeys produced by Ed25519 key generation (`ed25519.generateKeyPair()` or any RFC 8032 implementation) are never small-order, so signatures under them cannot be forged this way. Applications are affected when they verify signatures against a public key an attacker can choose (for example a key included with the signed data, a self-registered key, or a key in an attacker-controlled document) and rely on the signature being bound to the message: proof of possession, attribution, non-repudiation or deduplication.\n\nRFC 8032 doesn't require rejecting small-order public keys, and implementations differ. libsodium rejects them, and Node.js `crypto.verify()` (OpenSSL) rejects these signatures.\n\nThe fix rejects a public key `A` when `[8]A` is the identity point. This covers all small-order points and their non-canonical encodings.\n\n#### Patches\nFixed in node-forge 1.4.3. `ed25519.verify()` returns `false` for small-order public keys.\n\n#### Workarounds\nBefore calling `ed25519.verify()` with a public key from untrusted input, reject keys whose 32-byte encoding is one of the small-order points (the identity `01 00 … 00` and the other encodings that libsodium blocks), or only verify against keys you generated or have otherwise validated.\n\n#### Resources\n- RFC 8032, Section 5.1.7 (Ed25519 verification): https://www.rfc-editor.org/rfc/rfc8032#section-5.1.7\n- GHSA-q67f-28xg-22rw / CVE-2026-33895 (a different Ed25519 verification issue, fixed in 1.4.0): https://github.com/digitalbazaar/forge/security/advisories/GHSA-q67f-28xg-22rw\n\n#### Severity\nCVSS 3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N (3.7, Low)\nCVSS 4.0 (informational): CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N (6.3)\nCVSS 4.0 rates this Moderate because its integrity weighting is higher; the severity rating follows CVSS 3.1.\n\n#### Credits\nReported by @analisaperlengkapan.\n\n### Proof of concept\nIdentity public key `A = 01 00 … 00` (32 bytes) and signature `R = 01 00 … 00`, `S = 00 … 00` (64 bytes):\n\n    forge.ed25519.verify({message: 'admin=true', encoding: 'utf8',\n      signature: SIG, publicKey: IDENTITY});\n    // \u003c= 1.4.2: true for any message; node:crypto.verify(): false\n    // 1.4.3: false\n\nOther small-order public keys (orders 2, 4 and 8, and non-canonical encodings) give forgeries for many messages with `S = 0` and a small-order `R`.\n\nRegression tests are in tests/unit/ed25519.js, and the reporter's PoC is in tests/pocs/ghsa-6889-vf6x-f3g5.js.\n\n### Impact\nApplications that verify Ed25519 signatures with node-forge against a public key that an attacker can choose are affected. An attacker can provide a small-order public key and then produce signatures that verify for many or all messages without a private key, defeating checks that rely on a signature being bound to its message under that key (proof of possession, attribution, non-repudiation, deduplication). Signatures under keys from honest key generation cannot be forged, and applications that only verify against their own or otherwise trusted keys are not affected.","status":"published","published":"2026-11-10T21:18:23Z","modified":"2026-11-10T21:30:03.999616287Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low"}],"cwes":["CWE-347"],"updated_at":"2026-11-10T21:43:49.326101Z"},{"id":"UBUNTU-CVE-2026-125335","description":"Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, ed25519.verify() decodes a public key in crypto_sign_open() without rejecting small-order points or their non-canonical encodings. With S = 0 and a small-order R value, an attacker who can choose the public key can produce signatures that verify for many messages, or all messages with the identity key, without a private key. This can defeat proof-of-possession, attribution, non-repudiation, or deduplication checks that rely on a signature being bound to the message. Keys produced by normal Ed25519 key generation are not small-order, so applications that verify only trusted or internally generated public keys are not affected. This issue is fixed in version 1.4.3.","status":"published","published":"2026-11-10T19:21:00Z","modified":"2026-11-24T14:55:17.316451934Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low"}],"updated_at":"2026-11-19T01:15:45.799042Z"},{"id":"AZL-113585","title":"CVE-2026-125335 affecting package python-tensorboard 2.16.2-6","description":"Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, ed25519.verify() decodes a public key in crypto_sign_open() without rejecting small-order points or their non-canonical encodings. With S = 0 and a small-order R value, an attacker who can choose the public key can produce signatures that verify for many messages, or all messages with the identity key, without a private key. This can defeat proof-of-possession, attribution, non-repudiation, or deduplication checks that rely on a signature being bound to the message. Keys produced by normal Ed25519 key generation are not small-order, so applications that verify only trusted or internally generated public keys are not affected. This issue is fixed in version 1.4.3.","status":"published","published":"2026-11-10T19:21:11Z","modified":"2026-11-13T14:17:23.406649466Z","updated_at":"2026-11-13T14:49:07.423243Z"},{"id":"CLSA-2026-1795258391","upstream":["CVE-2022-24771","CVE-2022-24772","CVE-2022-24773","CVE-2025-66030","CVE-2025-66031","CVE-2026-118775","CVE-2026-118776","CVE-2026-118777","CVE-2026-118778","CVE-2026-118779","CVE-2026-118780","CVE-2026-118781","CVE-2026-118782","CVE-2026-119186","CVE-2026-119187","CVE-2026-119188","CVE-2026-119189","CVE-2026-119190","CVE-2026-119191","CVE-2026-119192","CVE-2026-125332","CVE-2026-125333","CVE-2026-125334","CVE-2026-125335","CVE-2026-33891","CVE-2026-33894","CVE-2026-33895","CVE-2026-33896","CVE-2026-85393"],"title":"TuxCare security update for node-forge (29 CVEs)","description":"TuxCare rebuilt node-forge to address 29 CVEs. Fixed in 0.7.6-tuxcare.1.","status":"published","published":"2026-11-21T11:53:12Z","modified":"2026-12-05T03:13:09.796744541Z","updated_at":"2026-12-05T03:43:37.124277Z"},{"id":"CLSA-2026-1795514830","upstream":["CVE-2025-66030","CVE-2025-66031","CVE-2026-119189","CVE-2026-119191","CVE-2026-119192","CVE-2026-125332","CVE-2026-125333","CVE-2026-125334","CVE-2026-125335","CVE-2026-33891"],"title":"TuxCare security update for node-forge (10 CVEs)","description":"TuxCare rebuilt node-forge to address 10 CVEs. Fixed in 0.9.0-tuxcare.6.","status":"published","published":"2026-11-24T11:07:10Z","modified":"2026-12-05T03:13:08.727107558Z","updated_at":"2026-12-05T03:43:37.124277Z"},{"id":"CLSA-2026-1795795991","upstream":["CVE-2026-119189","CVE-2026-119191","CVE-2026-119192","CVE-2026-125333","CVE-2026-125334","CVE-2026-125335"],"title":"TuxCare security update for node-forge (6 CVEs)","description":"TuxCare rebuilt node-forge to address 6 CVEs. Fixed in 0.10.0-tuxcare.12.","status":"published","published":"2026-11-27T17:13:12Z","modified":"2026-11-27T19:45:05.648881222Z","updated_at":"2026-11-27T20:02:07.855504Z"}]}}
