{"api_version":"1","generated_at":"2026-07-26T19:29:34+00:00","cve":"CVE-2026-64313","urls":{"html":"https://cve.report/CVE-2026-64313","api":"https://cve.report/api/cve/CVE-2026-64313.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-64313","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-64313"},"summary":{"title":"crypto: ecc - Fix carry overflow in vli multiplication","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: ecc - Fix carry overflow in vli multiplication\n\nThe carry flag calculation fails when r01.m_high is saturated\n(0xFFFFFFFFFFFFFFFF) and addition of lower bits overflows.\n\nThe condition (r01.m_high < product.m_high) doesn't handle the case\nwhere r01.m_high == product.m_high and an additional carry exists\nfrom lower-bit overflow.\n\nWhen commit 3c4b23901a0c (\"crypto: ecdh - Add ECDH software support\")\nintroduced crypto/ecc.c, it split the muladd() function in the\nmicro-ecc library into separate mul_64_64() and add_128_128() helpers.\nIt seems the check got lost in translation.\n\nAdd proper handling for this boundary by accounting for the carry\nfrom the lower addition.","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/774ddddf5eb26eeca177350413e3e2bc50930ee9","name":"https://git.kernel.org/stable/c/774ddddf5eb26eeca177350413e3e2bc50930ee9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d11b2bb99bec1f5557c01cac42231e23745f49b8","name":"https://git.kernel.org/stable/c/d11b2bb99bec1f5557c01cac42231e23745f49b8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/24a54dfa06d09813b4802a374fad3d2c0e16a884","name":"https://git.kernel.org/stable/c/24a54dfa06d09813b4802a374fad3d2c0e16a884","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/677450e5ef850c4d28b7956aa01104548c2a894e","name":"https://git.kernel.org/stable/c/677450e5ef850c4d28b7956aa01104548c2a894e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b709e0e768766abe29a49e1c1922a1604be602f4","name":"https://git.kernel.org/stable/c/b709e0e768766abe29a49e1c1922a1604be602f4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ebaae7c4251cc0cdb2602f334d4f08a3e82d271e","name":"https://git.kernel.org/stable/c/ebaae7c4251cc0cdb2602f334d4f08a3e82d271e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5275e0fca256d081e2e7d4ba3dd8216c6e50d44e","name":"https://git.kernel.org/stable/c/5275e0fca256d081e2e7d4ba3dd8216c6e50d44e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/27b536a2ec8e2f85a0380c2d13c9ecbc7aaab406","name":"https://git.kernel.org/stable/c/27b536a2ec8e2f85a0380c2d13c9ecbc7aaab406","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-64313","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64313","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3c4b23901a0c766879dff680cd6bdab47bcdbbd2 d11b2bb99bec1f5557c01cac42231e23745f49b8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3c4b23901a0c766879dff680cd6bdab47bcdbbd2 b709e0e768766abe29a49e1c1922a1604be602f4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3c4b23901a0c766879dff680cd6bdab47bcdbbd2 24a54dfa06d09813b4802a374fad3d2c0e16a884 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3c4b23901a0c766879dff680cd6bdab47bcdbbd2 677450e5ef850c4d28b7956aa01104548c2a894e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3c4b23901a0c766879dff680cd6bdab47bcdbbd2 5275e0fca256d081e2e7d4ba3dd8216c6e50d44e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3c4b23901a0c766879dff680cd6bdab47bcdbbd2 774ddddf5eb26eeca177350413e3e2bc50930ee9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3c4b23901a0c766879dff680cd6bdab47bcdbbd2 ebaae7c4251cc0cdb2602f334d4f08a3e82d271e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3c4b23901a0c766879dff680cd6bdab47bcdbbd2 27b536a2ec8e2f85a0380c2d13c9ecbc7aaab406 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.8","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.8 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.261 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.212 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.178 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.145 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.96 6.12.* 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":"64313","cve":"CVE-2026-64313","epss":"0.002200000","percentile":"0.126010000","score_date":"2026-07-25","updated_at":"2026-07-26 00:12:33"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["crypto/ecc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"d11b2bb99bec1f5557c01cac42231e23745f49b8","status":"affected","version":"3c4b23901a0c766879dff680cd6bdab47bcdbbd2","versionType":"git"},{"lessThan":"b709e0e768766abe29a49e1c1922a1604be602f4","status":"affected","version":"3c4b23901a0c766879dff680cd6bdab47bcdbbd2","versionType":"git"},{"lessThan":"24a54dfa06d09813b4802a374fad3d2c0e16a884","status":"affected","version":"3c4b23901a0c766879dff680cd6bdab47bcdbbd2","versionType":"git"},{"lessThan":"677450e5ef850c4d28b7956aa01104548c2a894e","status":"affected","version":"3c4b23901a0c766879dff680cd6bdab47bcdbbd2","versionType":"git"},{"lessThan":"5275e0fca256d081e2e7d4ba3dd8216c6e50d44e","status":"affected","version":"3c4b23901a0c766879dff680cd6bdab47bcdbbd2","versionType":"git"},{"lessThan":"774ddddf5eb26eeca177350413e3e2bc50930ee9","status":"affected","version":"3c4b23901a0c766879dff680cd6bdab47bcdbbd2","versionType":"git"},{"lessThan":"ebaae7c4251cc0cdb2602f334d4f08a3e82d271e","status":"affected","version":"3c4b23901a0c766879dff680cd6bdab47bcdbbd2","versionType":"git"},{"lessThan":"27b536a2ec8e2f85a0380c2d13c9ecbc7aaab406","status":"affected","version":"3c4b23901a0c766879dff680cd6bdab47bcdbbd2","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["crypto/ecc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.8"},{"lessThan":"4.8","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.261","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.212","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.178","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.145","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.96","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":"5.10.261","versionStartIncluding":"4.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.212","versionStartIncluding":"4.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.178","versionStartIncluding":"4.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.145","versionStartIncluding":"4.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.96","versionStartIncluding":"4.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.39","versionStartIncluding":"4.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.4","versionStartIncluding":"4.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2-rc1","versionStartIncluding":"4.8","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: ecc - Fix carry overflow in vli multiplication\n\nThe carry flag calculation fails when r01.m_high is saturated\n(0xFFFFFFFFFFFFFFFF) and addition of lower bits overflows.\n\nThe condition (r01.m_high < product.m_high) doesn't handle the case\nwhere r01.m_high == product.m_high and an additional carry exists\nfrom lower-bit overflow.\n\nWhen commit 3c4b23901a0c (\"crypto: ecdh - Add ECDH software support\")\nintroduced crypto/ecc.c, it split the muladd() function in the\nmicro-ecc library into separate mul_64_64() and add_128_128() helpers.\nIt seems the check got lost in translation.\n\nAdd proper handling for this boundary by accounting for the carry\nfrom the lower addition."}],"providerMetadata":{"dateUpdated":"2026-07-25T08:49:44.546Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/d11b2bb99bec1f5557c01cac42231e23745f49b8"},{"url":"https://git.kernel.org/stable/c/b709e0e768766abe29a49e1c1922a1604be602f4"},{"url":"https://git.kernel.org/stable/c/24a54dfa06d09813b4802a374fad3d2c0e16a884"},{"url":"https://git.kernel.org/stable/c/677450e5ef850c4d28b7956aa01104548c2a894e"},{"url":"https://git.kernel.org/stable/c/5275e0fca256d081e2e7d4ba3dd8216c6e50d44e"},{"url":"https://git.kernel.org/stable/c/774ddddf5eb26eeca177350413e3e2bc50930ee9"},{"url":"https://git.kernel.org/stable/c/ebaae7c4251cc0cdb2602f334d4f08a3e82d271e"},{"url":"https://git.kernel.org/stable/c/27b536a2ec8e2f85a0380c2d13c9ecbc7aaab406"}],"title":"crypto: ecc - Fix carry overflow in vli multiplication","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-64313","datePublished":"2026-07-25T08:49:44.546Z","dateReserved":"2026-07-19T15:36:31.779Z","dateUpdated":"2026-07-25T08:49:44.546Z","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":"64313","Ordinal":"1","Title":"crypto: ecc - Fix carry overflow in vli multiplication","CVE":"CVE-2026-64313","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"64313","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: ecc - Fix carry overflow in vli multiplication\n\nThe carry flag calculation fails when r01.m_high is saturated\n(0xFFFFFFFFFFFFFFFF) and addition of lower bits overflows.\n\nThe condition (r01.m_high < product.m_high) doesn't handle the case\nwhere r01.m_high == product.m_high and an additional carry exists\nfrom lower-bit overflow.\n\nWhen commit 3c4b23901a0c (\"crypto: ecdh - Add ECDH software support\")\nintroduced crypto/ecc.c, it split the muladd() function in the\nmicro-ecc library into separate mul_64_64() and add_128_128() helpers.\nIt seems the check got lost in translation.\n\nAdd proper handling for this boundary by accounting for the carry\nfrom the lower addition.","Type":"Description","Title":"crypto: ecc - Fix carry overflow in vli multiplication"}]}}}