VDB

CVE-2026-89726

CVE-2026-89726 PUBLISHED

lib/ucs2_string.c: fix out-of-bounds read in ucs2_strnlen()

Reported by linux · Published September 11, 2026

In the Linux kernel, the following vulnerability has been resolved: lib/ucs2_string.c: fix out-of-bounds read in ucs2_strnlen() Patch series "lib/ucs2_string.c: fix out-of-bounds read in ucs2_strnlen()", v2. This series fixes an off-by-one out-of-bounds read in ucs2_strnlen(). The first patch is the real fix, the second patch comes as a bonus and fixes the code indentation. This patch (of 2): ucs2_strnlen() checks the current character before checking whether the caller-provided maximum length has been reached. If the input is not NUL-terminated within that bound, the loop can read one ucs2_char_t past the limit. Test the length before dereferencing to prevent an off-by-one out-of-bounds read.

EPSS 0.18% · 7.4th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernelAmazon Linux1:6.1.188-233.385.amzn2023
kernel-livepatch-6.12.110-135.201Amazon Linux1:1.0-0.amzn2023
python3-perfAmazon Linux1:6.1.188-233.385.amzn2023
kernel6.12-develAmazon Linux1:6.12.110-135.201.amzn2023
perf6.18Amazon Linux1:6.18.51-120.162.amzn2023
bpftoolAmazon Linux1:6.1.188-233.385.amzn2023
bpftool6.18Amazon Linux1:6.18.51-120.162.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.51-120.162.amzn2023
perf6.12Amazon Linux1:6.12.110-135.201.amzn2023
perfAmazon Linux1:6.1.188-233.385.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.51-120.162.amzn2023
python3-perf6.18Amazon Linux1:6.18.51-120.162.amzn2023

19 more packages have a fixed version. See every fix in Lookup.

Risk scores

EPSS Score
0.18%
7.4th percentile

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
LinuxLinux2.6.12, 0, 5.10.270
amazon:2023kernel0
amazon:2023kernel-livepatch-6.12.110-135.2010
amazon:2023python3-perf0
amazon:2023kernel6.12-devel0
amazon:2023perf6.180
amazon:2023bpftool0
amazon:2023bpftool6.180
amazon:2023kernel6.18-tools0
amazon:2023perf6.120
amazon:2023perf0
amazon:2023kernel6.18-tools-devel0
amazon:2023python3-perf6.180
amazon:2023microvm-kernel6.180
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-modules-extra0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel-tools0

…and 18 more

Timeline

  • Sep 11, 2026 CVE Published
  • Sep 12, 2026 EPSS Score (11 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-89726
vulnetix vdb fixes CVE-2026-89726

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-89726/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 ›