VDB

CVE-2026-74485

CVE-2026-74485 PUBLISHED CVSS 7.1 HIGH

binfmt_misc: reject a flag character as the field delimiter

Reported by linux · Published August 15, 2026

In the Linux kernel, the following vulnerability has been resolved: binfmt_misc: reject a flag character as the field delimiter The registration string starts with a user chosen delimiter that separates the individual fields. So that the field parsers terminate even on a truncated string create_entry() pads the buffer with that same delimiter: memset(buf + count, del, 8); Most fields are scanned for the delimiter with strchr()/scanarg() and happily stop on the padding. The flags field is different: instead of scanning for the delimiter check_special_flags() consumes the flag characters 'P', 'O', 'C' and 'F' and stops at the first byte that is none of them, relying on the trailing delimiter to end the scan. If the delimiter is itself a flag character the padding no longer acts as a terminator. The scan swallows all eight padding bytes and keeps reading past the end of the allocation until it hits a byte that is not a flag character. For example registering PaPEPPxPPiP with 'P' as the delimiter (name "a", type extension, magic "x", interpreter "i", empty flags) leaves the flag scan running off the end of the buffer. The registration is rejected in the end because the parser does not stop exactly at buf + count, but only after the out of bounds read has already happened. With an unlucky allocation layout the scan can walk into an unmapped page; under KASAN it is reported as a slab out of bounds read. binfmt_misc mounts are available to unprivileged users in a user namespace so the read is reachable without privileges. Reject a delimiter that is one of the flag characters up front. Such a registration was always rejected anyway, only after the out of bounds read, so no valid registration string changes meaning.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-livepatch-6.18.44-99.149Amazon Linux1:1.0-0.amzn2023
perfAmazon Linux1:6.1.186-228.374.amzn2023
python3-perfAmazon Linux1:6.1.186-228.374.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.103-127.188.amzn2023
kernel6.12-headersAmazon Linux1:6.12.103-127.188.amzn2023
kernel6.18Amazon Linux1:6.18.44-99.149.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.186-228.374.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.103-127.188.amzn2023
kernelAmazon Linux1:6.1.186-228.374.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.103-127.188.amzn2023
perf6.12Amazon Linux1:6.12.103-127.188.amzn2023
kernel-modules-extraAmazon Linux1:6.1.186-228.374.amzn2023

2 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
LinuxLinux2.6.12, 0, 5.10.265
amazon:2023kernel-livepatch-6.18.44-99.1490
amazon:2023perf0
amazon:2023python3-perf0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.180
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel0
amazon:2023kernel6.12-tools-devel0
amazon:2023perf6.120
amazon:2023kernel-modules-extra0
amazon:2023kernel6.18-tools0
LinuxLinux6.1.183, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
amazon:2023kernel6.18-devel0
amazon:2023kernel-tools0
amazon:2023kernel-livepatch-6.1.186-228.3740
amazon:2023bpftool0

…and 18 more

Timeline

  • Aug 15, 2026 CVE Published
  • Aug 16, 2026 EPSS Score (7 in total, the first dated here)
  • Aug 19, 2026 Security Advisory
  • Oct 16, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-74485
vulnetix vdb fixes CVE-2026-74485

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-74485/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›