
CVE catalog
CVE-2026-13758
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 wi
- Severity
- Medium · CVSS 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.40% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libcryptx-perl | sid | 0.091-1 | fixed |
| Debian | libcryptx-perl | forky | 0.091-1 | fixed |
| Debian | libcryptx-perl | trixie | 0.085-1+deb13u1 | vulnerable |
| Debian | libcryptx-perl | bookworm | 0.077-1 | vulnerable |
| Cpe | libcryptx-perl | Not reported | Not reported | vulnerable |
| Ubuntu | libcryptx-perl | pro | 0.078-1 | vulnerable |
| Ubuntu | libcryptx-perl | pro | 0.080-1 | vulnerable |
| Ubuntu | libcryptx-perl | pro | 0.080-2 | vulnerable |
| Ubuntu | libcryptx-perl | pro | 0.080-2build1 | vulnerable |
| Ubuntu | libcryptx-perl | pro | 0.080-2build2 | vulnerable |
| Ubuntu | libcryptx-perl | pro | 0.080-2build3 | vulnerable |
| Ubuntu | libcryptx-perl | pro | 0.080-2ubuntu0.1~esm1 | vulnerable |
| Ubuntu | libcryptx-perl | 25.10 | 0.085-1 | vulnerable |
| Ubuntu | libcryptx-perl | 25.10 | 0.087-1 | vulnerable |
| Ubuntu | libcryptx-perl | 26.04 | 0.087-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libcryptx-perl | source | sid | 0.089-1 | not yet assigned | Not reported | Not reported |
| Debian | libcryptx-perl | source | forky | 0.089-1 | not yet assigned | Not reported | Not reported |
| Debian | libcryptx-perl | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | libcryptx-perl | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
Notes
[trixie] libcryptx-perl: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libcryptx-perl]Affected
Source package: [libcryptx-perl]
Details (2)
0.077-1+b1· amd64 · bookwormAffected
nvd · libcryptx-perl · debian · bookworm; nvd · libcryptx-perl · debian · 12
0.077-1+b1· arm64 · bookwormAffected
nvd · libcryptx-perl · debian · bookworm; nvd · libcryptx-perl · debian · 12
[Debian 13 (Trixie)]
- [libcryptx-perl]Affected
Details (4)
0.085-1+deb13u1· amd64 · trixieAffected
nvd · libcryptx-perl · debian · 13
0.085-1+deb13u1· arm64 · trixieAffected
nvd · libcryptx-perl · debian · 13
0.090-1~bpo13+1· amd64 · trixie-backportsAffected
nvd · libcryptx-perl · debian · 13
0.090-1~bpo13+1· arm64 · trixie-backportsAffected
nvd · libcryptx-perl · debian · 13
Observed:
References
- [http://www.openwall.com/lists/oss-security/2026/06/29/19]
- [https://github.com/DCIT/perl-CryptX/commit/7e56347d420aaf43b2ee1586f4a230492ccf1642.patch]
- [https://metacpan.org/release/MIK/CryptX-0.088_001/changes]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-13758]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-13758]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-13758]
- [https://security-tracker.debian.org/tracker/CVE-2026-13758]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-13758.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-3403.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]