CVE-2026-85783

Source
https://cve.org/CVERecord?id=CVE-2026-85783
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85783.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-85783
Published
2026-10-20T21:29:03Z
Modified
2026-10-21T10:45:58Z
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.

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.

Database specific
{
    "cna_assigner":  "CPANSec",
    "cwe_ids":  [
        "CWE-405",
        "CWE-770"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85783.json"
}
References

Affected packages

Git / github.com/getty/p5-crypt-age

Affected ranges

Type
GIT
Repo
https://github.com/getty/p5-crypt-age
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "0.004"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

0.*
0.002
0.003

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85783.json"