# CVE-2026-64322: udf: validate sparing table length as an entry count, not a byte count

> 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-787
- **Published:** 2026-07-25T08:49:50.180Z
- **Modified:** 2026-10-19T21:17:31.887Z

## Who should check

- Anyone running Linux \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< eeb0f3e193f8e523d03e4c9e084f6b4875f50e8e; \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< 0a9b79a951cfd70a9d31ca01ae2d08a20bb730e9; \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< 2d726135099313958f8975532a2e15322ff150ce; \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< 7285276aa50d2839afb5957ffd491ad282dc8f72; \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< 2a219acb2ce674d99bbd1b7b35ed8c384dac7200; \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< 04f4599a9efb90992d072a814960edf0cd62805d; \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< 7f7774b9da0ef17b87bfa238cf966ad0b3376150; \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< 3ec997bd5508e9b25210b5bbec89031629cdb093; e240873cb4a9fd18de60a817100a96fe670d4359; 9ae30e324a96d0328a575329d7a95a09b3318601; …
- Anyone running Linux 3.5

## Description

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

udf: validate sparing table length as an entry count, not a byte count

udf\_load\_sparable\_map() accepts a sparing table when

	sizeof(\*st) + le16\_to\_cpu(st-\>reallocationTableLen) \> sb-\>s\_blocksize

is false, i.e. it treats reallocationTableLen as a number of BYTES that
must fit in the block.  But the table is walked as an array of 8-byte
sparingEntry elements:

	for (i = 0; i \< le16\_to\_cpu(st-\>reallocationTableLen); i++) {
		struct sparingEntry \*entry = &st-\>mapEntry\[i\];
		... entry-\>origLocation ...
	}

in udf\_get\_pblock\_spar15() and udf\_relocate\_blocks().  A
reallocationTableLen of N therefore passes the check whenever
sizeof(\*st) + N \<= blocksize, yet the consumers index
sizeof(\*st) + N \* sizeof(struct sparingEntry) bytes -- up to ~8x the
block.  On a crafted UDF image this is an out-of-bounds read in
udf\_get\_pblock\_spar15(); udf\_relocate\_blocks() additionally feeds the
same length to udf\_update\_tag(), whose crc\_itu\_t() reads far past the
block, and its memmove() through st-\>mapEntry\[\] is an out-of-bounds
write.

Validate reallocationTableLen as the entry count it is, with
struct\_size().

## Affected and fixed versions

- Linux: \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< eeb0f3e193f8e523d03e4c9e084f6b4875f50e8e; \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< 0a9b79a951cfd70a9d31ca01ae2d08a20bb730e9; \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< 2d726135099313958f8975532a2e15322ff150ce; \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< 7285276aa50d2839afb5957ffd491ad282dc8f72; \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< 2a219acb2ce674d99bbd1b7b35ed8c384dac7200; \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< 04f4599a9efb90992d072a814960edf0cd62805d; \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< 7f7774b9da0ef17b87bfa238cf966ad0b3376150; \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< 3ec997bd5508e9b25210b5bbec89031629cdb093; e240873cb4a9fd18de60a817100a96fe670d4359; 9ae30e324a96d0328a575329d7a95a09b3318601; … (cvelist)
- Linux: 3.5 (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-64322. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64322.md
Affected: Linux >= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, < eeb0f3e193f8e523d03e4c9e084f6b4875f50e8e; >= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, < 0a9b79a951cfd70a9d31ca01ae2d08a20bb730e9; >= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, < 2d726135099313958f8975532a2e15322ff150ce; >= 1df2ae31c724e57be9d7ac0…
Fixed in: Linux 0a9b79a951cfd70a9d31ca01ae2d08a20bb730e9, Linux 2d726135099313958f8975532a2e15322ff150ce, Linux 7285276aa50d2839afb5957ffd491ad282dc8f72, Linux 2a219acb2ce674d99bbd1b7b35ed8c384dac7200, Linux 04f4599a9efb90992d072a814960edf0cd62805d, Linux 7f7774b9da0ef17b87bfa238cf966ad0b3376150, Linux 3ec99…

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

There is no confirmed exploitation: CVE-2026-64322 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-64322?

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

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

Linux \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< eeb0f3e193f8e523d03e4c9e084f6b4875f50e8e; \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< 0a9b79a951cfd70a9d31ca01ae2d08a20bb730e9; \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< 2d726135099313958f8975532a2e15322ff150ce; \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< 7285276aa50d2839afb5957ffd491ad282dc8f72; \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< 2a219acb2ce674d99bbd1b7b35ed8c384dac7200; \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< 04f4599a9efb90992d072a814960edf0cd62805d; \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< 7f7774b9da0ef17b87bfa238cf966ad0b3376150; \>= 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, \< 3ec997bd5508e9b25210b5bbec89031629cdb093; e240873cb4a9fd18de60a817100a96fe670d4359; 9ae30e324a96d0328a575329d7a95a09b3318601; …; Linux 3.5.

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

Yes. Fixed in Linux 0a9b79a951cfd70a9d31ca01ae2d08a20bb730e9, Linux 2d726135099313958f8975532a2e15322ff150ce, Linux 7285276aa50d2839afb5957ffd491ad282dc8f72, Linux 2a219acb2ce674d99bbd1b7b35ed8c384dac7200, Linux 04f4599a9efb90992d072a814960edf0cd62805d, Linux 7f7774b9da0ef17b87bfa238cf966ad0b3376150, Linux 3ec997bd5508e9b25210b5bbec89031629cdb093. No fix listed yet: follow the vendor advisory.

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

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/eeb0f3e193f8e523d03e4c9e084f6b4875f50e8e>
- patch: <https://git.kernel.org/stable/c/0a9b79a951cfd70a9d31ca01ae2d08a20bb730e9>
- patch: <https://git.kernel.org/stable/c/2d726135099313958f8975532a2e15322ff150ce>
- patch: <https://git.kernel.org/stable/c/7285276aa50d2839afb5957ffd491ad282dc8f72>
- patch: <https://git.kernel.org/stable/c/2a219acb2ce674d99bbd1b7b35ed8c384dac7200>
- patch: <https://git.kernel.org/stable/c/04f4599a9efb90992d072a814960edf0cd62805d>
- patch: <https://git.kernel.org/stable/c/7f7774b9da0ef17b87bfa238cf966ad0b3376150>
- patch: <https://git.kernel.org/stable/c/3ec997bd5508e9b25210b5bbec89031629cdb093>

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

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