# CVE-2026-64361: hfs/hfsplus: fix u32 overflow in check\_and\_correct\_requested\_length

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-191
- **Published:** 2026-07-25T08:50:17.345Z
- **Modified:** 2026-09-04T15:57:14.170Z

## Who should check

- Anyone running Linux \>= 67ecc81f6492275c9c54280532f558483c99c90e, \< c8dd112173c02adf539fe2ad34a45f5e0068780d; \>= a1a60e79502279f996e55052f50cc14919020475, \< fc9d1447ca3cdc78d2e4ace1ce1f3a7c77ca08b1; \>= fe2891a9c43ab87d1a210d61e6438ca6936e2f62, \< 671c3fcc2ad31c1311ea6414382a2d95104ae1b9; \>= 384a66b89f9540a9a8cb0f48807697dfabaece4c, \< b6a481642ea1977be2f84dc08c5affd742c177e7; \>= efc095b35b23297e419c2ab4fc1ed1a8f0781a29, \< 7399c3baee7bb622a92f0b895cd4d3009a693f2b; \>= a431930c9bac518bf99d6b1da526a7f37ddee8d8, \< 607217f7ad419b53926f71e3f75001813bbc08ad; \>= a431930c9bac518bf99d6b1da526a7f37ddee8d8, \< c25d3c931a63e762fcaa9cb125b901c53b62403f; \>= a431930c9bac518bf99d6b1da526a7f37ddee8d8, \< 966cb76fb2857a4242cab6ea2ea17acf818a3da7; e7d2dc2421e821e4045775e6dc226378328de6f6; fc7f732984ec91f30be3e574e0644066d07f2b78; …
- Anyone running Linux 6.17

## Description

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

hfs/hfsplus: fix u32 overflow in check\_and\_correct\_requested\_length

check\_and\_correct\_requested\_length() compares (off + len) against
node\_size using u32 arithmetic.  When the caller passes a large len
value (e.g. from an underflowed subtraction in hfs\_brec\_remove()),
off + len can wrap past 2^32 and produce a small result, causing the
bounds check to pass when it should fail.

For example, with off=14 and len=0xFFFFFFF2 (underflowed from
data\_off - keyoffset - size in hfs\_brec\_remove), off + len wraps to 6,
which is less than a typical node\_size of 512, so the check passes and
the subsequent memmove reads ~4GB past the node buffer.

Fix this by widening the addition to u64 before comparing against
node\_size.  This prevents the u32 wrap while keeping the logic
straightforward.

## Affected and fixed versions

- Linux: \>= 67ecc81f6492275c9c54280532f558483c99c90e, \< c8dd112173c02adf539fe2ad34a45f5e0068780d; \>= a1a60e79502279f996e55052f50cc14919020475, \< fc9d1447ca3cdc78d2e4ace1ce1f3a7c77ca08b1; \>= fe2891a9c43ab87d1a210d61e6438ca6936e2f62, \< 671c3fcc2ad31c1311ea6414382a2d95104ae1b9; \>= 384a66b89f9540a9a8cb0f48807697dfabaece4c, \< b6a481642ea1977be2f84dc08c5affd742c177e7; \>= efc095b35b23297e419c2ab4fc1ed1a8f0781a29, \< 7399c3baee7bb622a92f0b895cd4d3009a693f2b; \>= a431930c9bac518bf99d6b1da526a7f37ddee8d8, \< 607217f7ad419b53926f71e3f75001813bbc08ad; \>= a431930c9bac518bf99d6b1da526a7f37ddee8d8, \< c25d3c931a63e762fcaa9cb125b901c53b62403f; \>= a431930c9bac518bf99d6b1da526a7f37ddee8d8, \< 966cb76fb2857a4242cab6ea2ea17acf818a3da7; e7d2dc2421e821e4045775e6dc226378328de6f6; fc7f732984ec91f30be3e574e0644066d07f2b78; … (cvelist)
- Linux: 6.17 (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-64361. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64361.md
Affected: Linux >= 67ecc81f6492275c9c54280532f558483c99c90e, < c8dd112173c02adf539fe2ad34a45f5e0068780d; >= a1a60e79502279f996e55052f50cc14919020475, < fc9d1447ca3cdc78d2e4ace1ce1f3a7c77ca08b1; >= fe2891a9c43ab87d1a210d61e6438ca6936e2f62, < 671c3fcc2ad31c1311ea6414382a2d95104ae1b9; >= 384a66b89f9540a9a8cb0f4…
Fixed in: Linux 671c3fcc2ad31c1311ea6414382a2d95104ae1b9, Linux 7399c3baee7bb622a92f0b895cd4d3009a693f2b, Linux 607217f7ad419b53926f71e3f75001813bbc08ad, Linux 966cb76fb2857a4242cab6ea2ea17acf818a3da7

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

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

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

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

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

Linux \>= 67ecc81f6492275c9c54280532f558483c99c90e, \< c8dd112173c02adf539fe2ad34a45f5e0068780d; \>= a1a60e79502279f996e55052f50cc14919020475, \< fc9d1447ca3cdc78d2e4ace1ce1f3a7c77ca08b1; \>= fe2891a9c43ab87d1a210d61e6438ca6936e2f62, \< 671c3fcc2ad31c1311ea6414382a2d95104ae1b9; \>= 384a66b89f9540a9a8cb0f48807697dfabaece4c, \< b6a481642ea1977be2f84dc08c5affd742c177e7; \>= efc095b35b23297e419c2ab4fc1ed1a8f0781a29, \< 7399c3baee7bb622a92f0b895cd4d3009a693f2b; \>= a431930c9bac518bf99d6b1da526a7f37ddee8d8, \< 607217f7ad419b53926f71e3f75001813bbc08ad; \>= a431930c9bac518bf99d6b1da526a7f37ddee8d8, \< c25d3c931a63e762fcaa9cb125b901c53b62403f; \>= a431930c9bac518bf99d6b1da526a7f37ddee8d8, \< 966cb76fb2857a4242cab6ea2ea17acf818a3da7; e7d2dc2421e821e4045775e6dc226378328de6f6; fc7f732984ec91f30be3e574e0644066d07f2b78; …; Linux 6.17.

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

Yes. Fixed in Linux 671c3fcc2ad31c1311ea6414382a2d95104ae1b9, Linux 7399c3baee7bb622a92f0b895cd4d3009a693f2b, Linux 607217f7ad419b53926f71e3f75001813bbc08ad, Linux 966cb76fb2857a4242cab6ea2ea17acf818a3da7. No fix listed yet: follow the vendor advisory.

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

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

- patch: <https://git.kernel.org/stable/c/c8dd112173c02adf539fe2ad34a45f5e0068780d>
- patch: <https://git.kernel.org/stable/c/fc9d1447ca3cdc78d2e4ace1ce1f3a7c77ca08b1>
- patch: <https://git.kernel.org/stable/c/671c3fcc2ad31c1311ea6414382a2d95104ae1b9>
- patch: <https://git.kernel.org/stable/c/b6a481642ea1977be2f84dc08c5affd742c177e7>
- patch: <https://git.kernel.org/stable/c/7399c3baee7bb622a92f0b895cd4d3009a693f2b>
- patch: <https://git.kernel.org/stable/c/607217f7ad419b53926f71e3f75001813bbc08ad>
- patch: <https://git.kernel.org/stable/c/c25d3c931a63e762fcaa9cb125b901c53b62403f>
- patch: <https://git.kernel.org/stable/c/966cb76fb2857a4242cab6ea2ea17acf818a3da7>

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

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