CVE-2026-89726
lib/ucs2_string.c: fix out-of-bounds read in ucs2_strnlen()
Check your servers for CVE-2026-89726
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-89726 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.64% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 04ae68af4107600120c3c41c94268f43bc350d48 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 2e5a70a175f0c74e7238b013a96c4eabc3002934 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 3ada20e110bf3245edb0a3bcddadc33d0f142f8d affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 60c74f42f5abddb85dd919b4448d5474e65dbe76 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 709eb41adaf78d59d4579a13a898125919b69bcc affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 7d658da725ea81c91f73087547b97e7ced82d62b affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 1b0dc3cbb8630f0b5cb34d848628225920a904be affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before cec0d03fe785380540dc1b4d07c80f67ae2ffc78
Other versions: unaffected
|
| Linux |
affected 2.6.12 unaffected before 2.6.12 unaffected from 5.10.270 up to and including 5.10.* unaffected from 5.15.221 up to and including 5.15.* unaffected from 6.1.188 up to and including 6.1.* unaffected from 6.6.157 up to and including 6.6.* unaffected from 6.12.109 up to and including 6.12.* unaffected from 6.18.50 up to and including 6.18.* unaffected from 7.2.4 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-89726 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89726
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-89726
trivy image --scanners vuln IMAGE | grep CVE-2026-89726
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/04ae68af4107600120c3c41c94268f43bc350d48 git.kernel.org
- https://git.kernel.org/stable/c/2e5a70a175f0c74e7238b013a96c4eabc3002934 git.kernel.org
- https://git.kernel.org/stable/c/3ada20e110bf3245edb0a3bcddadc33d0f142f8d git.kernel.org
- https://git.kernel.org/stable/c/60c74f42f5abddb85dd919b4448d5474e65dbe76 git.kernel.org
- https://git.kernel.org/stable/c/709eb41adaf78d59d4579a13a898125919b69bcc git.kernel.org
- https://git.kernel.org/stable/c/7d658da725ea81c91f73087547b97e7ced82d62b git.kernel.org
- https://git.kernel.org/stable/c/1b0dc3cbb8630f0b5cb34d848628225920a904be git.kernel.org
- https://git.kernel.org/stable/c/cec0d03fe785380540dc1b4d07c80f67ae2ffc78 git.kernel.org
Source: the record CVE-2026-89726 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse