Skip to main content
No exploitation reportedFix availableAwaiting NVD analysis

CVE-2026-139706

crypto: rsassa-pkcs1 - reject undersized keys when signing

No exploitation reported by the sources we read.

  • Published2026-11-30
  • Fixed in7.3.6 · 6.18.65

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2026-11-3013:37CVE publishedCNA

Versions per branch

OSV
Linux kernel
BranchAffectedFixed in
7.3≥ 6.19.0, < 7.3.67.3.6
6.18≥ 4.5.0, < 6.18.656.18.65

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA2 products

As Linux, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Linuxother versions: not affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • ≥ 3d5b1ecdea6fb94f8c61554fcb2ba776a2d3d0e6, < 6b3a96beef8097450fefe645cfb2c6163ad52041fixed in 6b3a96beef8097450fefe645cfb2c6163ad52041git
    • ≥ 3d5b1ecdea6fb94f8c61554fcb2ba776a2d3d0e6, < ec2a9b7252fce1d140445d24ac4557ba34bea244fixed in ec2a9b7252fce1d140445d24ac4557ba34bea244git
    • ≥ 3d5b1ecdea6fb94f8c61554fcb2ba776a2d3d0e6, < 4cf50332b5384ea13f6f896d5cf84e05b5b6484afixed in 4cf50332b5384ea13f6f896d5cf84e05b5b6484agit
  • Linuxother versions: affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • = 4.5no fix stated

    Not affected < 4.5 · ≥ 6.18.65, ≤ 6.18.* · ≥ 7.3.6, ≤ 7.3.* · ≥ 7.4-rc1

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-30

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • linuxDebian:14all versions · fixed in 7.3.6-1
  • linuxDebian:13all versions · no fixed version listed
  • linuxDebian:12all versions · no fixed version listed

Full record on NVD

Fix

  1. Update Linux kernel to 7.3.6 · 6.18.65

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2026-11-30
Last modified
2026-11-30
NVD status
Received
GitHub advisory
GHSA-cm2c-7776-xwgw

Frequently asked questions

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.

Is CVE-2026-139706 actively exploited?

Active exploitation of CVE-2026-139706 has not been confirmed.

What is the CVSS score for CVE-2026-139706?

CVE-2026-139706 has a CVSS v3 base score of 7 (High severity), with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running Linux kernel? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record