{"id":"CVE-2026-85783","state":"PUBLISHED","title":"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","description":"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.","publishedAt":"2026-10-20T21:29:03.284Z","updatedAt":"2026-10-30T13:01:33.954Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"CPANSec","products":["Crypt-Age"],"affected":[{"packageName":"Crypt-Age","packageURL":"pkg:cpan/Crypt-Age","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.004","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","modules":["Crypt::Age"],"programFiles":["lib/Crypt/Age/Header.pm"],"programRoutines":[{"name":"Crypt::Age::Header::parse_from_fh"},{"name":"Crypt::Age::Header::unwrap_file_key"}],"repo":"https://github.com/Getty/p5-crypt-age"}],"references":["https://metacpan.org/release/GETTY/Crypt-Age-0.004/changes","http://www.openwall.com/lists/oss-security/2026/10/20/39"],"weaknesses":["CWE-770","CWE-405"],"ingestedAt":"2026-10-30T13:18:06.291Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/85xxx/CVE-2026-85783.json","commit":"b5d1edeba86b964912c3143c2f57bd69bccbd7c7","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-85783","state":"PUBLISHED","datePublished":"2026-10-20T21:29:03.284Z","dateUpdated":"2026-10-30T13:01:33.954Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-09-04T16:29:19.634Z"},"containers":{"cna":{"title":"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","descriptions":[{"lang":"en","value":"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."}],"affected":[{"packageName":"Crypt-Age","packageURL":"pkg:cpan/Crypt-Age","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.004","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","modules":["Crypt::Age"],"programFiles":["lib/Crypt/Age/Header.pm"],"programRoutines":[{"name":"Crypt::Age::Header::parse_from_fh"},{"name":"Crypt::Age::Header::unwrap_file_key"}],"repo":"https://github.com/Getty/p5-crypt-age"}],"references":[{"url":"https://metacpan.org/release/GETTY/Crypt-Age-0.004/changes","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-770","description":"CWE-770 Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-405","description":"CWE-405 Asymmetric Resource Consumption (Amplification)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-10-20T21:29:03.284Z"},"solutions":[{"lang":"en","value":"Upgrade to Crypt-Age 0.004 or later."}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/10/20/39"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-10-21T00:17:19.299Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-10-30T13:01:30.141838Z","id":"CVE-2026-85783","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-30T13:01:33.954Z"}}]}}}