{
  "id": "CVE-2026-2005",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-2005",
  "published_at": "2026-02-12T13:00:09.784Z",
  "title": "PostgreSQL pgcrypto heap buffer overflow executes arbitrary code",
  "product": "PostgreSQL",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/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-03-07T08:24:20Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 22.8,
    "repo": "M3str3/CVE-2026-2005",
    "source": "github"
  },
  "poc_repo_count": 3,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Heap buffer overflow in PostgreSQL pgcrypto allows a ciphertext provider to execute arbitrary code as the operating system user running the database.  Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.",
  "cwe": "CWE-122",
  "cpes": [
    "cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [
    {
      "repo": "M3str3/CVE-2026-2005",
      "url": "https://github.com/M3str3/CVE-2026-2005",
      "created_at": "2026-03-07T08:24:20Z",
      "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": "2020-03-16T08:26:17Z"
    },
    {
      "repo": "stvm8/CVE-2026-2005_lab",
      "url": "https://github.com/stvm8/CVE-2026-2005_lab",
      "created_at": "2026-05-04T17:37:03Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "no network code found (normal for a local exploit)"
      ],
      "status": "analyzed",
      "owner_created_at": "2023-01-01T17:00:46Z"
    },
    {
      "repo": "dinosn/cve-2026-2005",
      "url": "https://github.com/dinosn/cve-2026-2005",
      "created_at": "2026-05-05T08:24:47Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 18,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-03-13T08:31:01Z"
    },
    {
      "repo": "var77/CVE-2026-2005",
      "url": "https://github.com/var77/CVE-2026-2005",
      "created_at": "2026-05-13T15:29:43Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 27,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-02-13T17:17:03Z"
    },
    {
      "repo": "open-flaw/CVE-2026-2005",
      "url": "https://github.com/open-flaw/CVE-2026-2005",
      "created_at": "2026-08-10T10:14:52Z",
      "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": "2026-05-16T13:40:22Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "n/a",
        "product": "PostgreSQL",
        "ranges": [
          "\u003e= 18, \u003c 18.2",
          "\u003e= 17, \u003c 17.8",
          "\u003e= 16, \u003c 16.12",
          "\u003e= 15, \u003c 15.16",
          "\u003c 14.21"
        ],
        "fixed_in": [
          "18.2",
          "17.8",
          "16.12",
          "15.16",
          "14.21"
        ]
      }
    ],
    "upgrade": [
      "Upgrade PostgreSQL to 18.2 or 17.8 or 16.12 or 15.16 or 14.21 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
