Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.
JavaScript aianthropiccross-platformgeminigroqlinuxmacosnvidiaopen-sourceopenaiparakeetspeech-to-texttranscribewhisperwindows
diff --git a/node_modules/node-forge/lib/rsa.js b/node_modules/node-forge/lib/rsa.js
--- a/node_modules/node-forge/lib/rsa.js
+++ b/node_modules/node-forge/lib/rsa.js
@@ -1168,11 +1168,16 @@
parseAllBytes: options._parseAllDigestBytes
});
- // validate DigestInfo structure and element count
+ // validate DigestInfo structure and element counts (outer DigestInfo
+ // and nested DigestAlgorithm). asn1.validate ignores extra children,
+ // so length must be checked explicitly at each nesting level to
+ // prevent low-exponent PKCS#1 v1.5 signature forgery (CVE-2026-85393).
var capture = {};
var errors = [];
if(!asn1.validate(obj, digestInfoValidator, capture, errors) ||
- obj.value.length !== 2) {
+ obj.value.length !== 2 ||
+ obj.value[0].value.length !==
+ (('parameters' in capture) ? 2 : 1)) {
var error = new Error(
'ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 ' +
'DigestInfo value.');