VDB

CVE-2026-98636

CVE-2026-98636 PUBLISHED

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.

PackageEcosystemFixed in
kernel6.12-tools-develAmazon Linux1:6.12.113-138.209.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.56-125.164.amzn2023
kernel-develAmazon Linux1:6.1.189-236.399.amzn2023
perfAmazon Linux1:6.1.189-236.399.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.189-236.399.amzn2023

Risk scores

EPSS Score
0.18%
7.3th percentile

Affected products

VendorProductVersions
LinuxLinuxff750311d30acc9564ef577050794953eee59f01, ff750311d30acc9564ef577050794953eee59f01, ff750311d30acc9564ef577050794953eee59f01
LinuxLinux2.6.39, 0, 5.10.271
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel-devel0
amazon:2023perf0
amazon:2023kernel-modules-extra-common0
linuxlinux_kernel2.6.39, 2.6.39, 2.6.39
amazon:2023kernel-tools0
LinuxLinux6.6.158, *, *
amazon:2023kernel-tools-devel0
amazon:2023python3-perf0
amazon:2023microvm-kernel6.180
amazon:2023python3-perf6.180
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.18-tools0
amazon:2023kernel-livepatch-6.18.56-125.1640
amazon:2023kernel6.12-tools0

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›