{
  "id": "CVE-2026-74485",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-74485",
  "published_at": "2026-08-15T12:27:16.98Z",
  "title": "binfmt_misc: reject a flag character as the field delimiter",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nbinfmt_misc: reject a flag character as the field delimiter\n\nThe registration string starts with a user chosen delimiter that\nseparates the individual fields. So that the field parsers terminate\neven on a truncated string create_entry() pads the buffer with that\nsame delimiter:\n\n\tmemset(buf + count, del, 8);\n\nMost fields are scanned for the delimiter with strchr()/scanarg() and\nhappily stop on the padding. The flags field is different: instead of\nscanning for the delimiter check_special_flags() consumes the flag\ncharacters 'P', 'O', 'C' and 'F' and stops at the first byte that is\nnone of them, relying on the trailing delimiter to end the scan.\n\nIf the delimiter is itself a flag character the padding no longer acts\nas a terminator. The scan swallows all eight padding bytes and keeps\nreading past the end of the allocation until it hits a byte that is\nnot a flag character. For example registering\n\n\tPaPEPPxPPiP\n\nwith 'P' as the delimiter (name \"a\", type extension, magic \"x\",\ninterpreter \"i\", empty flags) leaves the flag scan running off the end\nof the buffer. The registration is rejected in the end because the\nparser does not stop exactly at buf + count, but only after the out of\nbounds read has already happened. With an unlucky allocation layout the\nscan can walk into an unmapped page; under KASAN it is reported as a\nslab out of bounds read. binfmt_misc mounts are available to\nunprivileged users in a user namespace so the read is reachable without\nprivileges.\n\nReject a delimiter that is one of the flag characters up front. Such a\nregistration was always rejected anyway, only after the out of bounds\nread, so no valid registration string changes meaning.",
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 96bd5d4fea2970b9b08265293ca7a10b9b27c0fd",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 9970e094e5d60f0d66914bf9a97d1ef19107ebf5",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c b29e3c1f375c1296362d219ff38bceddf2d2a88a",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 1819f82dee766c58295ecaacdac02cdf6837d7a4",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 1853e95c9bfe69ef1dd862b3f551e68f4a1b76cc",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 840bb9c49c3e75fb32b593d67ab32f6b77122262",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 9a2d87db3898b5993b64fd258d0334e0eba9ee0d",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 8e85d50ba1117fd446bf9a250bd8a97d48384bdc"
        ],
        "fixed_in": [
          "96bd5d4fea2970b9b08265293ca7a10b9b27c0fd",
          "9970e094e5d60f0d66914bf9a97d1ef19107ebf5",
          "b29e3c1f375c1296362d219ff38bceddf2d2a88a",
          "1819f82dee766c58295ecaacdac02cdf6837d7a4",
          "1853e95c9bfe69ef1dd862b3f551e68f4a1b76cc",
          "840bb9c49c3e75fb32b593d67ab32f6b77122262",
          "9a2d87db3898b5993b64fd258d0334e0eba9ee0d",
          "8e85d50ba1117fd446bf9a250bd8a97d48384bdc"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.12"
        ],
        "fixed_in": [
          "0",
          "5.10.265",
          "5.15.216",
          "6.1.183",
          "6.6.151",
          "6.12.103",
          "6.18.44",
          "7.1.8",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 96bd5d4fea2970b9b08265293ca7a10b9b27c0fd or 9970e094e5d60f0d66914bf9a97d1ef19107ebf5 or b29e3c1f375c1296362d219ff38bceddf2d2a88a or 1819f82dee766c58295ecaacdac02cdf6837d7a4 or 1853e95c9bfe69ef1dd862b3f551e68f4a1b76cc or 840bb9c49c3e75fb32b593d67ab32f6b77122262 or 9a2d87db3898b5993b64fd258d0334e0eba9ee0d or 8e85d50ba1117fd446bf9a250bd8a97d48384bdc or later.",
      "Upgrade Linux to 0 or 5.10.265 or 5.15.216 or 6.1.183 or 6.6.151 or 6.12.103 or 6.18.44 or 7.1.8 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
