{"id":"CVE-2026-85783","summary":"Crypt::Age versions before 0.004 for Perl allow CPU exhaustion via an unbounded number of recipient stanzas, each costing an X25519 scalar multiplication in unwrap_file_key","details":"Crypt::Age versions before 0.004 for Perl allow CPU exhaustion via an unbounded number of recipient stanzas, each costing an X25519 scalar multiplication in unwrap_file_key.\n\nThe header parser accepts any number of recipient stanzas, and unwrap_file_key tries every identity against every X25519 stanza. Each attempt runs a scalar multiplication, an HKDF and a ChaCha20-Poly1305 open. The header MAC cannot be checked first, because its key comes from the file key, which only a successful unwrap produces.\n\nEach stanza is 98 bytes of attacker-chosen header and buys one scalar multiplication per identity held, and the file is rejected only after every one of them has run. A caller reaches this through decrypt, decrypt_file or decrypt_filehandle whenever it decrypts a file it did not write.","modified":"2026-10-21T10:45:58.662760083Z","published":"2026-10-20T21:29:03.284Z","database_specific":{"cwe_ids":["CWE-405","CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85783.json","cna_assigner":"CPANSec"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/10/20/39"},{"type":"WEB","url":"https://cpan.org/modules"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85783.json"},{"type":"PACKAGE","url":"https://github.com/Getty/p5-crypt-age"},{"type":"ADVISORY","url":"https://metacpan.org/release/GETTY/Crypt-Age-0.004/changes"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85783"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/getty/p5-crypt-age","events":[{"introduced":"0"},{"fixed":"385bef5b07dce4b1b4da5d5dd9132bd38722b059"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"0.004"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["0.003","0.002"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85783.json"}}],"schema_version":"1.9.0"}