CVE-2026-13758CryptX versions before 0.088_001 for Perl compare AEAD authentication tags in…
CryptX versions before 0.088_001 for Perl compare AEAD authentication tags in non-constant time in the streaming decrypt_done path. The decrypt_done($tag) form compares it against the computed tag with memNE (memcmp() != 0), which short-circuits on the first differing byte, so its run time depends on the number of matching leading bytes. This affects all five AEAD modes: GCM, CCM, ChaCha20Poly1305, EAX and OCB. The one-shot *_decrypt_verify helpers are unaffected; they verify the tag inside libtomcrypt with a constant-time comparison. The timing difference is a tag-verification oracle. An attacker who can submit many candidate tags for the same nonce, ciphertext and associated data while measuring the timing precisely enough may recover the expected tag byte by byte and forge a message that verifies.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | libcryptx-perl | Under investigation | UBUNTU-CVE-2026-13758 | |
| Ubuntu 25.10 | libcryptx-perl | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-13758 | |
| Ubuntu 24.04 | libcryptx-perl | Fix pending | UBUNTU-CVE-2026-13758 | |
| Ubuntu 22.04 | libcryptx-perl | Fix pending | UBUNTU-CVE-2026-13758 | |
| Ubuntu 20.04 | libcryptx-perl | Fix pending | UBUNTU-CVE-2026-13758 | |
| Ubuntu 18.04 | libcryptx-perl | Fix pending | UBUNTU-CVE-2026-13758 | |
| Debian 14 | libcryptx-perl | Fixed | 0.089-1 | DEBIAN-CVE-2026-13758 |
| Debian 13 | libcryptx-perl | Fix pending | DEBIAN-CVE-2026-13758 | |
| Debian 12 | libcryptx-perl | Fix pending | DEBIAN-CVE-2026-13758 |
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- MIK CryptX: affected: before 0.088_001; fixed in
0.088_001
Solution: Upgrade to CryptX 0.088_001 or later.
Vendor advisories:
- https://github.com/DCIT/perl-CryptX/commit/7e56347d420aaf43b2ee1586f4a230492ccf1642.patch (patch)
- https://metacpan.org/release/MIK/CryptX-0.088_001/changes (release-notes)
References
- https://github.com/DCIT/perl-CryptX/commit/7e56347d420aaf43b2ee1586f4a230492ccf1642.patch
- https://metacpan.org/release/MIK/CryptX-0.088_001/changes
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.