crypto: rsassa-pkcs1 - reject undersized keys when signing

Check todayFull system takeover with local access.
7HIGH

CVE-2026-139706

Key Information:

Vendor

Linux

Status
CVE ID
CVE ID:
CVE-2026-139706
Vendor
CVE Published:
30 November 2026
Fixed in
Fixed in:
6.18.65, 7.3.6, 7.4-rc1

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • No: Needs local access
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Update to a fixed version

Several version ranges are affected; the full list is under Affected Version(s).

Install the Linux release that fixes your version line, or later:

6.18.657.3.67.4-rc1
2Why it's rated "Check today"
  • Its CVSS severity is high (7).

What is CVE-2026-139706?

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

crypto: rsassa-pkcs1 - reject undersized keys when signing

rsassa_pkcs1_sign() subtracts 11 from the unsigned key size before checking that the key is large enough for PKCS#1 v1.5 padding:

if (slen + hash_prefix->size > ctx->key_size - 11)
	return -EOVERFLOW;

If the RSA modulus is shorter than 11 bytes, the subtraction wraps. With a one-byte key and hash=none, the padding memset() writes past the output buffer.

KASAN reports:

BUG: KASAN: slab-out-of-bounds in rsassa_pkcs1_sign+0x1ad/0x3b0
Write of size 4294967294 at addr ...
The buggy address is located 0 bytes to the right of
 allocated 1-byte region [...]

Reject keys shorter than the minimum encoded message size.

Affected Version(s)

Linux 3d5b1ecdea6f… < 6b3a96beef80…

Linux 3d5b1ecdea6f…

Linux 3d5b1ecdea6f… < 4cf50332b538…

References

Memory Ordering Flaw in Linux Kernel

CVE-2026-99676
LinuxLinux😄9.8CRITICAL

Linux Kernel Vulnerability in SCTP Control Chunk Migration

CVE-2026-99582
LinuxLinux7.8HIGH

Data Copy Vulnerability in Linux Kernel

CVE-2026-99370
LinuxLinux9.4CRITICAL
View more Linux vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V3.1

Score:
7
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged
.