CVE-2026-136514 (GCVE-0-2026-136514)

Vulnerability from cvelistv5 – Published: 2026-11-25 22:25 – Updated: 2026-11-25 22:25
VLAI
Title
Another database user can crash applications by changing a table they own
Summary
psqlODBC assumed that a table it reads keeps the definition it had when the statement was described or parsed. A database user who owns a table or view another user's application reads can crash that application, with an honest server and default options, in these cases: - Columns dropped or added in another session while the application updates rows through an updatable cursor, or describes the columns with Parse=1. - A view whose ctid is NULL, read through an updatable cursor, which writes past the row cache, and a view with a volatile filter scrolled backward with UseDeclareFetch=1. - Rows added through an updatable cursor to a table with child tables or partitions. - A column whose type is named lo, written with data-at-execution parameters. - A DROP TABLE or ALTER TABLE on the connection while another statement still uses the table's column information. - NULL key columns in rows the driver re-reads for an updatable cursor. - A function called with more output parameters than its result has columns. - SQLTables() and SQLTablesW() dereferenced NULL when called with empty strings for the catalog, schema and table names together with a NULL TableType, which kills the process that loaded the driver and every session it serves. The demonstrated results are crashes; one case writes past a heap buffer, but code execution has not been demonstrated. Versions up to and including psqlODBC 18.00.0006 are affected.
CWE
Assigner
PostgreSQL CNA under the redhat root
CNA scorecard C 69/100 over 179 records in the last 180 days details
References
Impacted products
Vendor Product Version CPE status
PostgreSQL psqlODBC Affected: 0 , ≤ 18.00.0006 (custom)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "collectionURL": "https://odbc.postgresql.org/",
          "defaultStatus": "unaffected",
          "packageName": "psqlodbc",
          "product": "psqlODBC",
          "vendor": "PostgreSQL",
          "versions": [
            {
              "lessThanOrEqual": "18.00.0006",
              "status": "affected",
              "version": "0",
              "versionType": "custom"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "psqlODBC assumed that a table it reads keeps the definition it had when the statement was described or parsed. A database user who owns a table or view another user\u0027s application reads can crash that application, with an honest server and default options, in these cases:\n\n- Columns dropped or added in another session while the application updates rows through an updatable cursor, or describes the columns with Parse=1.\n- A view whose ctid is NULL, read through an updatable cursor, which writes past the row cache, and a view with a volatile filter scrolled backward with UseDeclareFetch=1.\n- Rows added through an updatable cursor to a table with child tables or partitions.\n- A column whose type is named lo, written with data-at-execution parameters.\n- A DROP TABLE or ALTER TABLE on the connection while another statement still uses the table\u0027s column information.\n- NULL key columns in rows the driver re-reads for an updatable cursor.\n- A function called with more output parameters than its result has columns.\n- SQLTables() and SQLTablesW() dereferenced NULL when called with empty strings for the catalog, schema and table names together with a NULL TableType, which kills the process that loaded the driver and every session it serves.\n\nThe demonstrated results are crashes; one case writes past a heap buffer, but code execution has not been demonstrated.\n\nVersions up to and including psqlODBC 18.00.0006 are affected."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "format": "CVSS"
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-476",
              "description": "CWE-476 NULL Pointer Dereference",
              "lang": "en",
              "type": "CWE"
            },
            {
              "cweId": "CWE-125",
              "description": "CWE-125 Out-of-bounds Read",
              "lang": "en",
              "type": "CWE"
            },
            {
              "cweId": "CWE-787",
              "description": "CWE-787 Out-of-bounds Write",
              "lang": "en",
              "type": "CWE"
            },
            {
              "cweId": "CWE-416",
              "description": "CWE-416 Use After Free",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-25T22:25:53.531Z",
        "orgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
        "shortName": "PostgreSQL"
      },
      "references": [
        {
          "name": "GHSA-hcmw-j9px-6v23",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-hcmw-j9px-6v23"
        },
        {
          "name": "psqlODBC changelog",
          "tags": [
            "release-notes"
          ],
          "url": "https://odbc.postgresql.org/changelog/"
        }
      ],
      "title": "Another database user can crash applications by changing a table they own"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
    "assignerShortName": "PostgreSQL",
    "cveId": "CVE-2026-136514",
    "datePublished": "2026-11-25T22:25:53.531Z",
    "dateReserved": "2026-11-24T20:17:10.905Z",
    "dateUpdated": "2026-11-25T22:25:53.531Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://odbc.postgresql.org/",
                "defaultStatus": "unaffected",
                "packageName": "psqlodbc",
                "product": "psqlODBC",
                "vendor": "PostgreSQL",
                "versions": [
                  {
                    "lessThanOrEqual": "18.00.0006",
                    "status": "affected",
                    "version": "0",
                    "versionType": "custom"
                  }
                ]
              }
            ],
            "source": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "psqlODBC assumed that a table it reads keeps the definition it had when the statement was described or parsed. A database user who owns a table or view another user\u0027s application reads can crash that application, with an honest server and default options, in these cases:\n\n- Columns dropped or added in another session while the application updates rows through an updatable cursor, or describes the columns with Parse=1.\n- A view whose ctid is NULL, read through an updatable cursor, which writes past the row cache, and a view with a volatile filter scrolled backward with UseDeclareFetch=1.\n- Rows added through an updatable cursor to a table with child tables or partitions.\n- A column whose type is named lo, written with data-at-execution parameters.\n- A DROP TABLE or ALTER TABLE on the connection while another statement still uses the table\u0027s column information.\n- NULL key columns in rows the driver re-reads for an updatable cursor.\n- A function called with more output parameters than its result has columns.\n- SQLTables() and SQLTablesW() dereferenced NULL when called with empty strings for the catalog, schema and table names together with a NULL TableType, which kills the process that loaded the driver and every session it serves.\n\nThe demonstrated results are crashes; one case writes past a heap buffer, but code execution has not been demonstrated.\n\nVersions up to and including psqlODBC 18.00.0006 are affected."
          }
        ],
        "id": "CVE-2026-136514",
        "lastModified": "2026-11-25T23:17:24.760",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 6.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 2.8,
              "impactScore": 3.6,
              "source": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-25T23:17:24.760",
        "references": [
          {
            "source": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
            "url": "https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-hcmw-j9px-6v23"
          },
          {
            "source": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
            "url": "https://odbc.postgresql.org/changelog/"
          }
        ],
        "sourceIdentifier": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
        "vulnStatus": "Received",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-125"
              },
              {
                "lang": "en",
                "value": "CWE-416"
              },
              {
                "lang": "en",
                "value": "CWE-476"
              },
              {
                "lang": "en",
                "value": "CWE-787"
              }
            ],
            "source": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
            "type": "Secondary"
          }
        ]
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.