{"id":"CVE-2026-142928","summary":"crypto: rsassa-pkcs1 - reject undersized keys when verifying","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: rsassa-pkcs1 - reject undersized keys when verifying\n\nrsassa_pkcs1_verify() accepts any nonzero key size.\n\nWith a one-byte key and a zero RSA result, the leading-zero handling\ndecrements dst_len to zero and advances out_buf past the allocation.\nThe next out_buf[0] access reads out of bounds.\n\nKASAN reports:\n\n    BUG: KASAN: slab-out-of-bounds in rsassa_pkcs1_verify+0x79d/0x900\n    Read of size 1 at addr ...\n    The buggy address is located 0 bytes to the right of\n     allocated 73-byte region [...]\n\nReject keys shorter than the minimum PKCS#1 v1.5 encoded message size.","modified":"2026-12-03T05:01:13.188724534Z","published":"2026-12-03T03:26:03.803Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142928.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/364e520095b26fa551a8e92f52119d0f38a4177b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/59d6120af151abbab94f674f8bfb0292ed822ff2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9c35f7d27ef103ce8f3ec60bcfc39a138cca7ea7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142928.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142928"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3d5b1ecdea6fb94f8c61554fcb2ba776a2d3d0e6"},{"fixed":"59d6120af151abbab94f674f8bfb0292ed822ff2"},{"fixed":"9c35f7d27ef103ce8f3ec60bcfc39a138cca7ea7"},{"fixed":"364e520095b26fa551a8e92f52119d0f38a4177b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142928.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.5.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142928.json"}}],"schema_version":"1.9.2"}