Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceComponentscrates.io

age

Library for the age file encryption format, with X25519, hybrid ML-KEM-768 plus X25519, P-256 tag, SSH key and scrypt passphrase recipients and ChaCha20-Poly1305 payload encryption.

In short

What to know.

Algorithms
X25519, X25519MLKEM768, ML-KEM, ECDH (Weierstrass curves) and 5 more3 of 9 would be broken by a large quantum computer.
Advisories
2 in the storeOSV last read 3 December 2026, 16:52 UTC.
What to do
Check your version against the advisories below. Each lists its affected and fixed versions. Plan a move away from X25519, ECDH (Weierstrass curves), RSA encryption before large quantum computers exist.

2 in the store

Advisories

Advisories for age
AdvisoryIdAffected versionsFixed inSource's rating
rage vulnerable to malicious plugin names, recipients, or identities causing arbitrary binary executionGHSA-4fg7-vxc8-qx5wfrom 0.6.0 before 0.6.1; listed versions 0.6.0; from 0.7.0 before 0.7.2; from 0.8.0 before 0.8.2; from 0.9.0 before 0.9.3; from 0.10.0 before 0.10.1; listed versions 0.10.0; from 0.11.0 before 0.11.1; listed versions 0.11.0Fixed in 0.6.1, 0.7.2, 0.8.2, 0.9.3, 0.10.1, 0.11.1Rated Moderate
Malicious plugin names, recipients, or identities can cause arbitrary binary executionRUSTSEC-2024-0433from 0.11.0 before 0.11.1Fixed in 0.11.1

1 listed

Findings

Findings for age
FindingIdSeverityUpdated
Malicious plugin names, recipients, or identities can cause arbitrary binary executionNMN-2026-01753 December 2026

Reviewed 3 December 2026

Sources

  1. crates.io metadata for agecrates.ioRetrieved 3 December 2026
  2. age 0.13.0 README on crates.iocrates.ioRetrieved 3 December 2026
  3. age documentation: all itemsdocs.rsRetrieved 3 December 2026
  4. age crate changelograw.githubusercontent.comRetrieved 3 December 2026
  5. age file format specification (C2SP): the MLKEM768-X25519 hybrid recipient typegithub.comRetrieved 3 December 2026

Full record

Package
age
Ecosystem
crates.io
Role
Protocol
Status
Not marked deprecated by its registry or maintainers.
Notes
Version 0.13 added the hybrid post-quantum pq recipients and gates the classical X25519, SSH and tag recipients behind default-on legacy features. SSH RSA recipients use RSA-OAEP.
Reviewed
Entry reviewed 3 December 2026. Catalogue entry, curated by hand and incomplete by design.
Advisories read
Last read from OSV 3 December 2026, 16:52 UTC
Findings
1 listed above.

Algorithms it provides

  • X25519 key-exchangeClassical public keyBroken by Shor's algorithm
  • X25519MLKEM768 kemHybridHybrid
  • ML-KEM kemPost-quantumDesigned to resist
  • ECDH (Weierstrass curves) key-exchangeClassical public keyBroken by Shor's algorithm
  • RSA encryption public-key-encryptionClassical public keyBroken by Shor's algorithm
  • scrypt password-hashSymmetricWeakened by Grover's search
  • ChaCha20-Poly1305 aeadSymmetricWeakened by Grover's search
  • HKDF kdfSymmetricWeakened by Grover's search
  • HMAC macSymmetricWeakened by Grover's search

What a large quantum computer would change

  • Broken by Shor's algorithmRests on factoring or discrete logarithms. A large fault-tolerant quantum computer running Shor's algorithm would break it.X25519, ECDH (Weierstrass curves), RSA encryption
  • HybridCombines a classical scheme with a post-quantum one, so an attacker has to break both parts.X25519MLKEM768
  • Designed to resistDesigned to resist known quantum attacks. That is a design goal, not a proof.ML-KEM
  • Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.scrypt, ChaCha20-Poly1305, HKDF, HMAC

Notes describe algorithm families, not any one project.