{
  "id": "CVE-2026-116317",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-116317",
  "published_at": "2026-11-12T14:15:09.968Z",
  "title": "PostgreSQL ts_rank_cd() heap buffer overflow may execute 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": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Heap-based buffer overflow in PostgreSQL ts_rank_cd() may allow a database user to execute arbitrary code as the operating system user running the database, via an invalid tsvector containing duplicate positions.  Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.",
  "cwe": "CWE-122",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "n/a",
        "product": "PostgreSQL",
        "ranges": [
          "\u003e= 18, \u003c 18.7",
          "\u003e= 17, \u003c 17.12",
          "\u003e= 16, \u003c 16.16",
          "\u003e= 15, \u003c 15.20",
          "\u003c 14.25"
        ],
        "fixed_in": [
          "18.7",
          "17.12",
          "16.16",
          "15.20",
          "14.25"
        ]
      }
    ],
    "upgrade": [
      "Upgrade PostgreSQL to 18.7 or 17.12 or 16.16 or 15.20 or 14.25 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
