CVE-2026-142928: crypto: rsassa-pkcs1 - reject undersized keys when verifying

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

crypto: rsassa-pkcs1 - reject undersized keys when verifying

rsassapkcs1verify() accepts any nonzero key size.

With a one-byte key and a zero RSA result, the leading-zero handling decrements dstlen to zero and advances outbuf past the allocation. The next outbuf[0] access reads out of bounds.

KASAN reports:

BUG: KASAN: slab-out-of-bounds in rsassapkcs1verify+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 Software

3 affected componentsFixes available
Linux Linux kernel
linux/kernel>=4.5.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  3. Compensating control

    During RSASSA-PKCS1-v1.5 verification, reject keys shorter than the minimum encoded-message size.

Event History

Dec 3, 2026
CVE Published
via MITRE·03:26 AM
Data Sourced
via MITRE·03:26 AM
Description
Data Sourced
via OSV·03:26 AM
DescriptionAffected Software
Data Sourced
via NVD·04:18 AM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203