CVE-2026-45999
erofs: fix unsigned underflow in z_erofs_lz4_handle_overlap()
Reported by linux · Published May 27, 2026
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
EPSS 0.13% · 2.8th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-headers | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| kernel-headers | Amazon Linux | 1:6.1.176-220.358.amzn2023 |
| python3-perf | Amazon Linux | 1:6.1.176-220.358.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 1:6.1.176-220.358.amzn2023 |
| kernel-livepatch-6.1.176-220.358 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.88-119.157.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| kernel | Amazon Linux | 1:6.1.176-220.358.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
12 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 598162d050801e556750defff4ddab499e5d76ed, 598162d050801e556750defff4ddab499e5d76ed, 598162d050801e556750defff4ddab499e5d76ed |
| Linux | Linux | 5.13, 0, 5.15.210 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-livepatch-6.1.176-220.358 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel-livepatch-6.12.88-119.157 | 0 |
…and 17 more
Timeline
- May 27, 2026 CVE Published
- May 28, 2026 EPSS Score (15 in total, the first dated here)
- May 29, 2026 Security Advisory (131 in total, the first dated here)
- Jun 4, 2026 Coalition ESS Score
- Jun 19, 2026 CVE Updated
- Aug 11, 2026 Distribution Patch (128 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-45999
vulnetix vdb fixes CVE-2026-45999
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-45999/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart