CVE-2026-64314: crypto: chacha20poly1305 - validate poly1305 template argument

Published Jul 25, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

crypto: chacha20poly1305 - validate poly1305 template argument

chachapolycreate() still accepts the compatibility poly1305 parameter in the template name, but it assumes the second template argument is always present and immediately passes it to strcmp().

When the argument is missing, cryptoattralgname() returns an error pointer. Check for that before comparing the name so malformed template instantiations fail with an error instead of dereferencing the error pointer in strcmp().

This matches the surrounding Crypto API template pattern where cryptoattralgname() results are validated before string-specific use.

Affected Software

3 affected components
Linux Linux kernel
Linux Linux kernel>=6.16<6.18.39
Linux Linux kernel>=6.19<7.1.4

Event History

Jul 25, 2026
CVE Published
via MITRE·08:49 AM
Data Sourced
via MITRE·08:49 AM
Description
Data Sourced
via NVD·10:17 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What access does an attacker need to trigger this issue?

The CVSS vector indicates local access and low privileges are required. No user interaction is needed.

2

What is the impact of successful exploitation?

A malformed ChaCha20-Poly1305 Crypto API template instantiation can cause the kernel to dereference an error pointer in strcmp(), resulting in a denial of service. The supplied CVSS vector rates availability impact as high, with no confidentiality or integrity impact.

3

How can affected systems be remediated?

Apply the available Linux kernel patch. The fix validates the Poly1305 template argument before comparing its name, causing malformed instantiations to return an error rather than dereference an invalid pointer.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203