# CVE-2026-89726: lib/ucs2\_string.c: fix out-of-bounds read in ucs2\_strnlen()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-11T19:46:37.480Z
- **Modified:** 2026-10-19T09:18:14.097Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 04ae68af4107600120c3c41c94268f43bc350d48; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2e5a70a175f0c74e7238b013a96c4eabc3002934; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 3ada20e110bf3245edb0a3bcddadc33d0f142f8d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 60c74f42f5abddb85dd919b4448d5474e65dbe76; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 709eb41adaf78d59d4579a13a898125919b69bcc; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7d658da725ea81c91f73087547b97e7ced82d62b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1b0dc3cbb8630f0b5cb34d848628225920a904be; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< cec0d03fe785380540dc1b4d07c80f67ae2ffc78
- Anyone running Linux 2.6.12

## 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.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 04ae68af4107600120c3c41c94268f43bc350d48; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2e5a70a175f0c74e7238b013a96c4eabc3002934; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 3ada20e110bf3245edb0a3bcddadc33d0f142f8d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 60c74f42f5abddb85dd919b4448d5474e65dbe76; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 709eb41adaf78d59d4579a13a898125919b69bcc; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7d658da725ea81c91f73087547b97e7ced82d62b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1b0dc3cbb8630f0b5cb34d848628225920a904be; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< cec0d03fe785380540dc1b4d07c80f67ae2ffc78 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89726. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89726.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 04ae68af4107600120c3c41c94268f43bc350d48; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2e5a70a175f0c74e7238b013a96c4eabc3002934; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3ada20e110bf3245edb0a3bcddadc33d0f142f8d; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 04ae68af4107600120c3c41c94268f43bc350d48, Linux 2e5a70a175f0c74e7238b013a96c4eabc3002934, Linux 3ada20e110bf3245edb0a3bcddadc33d0f142f8d, Linux 60c74f42f5abddb85dd919b4448d5474e65dbe76, Linux 709eb41adaf78d59d4579a13a898125919b69bcc, Linux 7d658da725ea81c91f73087547b97e7ced82d62b, Linux 1b0dc…

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.
```

## FAQ

### Is CVE-2026-89726 being exploited?

There is no confirmed exploitation: CVE-2026-89726 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89726?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-89726?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 04ae68af4107600120c3c41c94268f43bc350d48; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2e5a70a175f0c74e7238b013a96c4eabc3002934; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 3ada20e110bf3245edb0a3bcddadc33d0f142f8d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 60c74f42f5abddb85dd919b4448d5474e65dbe76; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 709eb41adaf78d59d4579a13a898125919b69bcc; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7d658da725ea81c91f73087547b97e7ced82d62b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1b0dc3cbb8630f0b5cb34d848628225920a904be; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< cec0d03fe785380540dc1b4d07c80f67ae2ffc78; Linux 2.6.12.

### Is there a fix for CVE-2026-89726?

Yes. Fixed in Linux 04ae68af4107600120c3c41c94268f43bc350d48, Linux 2e5a70a175f0c74e7238b013a96c4eabc3002934, Linux 3ada20e110bf3245edb0a3bcddadc33d0f142f8d, Linux 60c74f42f5abddb85dd919b4448d5474e65dbe76, Linux 709eb41adaf78d59d4579a13a898125919b69bcc, Linux 7d658da725ea81c91f73087547b97e7ced82d62b, Linux 1b0dc3cbb8630f0b5cb34d848628225920a904be. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-89726?

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.

## References

- other: <https://git.kernel.org/stable/c/04ae68af4107600120c3c41c94268f43bc350d48>
- other: <https://git.kernel.org/stable/c/2e5a70a175f0c74e7238b013a96c4eabc3002934>
- other: <https://git.kernel.org/stable/c/3ada20e110bf3245edb0a3bcddadc33d0f142f8d>
- other: <https://git.kernel.org/stable/c/60c74f42f5abddb85dd919b4448d5474e65dbe76>
- other: <https://git.kernel.org/stable/c/709eb41adaf78d59d4579a13a898125919b69bcc>
- other: <https://git.kernel.org/stable/c/7d658da725ea81c91f73087547b97e7ced82d62b>
- other: <https://git.kernel.org/stable/c/1b0dc3cbb8630f0b5cb34d848628225920a904be>
- other: <https://git.kernel.org/stable/c/cec0d03fe785380540dc1b4d07c80f67ae2ffc78>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89726>

HTML: <https://flawdb.com/CVE-2026-89726> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89726>
