CVE-2026-64361 json
hfs/hfsplus: fix u32 overflow in check_and_correct_requested_length
published 2026-07-25 3 mo ago modified 2026-09-04 2 mo ago also EUVD-2026-48905
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 2%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.5, 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.16, 6.17, 6.18.40, 7.1.4, 7.2
- linux Debian 12 6.1.180-1
- linux Debian 13 6.12.100-1
- linux Debian 14 7.1.4-1
- linux-6.12 Debian 12 6.12.100-1~deb12u1
debian advisories DEBIAN-CVE-2026-64361
- linux Ubuntu 22.04 LTS 5.15.0-198.208
- linux Ubuntu 24.04 LTS 6.8.0-147.147
- linux Ubuntu 26.04 LTS 7.0.0-31.31
- linux-aws Ubuntu 22.04 LTS 5.15.0-1117.124
- linux-aws Ubuntu 24.04 LTS 6.8.0-1067.70
- linux-aws Ubuntu 26.04 LTS 7.0.0-1012.12
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1118.128
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1071.79
ubuntu advisories UBUNTU-CVE-2026-64361
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-source openSUSE Tumbleweed 7.1.7-1.1
opensuse advisories openSUSE-SU-2026:11476-1
- git.kernel.org/stable/c/c8dd112173c02adf539fe2ad34a45f5e0068780d commit
- git.kernel.org/stable/c/fc9d1447ca3cdc78d2e4ace1ce1f3a7c77ca08b1 commit
- git.kernel.org/stable/c/671c3fcc2ad31c1311ea6414382a2d95104ae1b9 commit
- git.kernel.org/stable/c/b6a481642ea1977be2f84dc08c5affd742c177e7 commit
- git.kernel.org/stable/c/7399c3baee7bb622a92f0b895cd4d3009a693f2b commit
- git.kernel.org/stable/c/607217f7ad419b53926f71e3f75001813bbc08ad commit
- git.kernel.org/stable/c/c25d3c931a63e762fcaa9cb125b901c53b62403f commit
- git.kernel.org/stable/c/966cb76fb2857a4242cab6ea2ea17acf818a3da7 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-64361 updated
kernel: hfs/hfsplus: fix u32 overflow in check_and_correct_requested_length
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.13% chance of exploitation in the next 30 days, higher than 2% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-191 Integer Underflow (Wrap or Wraparound)
- Technology feeds
References
-
git.kernel.org
/stable/c/c8dd112173c02adf539fe2ad34a45f5e0068780d
patch
-
git.kernel.org
/stable/c/fc9d1447ca3cdc78d2e4ace1ce1f3a7c77ca08b1
patch
-
git.kernel.org
/stable/c/671c3fcc2ad31c1311ea6414382a2d95104ae1b9
patch
-
git.kernel.org
/stable/c/b6a481642ea1977be2f84dc08c5affd742c177e7
patch
-
git.kernel.org
/stable/c/7399c3baee7bb622a92f0b895cd4d3009a693f2b
patch
-
git.kernel.org
/stable/c/607217f7ad419b53926f71e3f75001813bbc08ad
patch
-
git.kernel.org
/stable/c/c25d3c931a63e762fcaa9cb125b901c53b62403f
patch
-
git.kernel.org
/stable/c/966cb76fb2857a4242cab6ea2ea17acf818a3da7
patch
Sources
- CVE List CVE-2026-64361
- NVD CVE-2026-64361
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.