{
  "id": "CVE-2026-31694",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31694",
  "published_at": "2026-05-01T13:53:36.048Z",
  "title": "fuse: reject oversized dirents in page cache",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-06-30T11:49:36Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 59.9,
    "repo": "0xCyberstan/CVE-2026-31694-POC",
    "source": "github"
  },
  "poc_repo_count": 2,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nfuse: reject oversized dirents in page cache\n\nfuse_add_dirent_to_cache() computes a serialized dirent size from the\nserver-controlled namelen field and copies the dirent into a single\npage-cache page. The existing logic only checks whether the dirent fits\nin the remaining space of the current page and advances to a fresh page\nif not. It never checks whether the dirent itself exceeds PAGE_SIZE.\n\nAs a result, a malicious FUSE server can return a dirent with\nnamelen=4095, producing a serialized record size of 4120 bytes. On 4 KiB\npage systems this causes memcpy() to overflow the cache page by 24 bytes\ninto the following kernel page.\n\nReject dirents that cannot fit in a single page before copying them into\nthe readdir cache.",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:siemens:simatic_s7-1500_tm_mfp_firmware:-:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [
    {
      "repo": "0xCyberstan/CVE-2026-31694-POC",
      "url": "https://github.com/0xCyberstan/CVE-2026-31694-POC",
      "created_at": "2026-06-30T11:49:36Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 18,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-01-12T20:55:36Z"
    },
    {
      "repo": "zenzue/CVE_2026_31694",
      "url": "https://github.com/zenzue/CVE_2026_31694",
      "created_at": "2026-07-29T01:06:35Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-05-09T17:41:25Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 27992ef80770d61a57f6c3a551735b08cefdffa3, \u003c 7de93abfaae1b2dc94da8a07a36421bd073f1d8f",
          "\u003e= 27992ef80770d61a57f6c3a551735b08cefdffa3, \u003c 474ce83c96a55f2eeb14dee2be375eeadfdacdf5",
          "\u003e= 27992ef80770d61a57f6c3a551735b08cefdffa3, \u003c 51a8de6c50bf947c8f534cd73da4c8f0a13e7bed"
        ],
        "fixed_in": [
          "7de93abfaae1b2dc94da8a07a36421bd073f1d8f",
          "474ce83c96a55f2eeb14dee2be375eeadfdacdf5",
          "51a8de6c50bf947c8f534cd73da4c8f0a13e7bed"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.15"
        ],
        "fixed_in": [
          "0",
          "6.18.25",
          "7.0.2",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 7de93abfaae1b2dc94da8a07a36421bd073f1d8f or 474ce83c96a55f2eeb14dee2be375eeadfdacdf5 or 51a8de6c50bf947c8f534cd73da4c8f0a13e7bed or later.",
      "Upgrade Linux to 0 or 6.18.25 or 7.0.2 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
