Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-136505

published high CVSS 3.1 · 7.5

Unchecked sizes and counters overflow driver buffers

Published
25 Nov 2026, 22:25:47 UTC
Updated
25 Nov 2026, 22:25:47 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
PostgreSQL — psqlodbcpsqlODBC · 0 through 18.00.0006 · Other versions: unaffected Affected Not stated PostgreSQL
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment
SUSE / openSUSE openSUSE-Tumbleweed psqlODBCaarch64 Advisory build 18.00.0007-1.1 OPENSUSE-SU-2026:12716-1
SUSE / openSUSE openSUSE-Tumbleweed psqlODBCppc64le Advisory build 18.00.0007-1.1 OPENSUSE-SU-2026:12716-1
SUSE / openSUSE openSUSE-Tumbleweed psqlODBCs390x Advisory build 18.00.0007-1.1 OPENSUSE-SU-2026:12716-1
SUSE / openSUSE openSUSE-Tumbleweed psqlODBCx86_64 Advisory build 18.00.0007-1.1 OPENSUSE-SU-2026:12716-1

Description

psqlODBC uses sizes and counts without checking their range, or keeps them in types too small for them: - A row array size of 0, set with SQLSetStmtAttr() or on the ARD, makes SQLSetPos() with SQL_REFRESH write past the bound arrays. - SQL_DESC_COUNT above 32767 on an APD or IPD writes before the start of a heap buffer. - A numeric parameter with a negative scale overflows a stack buffer. - SQLGetData() of a text value of 2 GiB or more into a wide-character buffer computes a wrapped size and overflows the heap. - The 16-bit reference count and size of the statement parser's column-information cache wrap, which frees a cache entry still in use or overflows the cache, and a statement with more than 32768 columns overflows the parser's field array. - An updatable cursor that records more than 65535 changes in one transaction wraps the 16-bit capacity of its rollback log, which overflows it and frees it twice. - A statement with 32769 or more parameter markers overflows a 16-bit parameter count. - A wide-character string of more than 2 GiB wraps the size of its UTF-8 conversion, which is then written below the start of a heap buffer. - SQLGetDiagField() and SQLGetDiagFieldW() always stored the five-character SQLSTATE plus its terminator and checked BufferLength only afterwards, overrunning a buffer shorter than six bytes. - The ANSI SQLSetDescField(SQL_DESC_NAME) on an IPD ignored BufferLength and copied the name with strdup(), reading a name passed as pointer plus length past its end. - SQLFetchScroll(SQL_FETCH_BOOKMARK) did not check the bookmark it was given, so whoever chooses the bookmark value read out of bounds and crashed the process. - Four places in the parameter conversion read one byte past the end of a bound character parameter, and one of them rewrote it. - Binding a date, time or timestamp C value to an SQL_INTEGER or SQL_SMALLINT parameter dereferenced NULL instead of returning the conversion error. Depending on the case, the values come from the application, from the data or statement text an end user supplies, or from a database user who controls the size of a table or value. The demonstrated results are crashes and heap corruption; code execution has not been demonstrated. Versions up to and including psqlODBC 18.00.0006 are affected.

en · PostgreSQL · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
PostgreSQL · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
PostgreSQL psqlODBC 0 through 18.00.0006 (affected · custom)Default: unaffected PostgreSQL · cna

Weaknesses

3
  • CWE-190 CWE-190 Integer Overflow or Wraparound (PostgreSQL · cna)
  • CWE-787 CWE-787 Out-of-bounds Write (PostgreSQL · cna)
  • CWE-121 CWE-121 Stack-based Buffer Overflow (PostgreSQL · cna)

References

2
  • GHSA-4g4f-phc4-3qh7 https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-4g4f-phc4-3qh7 vendor-advisory Contributors: PostgreSQL (cna)
  • psqlODBC changelog https://odbc.postgresql.org/changelog/ release-notes Contributors: PostgreSQL (cna)

Provider assertions

1

PostgreSQL · cna

Unchecked sizes and counters overflow driver buffers

Provenance

Schema
5.2
Searchable
yes
Content hash
8648055ffc27b6ca1d7ec54fcd74545dbcf28b8ef4a92f1dd6b53ef62875d3ec
Ingested
25 Nov 2026, 22:31:10 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected