CVE-2026-64314

Source
https://cve.org/CVERecord?id=CVE-2026-64314
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64314.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64314
Downstream
Published
2026-07-25T08:49:45.170Z
Modified
2026-07-27T04:00:56.342885591Z
Summary
crypto: chacha20poly1305 - validate poly1305 template argument
Details

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, cryptoattralg_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 cryptoattralg_name() results are validated before string-specific use.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64314.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a298765e28adaea199f722142c10dae7e24dedf8
Fixed
0016d3c21c6ab60a20be7f565cefb5999f3adeb6
Fixed
e74df53b36cdc6b6b9e5488ec883d1d55624737f
Fixed
265b861bece38318b8e0fc8fac0643d4ef906d31

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64314.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.16.0
Fixed
6.18.39
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64314.json"