# CVE-2026-85783: 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

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Published: 2026-10-20T21:29:03.284Z
- Modified: 2026-10-30T13:20:15.720Z
- Weaknesses: CWE-405, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## 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.

The 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.

Each 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.

(As written by CVE List.)

## Affected

- Crypt-Age: before 0.004

## References

- <https://metacpan.org/release/GETTY/Crypt-Age-0.004/changes> (release-notes)
- <http://www.openwall.com/lists/oss-security/2026/10/20/39>

## Sources

- CVE List: [CVE-2026-85783](https://www.cve.org/CVERecord?id=CVE-2026-85783), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-85783](https://nvd.nist.gov/vuln/detail/CVE-2026-85783), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-85783 · Whole record: https://cve.day/CVE-2026-85783.json · Rebuilt by cve.day 2026-11-25T22:59:46.377Z
