CVE-2026-64314

published 25 Jul 2026 · updated 17 Aug 2026

crypto: chacha20poly1305 - validate poly1305 template argument

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0016d3c21c6ab60a20be7f565cefb5999f3adeb6, Kernel 265b861bece38318b8e0fc8fac0643d4ef906d31 and Kernel e74df53b36cdc6b6b9e5488ec883d1d55624737f.

In the Linux kernel, the following vulnerability has been resolved: crypto: chacha20poly1305 - validate poly1305 template argument chachapoly_create() 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, crypto_attr_alg_name() 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 crypto_attr_alg_name() results are validated before string-specific use.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.16, >=a298765e28adaea199f722142c10dae7e24dedf8 <0016d3c21c6ab60a20be7f565cefb5999f3adeb6, >=a298765e28adaea199f722142c10dae7e24dedf8 <265b861bece38318b8e0fc8fac0643d4ef906d31, >=a298765e28adaea199f722142c10dae7e24dedf8 <e74df53b36cdc6b6b9e5488ec883d1d55624737f0016d3c21c6ab60a20be7f565cefb5999f3adeb6, 265b861bece38318b8e0fc8fac0643d4ef906d31, e74df53b36cdc6b6b9e5488ec883d1d55624737f

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-64314 severity on Zeptric[![CVE-2026-64314](https://zeptric.io/badge/cve/CVE-2026-64314.svg)](https://zeptric.io/cve/CVE-2026-64314)