CVE-2026-45999
erofs: fix unsigned underflow in z_erofs_lz4_handle_overlap()
Check your servers for CVE-2026-45999
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-45999 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:
erofs: fix unsigned underflow in z_erofs_lz4_handle_overlap()
Some crafted images can have illegal (!partial_decoding && m_llen < m_plen) extents, and the LZ4 inplace decompression path can be wrongly hit, but it cannot handle (outpages < inpages) properly: "outpages - inpages" wraps to a large value and the subsequent rq->out[] access reads past the decompressed_pages array.
However, such crafted cases can correctly result in a corruption report in the normal LZ4 non-inplace path.
Let's add an additional check to fix this for backporting.
Reproducible image (base64-encoded gzipped blob):
H4sIAJGR12kCA+3SPUoDQRgG4MkmkkZk8QRbRFIIi9hbpEjrHQI5ghfwCN5BLCzTGtLbBI+g dilSJo1CnIm7GEXFxhT6PDDwfrs73/ywIQD/1ePD4r7Ou6ETsrq4mu7XcWfj++Pb58nJU/9i PNtbjhan04/9GtX4qVYc814WDqt6FaX5s+ZwXXeq52lndT6IuVvlblytLMvh4Gzwaf90nsvz 2DF/21+20T/ldgp5s1jXRaN4t/8izsy/OUB6e/Qa79r+JwAAAAAAAL52vQVuGQAAAP6+my1w ywAAAAAAAADwu14ATsEYtgBQAAA=
$ mount -t erofs -o cache_strategy=disabled foo.erofs /mnt $ dd if=/mnt/data of=/dev/null bs=4096 count=1
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.92% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 598162d050801e556750defff4ddab499e5d76ed, before 778acd52e9497806fbd2cea7f770c41d6850fc48 affected from 598162d050801e556750defff4ddab499e5d76ed, before 118ff71ff09ebaf323a09af9e911517321a299f4 affected from 598162d050801e556750defff4ddab499e5d76ed, before 43a878639b90e9721ffa5eb616a7e6d8454adef3 affected from 598162d050801e556750defff4ddab499e5d76ed, before f1374fa6e57fd836623668d782ded9244cfd2938 affected from 598162d050801e556750defff4ddab499e5d76ed, before c9ce18e6bb2c467ec85756dc7989b547b7584fee affected from 598162d050801e556750defff4ddab499e5d76ed, before bbbbb3f0d7864238a8da2a94cd6ec013fee06a2e affected from 598162d050801e556750defff4ddab499e5d76ed, before 21e161de2dc660b1bb70ef5b156ab8e6e1cca3ab
Other versions: unaffected
|
| Linux |
affected 5.13 unaffected before 5.13 unaffected from 5.15.210 up to and including 5.15.* unaffected from 6.1.176 up to and including 6.1.* unaffected from 6.6.140 up to and including 6.6.* unaffected from 6.12.88 up to and including 6.12.* unaffected from 6.18.30 up to and including 6.18.* unaffected from 7.0.4 up to and including 7.0.* unaffected 7.1 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-45999 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-45999
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-45999
trivy image --scanners vuln IMAGE | grep CVE-2026-45999
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/778acd52e9497806fbd2cea7f770c41d6850fc48 git.kernel.org
- https://git.kernel.org/stable/c/118ff71ff09ebaf323a09af9e911517321a299f4 git.kernel.org
- https://git.kernel.org/stable/c/43a878639b90e9721ffa5eb616a7e6d8454adef3 git.kernel.org
- https://git.kernel.org/stable/c/f1374fa6e57fd836623668d782ded9244cfd2938 git.kernel.org
- https://git.kernel.org/stable/c/c9ce18e6bb2c467ec85756dc7989b547b7584fee git.kernel.org
- https://git.kernel.org/stable/c/bbbbb3f0d7864238a8da2a94cd6ec013fee06a2e git.kernel.org
- https://git.kernel.org/stable/c/21e161de2dc660b1bb70ef5b156ab8e6e1cca3ab git.kernel.org
Source: the record CVE-2026-45999 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