# CVE-2026-41565: CryptX versions before 0.088_001 for Perl have a stack buffer overflow in four AEAD decrypt_verify helpers

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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.47%, higher than 42% of CVEs (2026-12-02)
- Published: 2026-05-28T14:13:19.301Z
- Modified: 2026-10-26T13:10:00.140Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## Description

CryptX versions before 0.088_001 for Perl have a stack buffer overflow in four AEAD decrypt_verify helpers.

The gcm_decrypt_verify, ccm_decrypt_verify, chacha20poly1305_decrypt_verify and eax_decrypt_verify XS routines copied the caller-supplied authentication tag into a fixed 144-byte stack buffer (MAXBLOCKSIZE) without checking the supplied length. A longer tag overwrites the stack past the buffer. Version 0.088 added the clamp to gcm_decrypt_verify, and 0.088_001 added it to the other three.

Any caller of an affected helper that forwards an attacker-controlled tag longer than the buffer can trigger the overflow.

(As written by CVE List.)

## Affected

- CryptX: before 0.088_001

## References

- <https://github.com/DCIT/perl-CryptX/commit/57e69e541b0718ca8724c2f61514322a2d859bc1.patch> (patch)
- <https://github.com/DCIT/perl-CryptX/commit/7e56347d420aaf43b2ee1586f4a230492ccf1642.patch> (patch)
- <https://metacpan.org/release/MIK/CryptX-0.088_001> (release-notes)
- <http://www.openwall.com/lists/oss-security/2026/05/28/10>

## Sources

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

---

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