{
  "id": "CVE-2026-120057",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-120057",
  "published_at": "2026-11-02T19:09:09.117Z",
  "title": "psqlODBC large-object read overflows the application buffer",
  "vendor": "PostgreSQL",
  "product": "psqlODBC",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/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": "psqlODBC copies the reply to a large-object read (loread) into the application's buffer using the length sent by the server, without comparing it to the buffer size. A server not trusted under current SSL settings, or a man-in-the-middle, can return more bytes than the buffer holds and overwrite adjacent memory in the client process with server-chosen bytes. Fetching any large-object column is sufficient to trigger it. Versions before psqlODBC 18.00.0006 are affected.",
  "cwe": "CWE-120",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "PostgreSQL",
        "product": "psqlODBC",
        "ranges": [
          "\u003c 18.00.0006"
        ],
        "fixed_in": [
          "18.00.0006"
        ]
      }
    ],
    "solutions": [
      "Upgrade to psqlODBC 18.00.0006 or later. CC_send_function receives the caller's buffer size, clamps the copy to it, and rejects short fixed-size replies."
    ],
    "upgrade": [
      "Upgrade psqlODBC to 18.00.0006 or later."
    ],
    "workarounds": [
      "Do not fetch large-object (lo) columns from servers that are not authenticated with sslmode=verify-full or an equivalent GSS setting."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-qhmr-5339-q33r"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
