CVE-2026-139021
lib/842: require a complete history block for repeat templates
Check your servers for CVE-2026-139021
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139021 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
lib/842: require a complete history block for repeat templates
An 842 repeat template copies the preceding eight-byte output block. The decoder rejects a repeat only when no output has been produced. A short-data operation can produce between one and seven bytes before a repeat.
Such a stream makes the repeat copy read before the start of the output buffer. Depending on the surrounding mapping, this can fault or bring preceding memory into the decompressed data.
This is also reachable through zram's compressed writeback path. With 842 selected, targeted corruption of the compressed data on its backing device to a short-data-then-repeat stream made a KASAN kernel report a vmalloc-out-of-bounds read when zram read the page back.
Require at least one complete output block before accepting a repeat.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 2da572c959dd5815aef153cf62010b16a498a0d3, before c22e423581941ceadfde933a6bbc1db378ede4a6 affected from 2da572c959dd5815aef153cf62010b16a498a0d3, before a890f7a4db9047ae1c04d52c18593300fbca8359 affected from 2da572c959dd5815aef153cf62010b16a498a0d3, before 76975566f468e7dcc99227fedace0e9f8fb3821b affected from 2da572c959dd5815aef153cf62010b16a498a0d3, before d4a70bf64c097be00bd296b24f556d176ebb5abf affected from 2da572c959dd5815aef153cf62010b16a498a0d3, before 80e4e0d7b3905e0d71dfdfbe0eb6a7a3ef475492 affected from 2da572c959dd5815aef153cf62010b16a498a0d3, before ec3bb0b9bb79787d47292544bec1b9f0ab814942 affected from 2da572c959dd5815aef153cf62010b16a498a0d3, before 4919ab024e02133b12c2d3a35d31cbd9ff4dc5ea affected from 2da572c959dd5815aef153cf62010b16a498a0d3, before deb631649882bbf43f7c2fc79b5990139fd744ba
Other versions: unaffected
|
| Linux |
affected 4.2 unaffected before 4.2 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139021 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139021
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139021
trivy image --scanners vuln IMAGE | grep CVE-2026-139021
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/c22e423581941ceadfde933a6bbc1db378ede4a6 git.kernel.org
- https://git.kernel.org/stable/c/a890f7a4db9047ae1c04d52c18593300fbca8359 git.kernel.org
- https://git.kernel.org/stable/c/76975566f468e7dcc99227fedace0e9f8fb3821b git.kernel.org
- https://git.kernel.org/stable/c/d4a70bf64c097be00bd296b24f556d176ebb5abf git.kernel.org
- https://git.kernel.org/stable/c/80e4e0d7b3905e0d71dfdfbe0eb6a7a3ef475492 git.kernel.org
- https://git.kernel.org/stable/c/ec3bb0b9bb79787d47292544bec1b9f0ab814942 git.kernel.org
- https://git.kernel.org/stable/c/4919ab024e02133b12c2d3a35d31cbd9ff4dc5ea git.kernel.org
- https://git.kernel.org/stable/c/deb631649882bbf43f7c2fc79b5990139fd744ba git.kernel.org
Source: the record CVE-2026-139021 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse