Description
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.
Published: 2026-12-03
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No solution or workaround provided in the CVE record.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Dec 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Thu, 03 Dec 2026 03:45:00 +0000

Type Values Removed Values Added
Description 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.
Title crypto: rsassa-pkcs1 - reject undersized keys when verifying
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-12-03T03:26:03.803Z

Reserved: 2026-12-03T03:10:28.338Z

Link: CVE-2026-142928

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-03T04:18:33.717

Modified: 2026-12-03T04:18:33.717

Link: CVE-2026-142928

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-12-03T03:26:03Z

Links: CVE-2026-142928 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses