CVE-2026-142928

Source
https://cve.org/CVERecord?id=CVE-2026-142928
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142928.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142928
Published
2026-12-03T03:26:03Z
Modified
2026-12-03T05:01:13Z
Summary
crypto: rsassa-pkcs1 - reject undersized keys when verifying
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142928.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3d5b1ecdea6fb94f8c61554fcb2ba776a2d3d0e6
Fixed
59d6120af151abbab94f674f8bfb0292ed822ff2
Fixed
9c35f7d27ef103ce8f3ec60bcfc39a138cca7ea7
Fixed
364e520095b26fa551a8e92f52119d0f38a4177b

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142928.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.5.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142928.json"