CVE-2026-98636
squashfs: Add dictionary size range check to prevent shift-out-of-bounds
Reported by linux · Published October 18, 2026
In the Linux kernel, the following vulnerability has been resolved: squashfs: Add dictionary size range check to prevent shift-out-of-bounds When an abnormal SquashFS image (COMP_OPTS flag is 1 but dictionary size is 0) is mounted, and performs shift operations using dictionarysize, the shift exponent is -1, causing a shift-out-of-bounds. Detail as below: squashfs_comp_opts(msblk, buffer, length) squashfs_xz_comp_opts() if (comp_opts) n = ffs(opts->dict_size) - 1;<----opts->dict_size=0, n=-1 if (opts->dict_size != (1 << n) && opts->dict_size != (1 << n) + (1 << (n + 1))) <----shift-out-of-bounds Fix it by adding a dictionary size range check before the shift operation.
EPSS 0.18% · 7.3th 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.12-tools-devel | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.189-236.399.amzn2023 |
| perf | Amazon Linux | 1:6.1.189-236.399.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 1:6.1.189-236.399.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ff750311d30acc9564ef577050794953eee59f01, ff750311d30acc9564ef577050794953eee59f01, ff750311d30acc9564ef577050794953eee59f01 |
| Linux | Linux | 2.6.39, 0, 5.10.271 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| linux | linux_kernel | 2.6.39, 2.6.39, 2.6.39 |
| amazon:2023 | kernel-tools | 0 |
| Linux | Linux | 6.6.158, *, * |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel-livepatch-6.18.56-125.164 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
…and 19 more
Timeline
- Oct 18, 2026 Coalition ESS Score
- Oct 18, 2026 CVE Published
- Oct 19, 2026 EPSS Score (5 in total, the first dated here)
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98636
vulnetix vdb fixes CVE-2026-98636
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-98636/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart