# CVE-2026-89720: ubifs: fix out-of-bounds read in signature length check

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

- **Severity:** HIGH 7.7
- **CVSS:** 7.7 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-26)
- **Published:** 2026-09-11T19:46:32.923Z
- **Modified:** 2026-10-19T09:18:12.130Z

## Who should check

- Anyone running Linux \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< ab7405bd86331cc2dbc8201699d4adc33bea75e7; \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< 11abc34698cb3172badf8aa12e623f1bac98bbd8; \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< 8cc3da72cf57acb4b77442ea8cec48425dff7c06; \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< 37a9d25a563f5f9103282954ce573c4a61321e7c; \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< f76b79d6e42af20682495bccd22f72c7164b0018; \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< a1dc246f98bb94233effa4fa3ec7bf84700bb7d1; \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< 83e1aa9f5f906c9b1f4949d0521f0f950a159d96; \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< 95d27c1708bb6e8823c8e7c623f9abc2a91bf4bf
- Anyone running Linux 5.3

## Description

In the Linux kernel, the following vulnerability has been resolved:

ubifs: fix out-of-bounds read in signature length check

ubifs\_sb\_verify\_signature() bounds the on-disk ubifs\_sig\_node-\>len field
before handing the signature payload to verify\_pkcs7\_signature(), but the
check has the wrong sign:

	if (le32\_to\_cpu(signode-\>len) \> snod-\>len + sizeof(struct ubifs\_sig\_node))

The signature bytes start sizeof(struct ubifs\_sig\_node) (UBIFS\_SIG\_NODE\_SZ,
64 bytes) into the node, so the payload is at most

	snod-\>len - sizeof(struct ubifs\_sig\_node)

bytes long. Adding the header size instead of subtracting it accepts a
declared length up to 2 \* UBIFS\_SIG\_NODE\_SZ larger than the node actually
holds -- past the end of c-\>sbuf, which is vmalloc(c-\>leb\_size).
verify\_pkcs7\_signature() -\> pkcs7\_parse\_message() -\> asn1\_ber\_decoder()
is then handed that inflated length and reads beyond the allocation while
walking the DER headers. The node length comes straight from the mounted
image, so a crafted signed UBIFS image reaches this via
ubifs\_read\_superblock() before the signature is cryptographically checked.

snod-\>len is guaranteed to be \>= UBIFS\_SIG\_NODE\_SZ by the node scanner
(c-\>ranges\[UBIFS\_SIG\_NODE\].min\_len == UBIFS\_SIG\_NODE\_SZ), so the corrected
subtraction cannot underflow. Legitimately signed images are unaffected: a
correct superblock never declares a signature longer than the node it is
embedded in.

## Affected and fixed versions

- Linux: \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< ab7405bd86331cc2dbc8201699d4adc33bea75e7; \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< 11abc34698cb3172badf8aa12e623f1bac98bbd8; \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< 8cc3da72cf57acb4b77442ea8cec48425dff7c06; \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< 37a9d25a563f5f9103282954ce573c4a61321e7c; \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< f76b79d6e42af20682495bccd22f72c7164b0018; \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< a1dc246f98bb94233effa4fa3ec7bf84700bb7d1; \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< 83e1aa9f5f906c9b1f4949d0521f0f950a159d96; \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< 95d27c1708bb6e8823c8e7c623f9abc2a91bf4bf (cvelist)
- Linux: 5.3 (cvelist)

## Mitigation

- Upgrade Linux to 95d27c1708bb6e8823c8e7c623f9abc2a91bf4bf or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-89720.md
Affected: Linux >= 817aa094842dfc3a6b98c9582d4a647827f66201, < ab7405bd86331cc2dbc8201699d4adc33bea75e7; >= 817aa094842dfc3a6b98c9582d4a647827f66201, < 11abc34698cb3172badf8aa12e623f1bac98bbd8; >= 817aa094842dfc3a6b98c9582d4a647827f66201, < 8cc3da72cf57acb4b77442ea8cec48425dff7c06; >= 817aa094842dfc3a6b98c95…
Fixed in: Linux 11abc34698cb3172badf8aa12e623f1bac98bbd8, Linux 8cc3da72cf57acb4b77442ea8cec48425dff7c06, Linux 37a9d25a563f5f9103282954ce573c4a61321e7c, Linux 83e1aa9f5f906c9b1f4949d0521f0f950a159d96, Linux 95d27c1708bb6e8823c8e7c623f9abc2a91bf4bf

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-89720 being exploited?

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

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

High: CVSS 7.7 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< ab7405bd86331cc2dbc8201699d4adc33bea75e7; \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< 11abc34698cb3172badf8aa12e623f1bac98bbd8; \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< 8cc3da72cf57acb4b77442ea8cec48425dff7c06; \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< 37a9d25a563f5f9103282954ce573c4a61321e7c; \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< f76b79d6e42af20682495bccd22f72c7164b0018; \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< a1dc246f98bb94233effa4fa3ec7bf84700bb7d1; \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< 83e1aa9f5f906c9b1f4949d0521f0f950a159d96; \>= 817aa094842dfc3a6b98c9582d4a647827f66201, \< 95d27c1708bb6e8823c8e7c623f9abc2a91bf4bf; Linux 5.3.

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

Yes. Fixed in Linux 11abc34698cb3172badf8aa12e623f1bac98bbd8, Linux 8cc3da72cf57acb4b77442ea8cec48425dff7c06, Linux 37a9d25a563f5f9103282954ce573c4a61321e7c, Linux 83e1aa9f5f906c9b1f4949d0521f0f950a159d96, Linux 95d27c1708bb6e8823c8e7c623f9abc2a91bf4bf. Upgrade Linux to 95d27c1708bb6e8823c8e7c623f9abc2a91bf4bf or later.

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

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/ab7405bd86331cc2dbc8201699d4adc33bea75e7>
- other: <https://git.kernel.org/stable/c/11abc34698cb3172badf8aa12e623f1bac98bbd8>
- other: <https://git.kernel.org/stable/c/8cc3da72cf57acb4b77442ea8cec48425dff7c06>
- other: <https://git.kernel.org/stable/c/37a9d25a563f5f9103282954ce573c4a61321e7c>
- other: <https://git.kernel.org/stable/c/f76b79d6e42af20682495bccd22f72c7164b0018>
- other: <https://git.kernel.org/stable/c/a1dc246f98bb94233effa4fa3ec7bf84700bb7d1>
- other: <https://git.kernel.org/stable/c/83e1aa9f5f906c9b1f4949d0521f0f950a159d96>
- other: <https://git.kernel.org/stable/c/95d27c1708bb6e8823c8e7c623f9abc2a91bf4bf>

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

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