CVE-2026-64314
MEDIUM 5.5CVSS 3.1In 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.
- Published
- 25 Jul 2026
- Last modified
- 24 Oct 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Weakness
- CWE-476
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.16, < 6.18.39 | 6.18.39 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.19, < 7.1.4 | 7.1.4 |
References
- https://git.kernel.org/stable/c/0016d3c21c6ab60a20be7f565cefb5999f3adeb6 · Patch
- https://git.kernel.org/stable/c/265b861bece38318b8e0fc8fac0643d4ef906d31 · Patch
- https://git.kernel.org/stable/c/e74df53b36cdc6b6b9e5488ec883d1d55624737f · Patch
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 25 Jul 2026)