CVE-2026-41565CryptX versions before 0.088_001 for Perl have a stack buffer overflow in four AEAD…
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.
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.10 | libcryptx-perl | Fix pending | UBUNTU-CVE-2026-41565 | |
| Ubuntu 26.04 | libcryptx-perl | Under investigation | UBUNTU-CVE-2026-41565 | |
| Ubuntu 25.10 | libcryptx-perl | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-41565 | |
| Ubuntu 24.04 | libcryptx-perl | Fix pending | UBUNTU-CVE-2026-41565 | |
| Ubuntu 22.04 | libcryptx-perl | Fix pending | UBUNTU-CVE-2026-41565 | |
| Ubuntu 20.04 | libcryptx-perl | Fix pending | UBUNTU-CVE-2026-41565 | |
| Ubuntu 18.04 | libcryptx-perl | Fix pending | UBUNTU-CVE-2026-41565 | |
| Debian 14 | libcryptx-perl | Fixed | 0.089-1 | DEBIAN-CVE-2026-41565 |
| Debian 13 | libcryptx-perl | Fix pending | DEBIAN-CVE-2026-41565 | |
| Debian 12 | libcryptx-perl | Fix pending | DEBIAN-CVE-2026-41565 |
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/57e69e541b0718ca8724c2f61514322a2d859bc1.patch (patch)
- https://github.com/DCIT/perl-CryptX/commit/7e56347d420aaf43b2ee1586f4a230492ccf1642.patch (patch)
- https://metacpan.org/release/MIK/CryptX-0.088_001 (release-notes)
References
- https://github.com/DCIT/perl-CryptX/commit/57e69e541b0718ca8724c2f61514322a2d859bc1.patch
- https://github.com/DCIT/perl-CryptX/commit/7e56347d420aaf43b2ee1586f4a230492ccf1642.patch
- https://metacpan.org/release/MIK/CryptX-0.088_001
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.