1. Home
  2. Vulnerabilities
  3. CVE-2026-142928

CVE-2026-142928

crypto: rsassa-pkcs1 - reject undersized keys when verifying

Published 3 Dec 2026 · modified 3 Dec 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 16/100

Summary

In the Linux kernel, the following vulnerability has been resolved: crypto: rsassa-pkcs1 - reject undersized keys when verifying rsassa_pkcs1_verify() accepts any nonzero key size. With a one-byte key and a zero RSA result, the leading-zero handling decrements dst_len to zero and advances out_buf past the allocation. The next out_buf[0] access reads out of bounds. KASAN reports: BUG: KASAN: slab-out-of-bounds in rsassa_pkcs1_verify+0x79d/0x900 Read of size 1 at addr ... The buggy address is located 0 bytes to the right of allocated 73-byte region [...] Reject keys shorter than the minimum PKCS#1 v1.5 encoded message size.

Affected products and versions

Linux (1 line(s))
Linux
ProductVersionsFixed inSource
Linux 4.5 — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)

How this data is obtained and calculated