CVE-2026-142850
HIGH 7.0CVSS 3.1crypto: nx - validate 'ignore' before subtracting in decompress
In the Linux kernel, the following vulnerability has been resolved:
crypto: nx - validate 'ignore' before subtracting in decompress
The decompress() function subtracts the header-supplied ignore value
(a u16 from the compressed stream) from dlen (the number of bytes
produced by the decompressor) without checking that ignore <= dlen.
If a caller decompresses a crafted buffer where hdr->ignore exceeds
the actual decompressed length, the subtraction wraps around to a
near-UINT_MAX value. The subsequent memcpy() then copies gigabytes of
data past the destination buffer, causing an out-of-bounds kernel write.
Add a bounds check before the subtraction and return -EINVAL if the
value is inconsistent.
- Published
- 3 Dec 2026
- Last modified
- 4 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | Linux | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0daad5ac74ea629cb5911b57749ea22ed5b030d5; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 13a505bc02f9c31532a2aac8d89cfccfb996c32a; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a838c89ad33e40ebf802218551174dafe3ebefde; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < fa054bb88efeadd0aec875b0e6cb8fea961ddbf8; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 51f478985b6466952635c9c6fd7531ebbfde8b54; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5ecd94581c322d6998f50c32e4fa00f935847059; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 043e094c5550a8b0d4073d4f531f5f403a423e2c; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b5c2df42977390a71f1940def5be9bd5c69ac2e0; < 5.10.275; < 5.15.226; < 6.1.193; < 6.6.163; < 6.12.117; < 6.18.63; < 7.3.4 | 0daad5ac74ea629cb5911b57749ea22ed5b030d5, 13a505bc02f9c31532a2aac8d89cfccfb996c32a, a838c89ad33e40ebf802218551174dafe3ebefde, fa054bb88efeadd0aec875b0e6cb8fea961ddbf8, 51f478985b6466952635c9c6fd7531ebbfde8b54, 5ecd94581c322d6998f50c32e4fa00f935847059, 043e094c5550a8b0d4073d4f531f5f403a423e2c, b5c2df42977390a71f1940def5be9bd5c69ac2e0, 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4 |
| CVE List | Linux | Linux | all versions |
References
- https://git.kernel.org/stable/c/043e094c5550a8b0d4073d4f531f5f403a423e2c
- https://git.kernel.org/stable/c/0daad5ac74ea629cb5911b57749ea22ed5b030d5
- https://git.kernel.org/stable/c/13a505bc02f9c31532a2aac8d89cfccfb996c32a
- https://git.kernel.org/stable/c/51f478985b6466952635c9c6fd7531ebbfde8b54
- https://git.kernel.org/stable/c/5ecd94581c322d6998f50c32e4fa00f935847059
- https://git.kernel.org/stable/c/a838c89ad33e40ebf802218551174dafe3ebefde
- https://git.kernel.org/stable/c/b5c2df42977390a71f1940def5be9bd5c69ac2e0
- https://git.kernel.org/stable/c/fa054bb88efeadd0aec875b0e6cb8fea961ddbf8
History
- 4 Dec 2026 05:56 UTC · NVD: scored 7.0
- 4 Dec 2026 03:56 UTC · CVE List: scored 7.0
- 3 Dec 2026 05:06 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 04:06 UTC · CVE List: first stored (published 3 Dec 2026)