{"id":"CVE-2026-41565","state":"PUBLISHED","title":"CryptX versions before 0.088_001 for Perl have a stack buffer overflow in four AEAD decrypt_verify helpers","description":"CryptX versions before 0.088_001 for Perl have a stack buffer overflow in four AEAD decrypt_verify helpers.\n\nThe 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.\n\nAny caller of an affected helper that forwards an attacker-controlled tag longer than the buffer can trigger the overflow.","publishedAt":"2026-05-28T14:13:19.301Z","updatedAt":"2026-05-29T15:53:39.530Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"CPANSec","products":["MIK CryptX"],"affected":[{"vendor":"MIK","product":"CryptX","packageName":"CryptX","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.088_001","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["inc/CryptX_AuthEnc_GCM.xs.inc","inc/CryptX_AuthEnc_CCM.xs.inc","inc/CryptX_AuthEnc_ChaCha20Poly1305.xs.inc","inc/CryptX_AuthEnc_EAX.xs.inc"],"programRoutines":[{"name":"gcm_decrypt_verify"},{"name":"ccm_decrypt_verify"},{"name":"chacha20poly1305_decrypt_verify"},{"name":"eax_decrypt_verify"}],"repo":"https://github.com/DCIT/perl-CryptX"}],"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","http://www.openwall.com/lists/oss-security/2026/05/28/10"],"weaknesses":["CWE-121"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/41xxx/CVE-2026-41565.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-41565","state":"PUBLISHED","datePublished":"2026-05-28T14:13:19.301Z","dateUpdated":"2026-05-29T15:53:39.530Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-04-21T12:45:20.133Z"},"containers":{"cna":{"title":"CryptX versions before 0.088_001 for Perl have a stack buffer overflow in four AEAD decrypt_verify helpers","descriptions":[{"lang":"en","value":"CryptX versions before 0.088_001 for Perl have a stack buffer overflow in four AEAD decrypt_verify helpers.\n\nThe 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.\n\nAny caller of an affected helper that forwards an attacker-controlled tag longer than the buffer can trigger the overflow."}],"affected":[{"vendor":"MIK","product":"CryptX","packageName":"CryptX","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.088_001","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["inc/CryptX_AuthEnc_GCM.xs.inc","inc/CryptX_AuthEnc_CCM.xs.inc","inc/CryptX_AuthEnc_ChaCha20Poly1305.xs.inc","inc/CryptX_AuthEnc_EAX.xs.inc"],"programRoutines":[{"name":"gcm_decrypt_verify"},{"name":"ccm_decrypt_verify"},{"name":"chacha20poly1305_decrypt_verify"},{"name":"eax_decrypt_verify"}],"repo":"https://github.com/DCIT/perl-CryptX"}],"references":[{"url":"https://github.com/DCIT/perl-CryptX/commit/57e69e541b0718ca8724c2f61514322a2d859bc1.patch","tags":["patch"]},{"url":"https://github.com/DCIT/perl-CryptX/commit/7e56347d420aaf43b2ee1586f4a230492ccf1642.patch","tags":["patch"]},{"url":"https://metacpan.org/release/MIK/CryptX-0.088_001","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","description":"CWE-121 Stack-based Buffer Overflow","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-05-28T14:13:19.301Z"},"solutions":[{"lang":"en","value":"Upgrade to CryptX 0.088_001 or later."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2026-04-21T00:00:00.000Z","value":"Issue reported."},{"lang":"en","time":"2026-04-23T00:00:00.000Z","value":"Version 0.088 released with fix for gcm_decrypt_verify."},{"lang":"en","time":"2026-04-28T00:00:00.000Z","value":"Version 0.088_001 released with fixes for the remaining three helpers."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/05/28/10"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-05-28T22:33:27.672Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-05-29T15:53:14.685373Z","id":"CVE-2026-41565","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-29T15:53:39.530Z"}}]}}}