# 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

- Severity: Low 3.7 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- 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.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-06-29T20:42:14.612Z
- Modified: 2026-10-25T21:10:00.770Z
- Weaknesses: CWE-208
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CPANSec

## Description

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.

(As written by CVE List.)

## Affected

- CryptX: before 0.088_001

## References

- <https://github.com/DCIT/perl-CryptX/commit/7e56347d420aaf43b2ee1586f4a230492ccf1642.patch> (patch)
- <https://metacpan.org/release/MIK/CryptX-0.088_001/changes> (release-notes)
- <http://www.openwall.com/lists/oss-security/2026/06/29/19>

## Sources

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

---

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