CVE-2026-139021 lib/842: require a complete history block for repeat templates

Published Updated

CVSS score

Not scored

No CVSS score published yet
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Not stated

What is CVE-2026-139021?

CVE-2026-139021 is a vulnerability in Linux, published on 30 Nov 2026.

Official 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.

Which versions are affected by CVE-2026-139021?

How do I fix CVE-2026-139021?

Upgrade to a fixed version.

Is CVE-2026-139021 being exploited?

There is no known exploitation of CVE-2026-139021 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2026-139021, DEBIAN-CVE-2026-139021, GHSA-g83p-3pfw-fgcv, UBUNTU-CVE-2026-139021.

Is CVE-2026-139021 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free