{
  "id": "cve-2026-16238",
  "title": "OpenAI Codex Security credited in PostgreSQL advisory: PostgreSQL type confusion in pg_restore_attribute_stats() executes arbitrary code",
  "product": "PostgreSQL",
  "ai_system": "OpenAI Codex Security (credited reporter label: Amy Burnett, OpenAI Codex Security)",
  "organization": "OpenAI",
  "summary": "Type confusion in PostgreSQL pg_restore_attribute_stats() allows an object creator to execute arbitrary code as the operating system user running the database, via conflation of range and multirange values.  Within major version 18, minor versions before PostgreSQL 18.6 are affected.  Versions before PostgreSQL 18 are unaffected.",
  "ai_role": "The PostgreSQL security page credits “Amy Burnett (OpenAI Codex Security)” for reporting. Credited alone for this CVE. The page does not describe the model’s analysis or the extent of human review.",
  "disclosure_date": "2026-08-13",
  "ai_attribution_date": "2026-08-13",
  "classification": "disclosure",
  "classification_note": "PostgreSQL documents the flaw and fixed minor releases; no exploitation in the wild is claimed in the cited page.",
  "cves": [
    "CVE-2026-16238"
  ],
  "source_url": "https://www.postgresql.org/support/security/CVE-2026-16238/",
  "ai_source_url": "https://www.postgresql.org/support/security/CVE-2026-16238/",
  "remediation": "fix documented",
  "remediation_note": "The PostgreSQL page lists fixed minor releases (18.6 etc.; fix published 2026-08-13); installed state is not checked.",
  "advisory_url": "https://www.postgresql.org/support/security/CVE-2026-16238/",
  "checked_date": "2026-11-17",
  "cvss": [
    {
      "cve": "CVE-2026-16238",
      "version": "3.1",
      "score": 8.8,
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/16xxx/CVE-2026-16238.json",
      "source_name": "PostgreSQL (CNA; CVE Program record)",
      "checked_date": "2026-11-17"
    }
  ]
}
