{"api_version":"1","generated_at":"2026-08-01T19:54:52+00:00","cve":"CVE-2026-64314","urls":{"html":"https://cve.report/CVE-2026-64314","api":"https://cve.report/api/cve/CVE-2026-64314.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-64314","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-64314"},"summary":{"title":"crypto: chacha20poly1305 - validate poly1305 template argument","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: chacha20poly1305 - validate poly1305 template argument\n\nchachapoly_create() still accepts the compatibility poly1305 parameter\nin the template name, but it assumes the second template argument is\nalways present and immediately passes it to strcmp().\n\nWhen the argument is missing, crypto_attr_alg_name() returns an error\npointer. Check for that before comparing the name so malformed template\ninstantiations fail with an error instead of dereferencing the error\npointer in strcmp().\n\nThis matches the surrounding Crypto API template pattern where\ncrypto_attr_alg_name() results are validated before string-specific use.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-07-25 10:17:12","updated_at":"2026-07-25 10:17:12"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/265b861bece38318b8e0fc8fac0643d4ef906d31","name":"https://git.kernel.org/stable/c/265b861bece38318b8e0fc8fac0643d4ef906d31","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0016d3c21c6ab60a20be7f565cefb5999f3adeb6","name":"https://git.kernel.org/stable/c/0016d3c21c6ab60a20be7f565cefb5999f3adeb6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e74df53b36cdc6b6b9e5488ec883d1d55624737f","name":"https://git.kernel.org/stable/c/e74df53b36cdc6b6b9e5488ec883d1d55624737f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-64314","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64314","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a298765e28adaea199f722142c10dae7e24dedf8 0016d3c21c6ab60a20be7f565cefb5999f3adeb6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a298765e28adaea199f722142c10dae7e24dedf8 e74df53b36cdc6b6b9e5488ec883d1d55624737f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a298765e28adaea199f722142c10dae7e24dedf8 265b861bece38318b8e0fc8fac0643d4ef906d31 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.16","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.39 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.4 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"64314","cve":"CVE-2026-64314","epss":"0.001980000","percentile":"0.098930000","score_date":"2026-07-28","updated_at":"2026-07-29 00:05:33"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["crypto/chacha20poly1305.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"0016d3c21c6ab60a20be7f565cefb5999f3adeb6","status":"affected","version":"a298765e28adaea199f722142c10dae7e24dedf8","versionType":"git"},{"lessThan":"e74df53b36cdc6b6b9e5488ec883d1d55624737f","status":"affected","version":"a298765e28adaea199f722142c10dae7e24dedf8","versionType":"git"},{"lessThan":"265b861bece38318b8e0fc8fac0643d4ef906d31","status":"affected","version":"a298765e28adaea199f722142c10dae7e24dedf8","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["crypto/chacha20poly1305.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.16"},{"lessThan":"6.16","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.39","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.39","versionStartIncluding":"6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.4","versionStartIncluding":"6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2-rc1","versionStartIncluding":"6.16","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: chacha20poly1305 - validate poly1305 template argument\n\nchachapoly_create() still accepts the compatibility poly1305 parameter\nin the template name, but it assumes the second template argument is\nalways present and immediately passes it to strcmp().\n\nWhen the argument is missing, crypto_attr_alg_name() returns an error\npointer. Check for that before comparing the name so malformed template\ninstantiations fail with an error instead of dereferencing the error\npointer in strcmp().\n\nThis matches the surrounding Crypto API template pattern where\ncrypto_attr_alg_name() results are validated before string-specific use."}],"providerMetadata":{"dateUpdated":"2026-07-25T08:49:45.170Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/0016d3c21c6ab60a20be7f565cefb5999f3adeb6"},{"url":"https://git.kernel.org/stable/c/e74df53b36cdc6b6b9e5488ec883d1d55624737f"},{"url":"https://git.kernel.org/stable/c/265b861bece38318b8e0fc8fac0643d4ef906d31"}],"title":"crypto: chacha20poly1305 - validate poly1305 template argument","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-64314","datePublished":"2026-07-25T08:49:45.170Z","dateReserved":"2026-07-19T15:36:31.779Z","dateUpdated":"2026-07-25T08:49:45.170Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-25 10:17:12","lastModifiedDate":"2026-07-25 10:17:12","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"64314","Ordinal":"1","Title":"crypto: chacha20poly1305 - validate poly1305 template argument","CVE":"CVE-2026-64314","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"64314","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: chacha20poly1305 - validate poly1305 template argument\n\nchachapoly_create() still accepts the compatibility poly1305 parameter\nin the template name, but it assumes the second template argument is\nalways present and immediately passes it to strcmp().\n\nWhen the argument is missing, crypto_attr_alg_name() returns an error\npointer. Check for that before comparing the name so malformed template\ninstantiations fail with an error instead of dereferencing the error\npointer in strcmp().\n\nThis matches the surrounding Crypto API template pattern where\ncrypto_attr_alg_name() results are validated before string-specific use.","Type":"Description","Title":"crypto: chacha20poly1305 - validate poly1305 template argument"}]}}}