CVE-2026-64323: udf: validate VAT header length against the VAT inode size

Published Jul 25, 2026
·
Updated

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

udf: validate VAT header length against the VAT inode size

udfloadvat() takes the virtual partition's start offset straight from the on-disk VAT 2.0 header without checking it against the VAT inode size:

map->stypespecific.svirtual.sstartoffset = le16tocpu(vat20->lengthHeader); map->stypespecific.svirtual.snumentries = (sbi->svatinode->isize - map->stypespecific.svirtual.sstartoffset) >> 2;

lengthHeader is a fully attacker-controlled 16-bit value. If it exceeds the VAT inode size, the snumentries subtraction underflows to a huge count, which defeats the "block > snumentries" bound in udfgetpblockvirt15(); and on the ICB-inline path that function reads

((le32 )(iinfo->idata + sstartoffset))[block]

so a large sstartoffset indexes past the inode's in-ICB data. Mounting a crafted UDF image with a virtual (VAT) partition then triggers an out-of-bounds read.

Reject a VAT whose header length does not leave room for at least one entry within the VAT inode.

Affected Software

8 affected components
Linux Linux kernel
Linux Linux kernel>=2.6.26<5.10.261
Linux Linux kernel>=5.11<5.15.212
Linux Linux kernel>=5.16<6.1.178
Linux Linux kernel>=6.2<6.6.145
Linux Linux kernel>=6.7<6.12.96
Linux Linux kernel>=6.13<6.18.39
Linux Linux kernel>=6.19<7.1.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Validate the on-disk VAT 2.0 header length (lengthHeader) against the VAT inode size, and reject the VAT unless the header leaves room for at least one entry.

Event History

Jul 25, 2026
CVE Published
via MITRE·08:49 AM
Data Sourced
via MITRE·08:49 AM
DescriptionSeverity
Data Sourced
via NVD·10:17 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Systems that mount UDF images containing a virtual (VAT) partition are exposed. Exploitation requires local access and the ability to cause the system to mount a crafted UDF image.

2

What does an attacker need to control?

The attacker needs a crafted UDF image with a VAT 2.0 header whose lengthHeader value exceeds the VAT inode size. This attacker-controlled 16-bit value causes an entry-count underflow and can lead to an out-of-bounds read during mounting.

3

Is a patch available, and what should be done?

A patch is available. Apply the vendor or stable-kernel update containing the VAT header-length validation before mounting untrusted UDF media or images.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203