CVE-2026-45999
erofs: fix unsigned underflow in z_erofs_lz4_handle_overlap()
Mitigation
- Upgrade Linux to 21e161de2dc660b1bb70ef5b156ab8e6e1cca3ab or later.
Who should check
- Anyone running Linux >= 598162d050801e556750defff4ddab499e5d76ed, < 778acd52e9497806fbd2cea7f770c41d6850fc48; >= 598162d050801e556750defff4ddab499e5d76ed, < 118ff71ff09ebaf323a09af9e911517321a299f4; >= 598162d050801e556750defff4ddab499e5d76ed, < 43a878639b90e9721ffa5eb616a7e6d8454adef3; >= 598162d050801e556750defff4ddab499e5d76ed, < f1374fa6e57fd836623668d782ded9244cfd2938; >= 598162d050801e556750defff4ddab499e5d76ed, < c9ce18e6bb2c467ec85756dc7989b547b7584fee; >= 598162d050801e556750defff4ddab499e5d76ed, < bbbbb3f0d7864238a8da2a94cd6ec013fee06a2e; >= 598162d050801e556750defff4ddab499e5d76ed, < 21e161de2dc660b1bb70ef5b156ab8e6e1cca3ab
- Anyone running Linux 5.13
Vulnerability facts
- Affected
- Linux >= 598162d050801e556750defff4ddab499e5d76ed, < 778acd52e9497806fbd2cea7f770c41d6850fc48; >= 598162d050801e556750defff4ddab499e5d76ed, < 118ff71ff09ebaf323a09af9e911517321a299f4; >= 598162d050801e556750defff4ddab499e5d76ed, < 43a878639b90e9721ffa5eb616a7e6d8454adef3; >= 598162d050801e556750defff4ddab499e5d76ed, < f1374fa6e57fd836623668d782ded9244cfd2938; >= 598162d050801e556750defff4ddab499e5d76ed, < c9ce18e6bb2c467ec85756dc7989b547b7584fee; >= 598162d050801e556750defff4ddab499e5d76ed, < bbbbb3f0d7864238a8da2a94cd6ec013fee06a2e; >= 598162d050801e556750defff4ddab499e5d76ed, < 21e161de2dc660b1bb70ef5b156ab8e6e1cca3ab; Linux 5.13
- Fixed in
- Linux 778acd52e9497806fbd2cea7f770c41d6850fc48, Linux 118ff71ff09ebaf323a09af9e911517321a299f4, Linux 43a878639b90e9721ffa5eb616a7e6d8454adef3, Linux 21e161de2dc660b1bb70ef5b156ab8e6e1cca3ab
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.18% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- CWE
- CWE-191
- Modified
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
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 598162d050801e556750defff4ddab499e5d76ed, < 778acd52e9497806fbd2cea7f770c41d6850fc48; >= 598162d050801e556750defff4ddab499e5d76ed, < 118ff71ff09ebaf323a09af9e911517321a299f4; >= 598162d050801e556750defff4ddab499e5d76ed, < 43a878639b90e9721ffa5eb616a7e6d8454adef3; >= 598162d050801e556750defff4ddab499e5d76ed, < f1374fa6e57fd836623668d782ded9244cfd2938; >= 598162d050801e556750defff4ddab499e5d76ed, < c9ce18e6bb2c467ec85756dc7989b547b7584fee; >= 598162d050801e556750defff4ddab499e5d76ed, < bbbbb3f0d7864238a8da2a94cd6ec013fee06a2e; >= 598162d050801e556750defff4ddab499e5d76ed, < 21e161de2dc660b1bb70ef5b156ab8e6e1cca3ab | — | cvelist |
| Linux | 5.13 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-45999. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-45999.md Affected: Linux >= 598162d050801e556750defff4ddab499e5d76ed, < 778acd52e9497806fbd2cea7f770c41d6850fc48; >= 598162d050801e556750defff4ddab499e5d76ed, < 118ff71ff09ebaf323a09af9e911517321a299f4; >= 598162d050801e556750defff4ddab499e5d76ed, < 43a878639b90e9721ffa5eb616a7e6d8454adef3; >= 598162d050801e556750def… Fixed in: Linux 778acd52e9497806fbd2cea7f770c41d6850fc48, Linux 118ff71ff09ebaf323a09af9e911517321a299f4, Linux 43a878639b90e9721ffa5eb616a7e6d8454adef3, Linux 21e161de2dc660b1bb70ef5b156ab8e6e1cca3ab Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/43a878639b90e9721ffa5eb616a7e6d8454adef3
- https://git.kernel.org/stable/c/f1374fa6e57fd836623668d782ded9244cfd2938
- https://git.kernel.org/stable/c/c9ce18e6bb2c467ec85756dc7989b547b7584fee
- https://git.kernel.org/stable/c/bbbbb3f0d7864238a8da2a94cd6ec013fee06a2e
- https://git.kernel.org/stable/c/21e161de2dc660b1bb70ef5b156ab8e6e1cca3ab
FAQ
Is CVE-2026-45999 being exploited?
There is no confirmed exploitation: CVE-2026-45999 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-45999?
High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-45999?
Linux >= 598162d050801e556750defff4ddab499e5d76ed, < 778acd52e9497806fbd2cea7f770c41d6850fc48; >= 598162d050801e556750defff4ddab499e5d76ed, < 118ff71ff09ebaf323a09af9e911517321a299f4; >= 598162d050801e556750defff4ddab499e5d76ed, < 43a878639b90e9721ffa5eb616a7e6d8454adef3; >= 598162d050801e556750defff4ddab499e5d76ed, < f1374fa6e57fd836623668d782ded9244cfd2938; >= 598162d050801e556750defff4ddab499e5d76ed, < c9ce18e6bb2c467ec85756dc7989b547b7584fee; >= 598162d050801e556750defff4ddab499e5d76ed, < bbbbb3f0d7864238a8da2a94cd6ec013fee06a2e; >= 598162d050801e556750defff4ddab499e5d76ed, < 21e161de2dc660b1bb70ef5b156ab8e6e1cca3ab; Linux 5.13.
Is there a fix for CVE-2026-45999?
Yes. Fixed in Linux 778acd52e9497806fbd2cea7f770c41d6850fc48, Linux 118ff71ff09ebaf323a09af9e911517321a299f4, Linux 43a878639b90e9721ffa5eb616a7e6d8454adef3, Linux 21e161de2dc660b1bb70ef5b156ab8e6e1cca3ab. Upgrade Linux to 21e161de2dc660b1bb70ef5b156ab8e6e1cca3ab or later.
How do I check if I'm affected by CVE-2026-45999?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.