{
  "id": "CVE-2025-39964",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-39964",
  "published_at": "2025-10-13T13:48:30.334Z",
  "title": "crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg",
  "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": true,
    "added_at": "2026-09-18",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 340
  },
  "first_poc": {
    "created_at": "2025-11-13T13:07:19Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 31,
    "repo": "n1k0oowang/CVE-2025-39964_EXP",
    "source": "github"
  },
  "poc_repo_count": 3,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: af_alg - Disallow concurrent writes in af_alg_sendmsg\n\nIssuing two writes to the same af_alg socket is bogus as the\ndata will be interleaved in an unpredictable fashion.  Furthermore,\nconcurrent writes may create inconsistencies in the internal\nsocket state.\n\nDisallow this by adding a new ctx-\u003ewrite field that indiciates\nexclusive ownership for writing.",
  "cwe": "CWE-362",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:siemens:simatic_s7-1500_cpu_1518-4_pn\\/dp_mfp_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:siemens:simatic_s7-1500_cpu_1518f-4_pn\\/dp_mfp_firmware:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 5.5
  },
  "repos": [
    {
      "repo": "n1k0oowang/CVE-2025-39964_EXP",
      "url": "https://github.com/n1k0oowang/CVE-2025-39964_EXP",
      "created_at": "2025-11-13T13:07:19Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-08-16T11:05:11Z"
    },
    {
      "repo": "OBLIVION-EDGE-VR-LLC/Archimedes",
      "url": "https://github.com/OBLIVION-EDGE-VR-LLC/Archimedes",
      "created_at": "2026-01-11T20:27:30Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-03-01T14:37:39Z"
    },
    {
      "repo": "suominen/CVE-2025-39964",
      "url": "https://github.com/suominen/CVE-2025-39964",
      "created_at": "2026-09-20T05:55:14Z",
      "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": "2012-07-08T23:28:18Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \u003c 0f28c4adbc4a97437874c9b669fd7958a8c6d6ce",
          "\u003e= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \u003c e4c1ec11132ec466f7362a95f36a506ce4dc08c9",
          "\u003e= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \u003c 1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8",
          "\u003e= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \u003c 7c4491b5644e3a3708f3dbd7591be0a570135b84",
          "\u003e= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \u003c 9aee87da5572b3a14075f501752e209801160d3d",
          "\u003e= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \u003c 45bcf60fe49b37daab1acee57b27211ad1574042",
          "\u003e= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \u003c 1b34cbbf4f011a121ef7b2d7d6e6920a036d5285"
        ],
        "fixed_in": [
          "0f28c4adbc4a97437874c9b669fd7958a8c6d6ce",
          "e4c1ec11132ec466f7362a95f36a506ce4dc08c9",
          "1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8",
          "7c4491b5644e3a3708f3dbd7591be0a570135b84",
          "9aee87da5572b3a14075f501752e209801160d3d",
          "45bcf60fe49b37daab1acee57b27211ad1574042",
          "1b34cbbf4f011a121ef7b2d7d6e6920a036d5285"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.38"
        ],
        "fixed_in": [
          "0",
          "5.10.245",
          "5.15.194",
          "6.1.154",
          "6.6.108",
          "6.12.49",
          "6.16.9",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 0f28c4adbc4a97437874c9b669fd7958a8c6d6ce or e4c1ec11132ec466f7362a95f36a506ce4dc08c9 or 1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8 or 7c4491b5644e3a3708f3dbd7591be0a570135b84 or 9aee87da5572b3a14075f501752e209801160d3d or 45bcf60fe49b37daab1acee57b27211ad1574042 or 1b34cbbf4f011a121ef7b2d7d6e6920a036d5285 or later.",
      "Upgrade Linux to 0 or 5.10.245 or 5.15.194 or 6.1.154 or 6.6.108 or 6.12.49 or 6.16.9 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/",
      "query_markers": [
        "delimiter=/",
        "prefix=",
        "marker="
      ],
      "ports": [
        1313
      ],
      "protocol": "http",
      "repos": [
        "suominen/CVE-2025-39964"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "suominen/CVE-2025-39964/scripts/nixos-first-shipped:108",
        "suominen/CVE-2025-39964/scripts/nixos-first-shipped:174"
      ]
    },
    {
      "method": "GET",
      "path_template": "/dev/null",
      "ports": [
        1313
      ],
      "protocol": "http",
      "repos": [
        "suominen/CVE-2025-39964"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "suominen/CVE-2025-39964/scripts/nixos-first-shipped:206"
      ]
    },
    {
      "method": "GET",
      "path_template": "/madison",
      "query_markers": [
        "package=linux",
        "s=sid,forky,trixie,bookworm,bullseye",
        "text=on"
      ],
      "ports": [
        1313
      ],
      "protocol": "https",
      "repos": [
        "suominen/CVE-2025-39964"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "suominen/CVE-2025-39964/CLAUDE.md:482",
        "suominen/CVE-2025-39964/scripts/auto-update-prompt.txt:111"
      ]
    },
    {
      "method": "GET",
      "path_template": "/mr/package/linux/{var}/srcfiles",
      "query_markers": [
        "fileinfo=1"
      ],
      "ports": [
        1313
      ],
      "protocol": "https",
      "repos": [
        "suominen/CVE-2025-39964"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "suominen/CVE-2025-39964/CLAUDE.md:492"
      ]
    },
    {
      "method": "GET",
      "path_template": "/tracker/data/json",
      "ports": [
        1313
      ],
      "protocol": "https",
      "repos": [
        "suominen/CVE-2025-39964"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "suominen/CVE-2025-39964/CLAUDE.md:474",
        "suominen/CVE-2025-39964/scripts/auto-update-prompt.txt:109"
      ]
    }
  ],
  "rules": []
}
