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-136512

published high CVSS 3.1 · 7.5

Buffer overflows when a converted value does not fit the application's buffer

Published
25 Nov 2026, 22:25:52 UTC
Updated
25 Nov 2026, 22:25:52 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

With SQL_C_DEFAULT, the C type of a bound column or parameter follows its SQL type. An application sizes its buffer from the type it was told when it described the statement. When the column had another type at fetch time, because the server reported another type, the table was altered, or an output parameter's result column had another type, psqlODBC wrote the larger type into the smaller buffer: 12 bytes past a 4-byte buffer for a uuid, and more in multi-row fetches, where the driver also steps through the array by the larger size. Other conversions wrote past the application's buffer as well: - With Int8As set to a smaller type, an int8 column fetched as SQL_C_DEFAULT was still written as 8 bytes. - An int2vector column fetched as SQL_C_DEFAULT returned unterminated binary data instead of text. - An output parameter that the application discards by binding a NULL buffer overflowed a stack buffer in the driver. - SQLGetData() with BufferLength 0 on a column the driver reads as a large object wrote a NUL byte past the buffer. - Adding a row with SQLBulkOperations(SQL_ADD) on a static updatable cursor before the first fetch, then changing that row, rolling back and fetching it, made the keyset index arithmetic free a pointer that was never allocated and corrupt the heap. This can be triggered by a hostile or compromised server, or anyone on the network path of a connection that does not use sslmode=verify-full (the default is disable), and by the owner of a table the application reads. 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:N/UI:R/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

1
  • CWE-787 CWE-787 Out-of-bounds Write (PostgreSQL · cna)

References

2
  • GHSA-c66p-8p63-p7mr https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-c66p-8p63-p7mr vendor-advisory Contributors: PostgreSQL (cna)
  • psqlODBC changelog https://odbc.postgresql.org/changelog/ release-notes Contributors: PostgreSQL (cna)

Provider assertions

1

PostgreSQL · cna

Buffer overflows when a converted value does not fit the application's buffer

Provenance

Schema
5.2
Searchable
yes
Content hash
3b36cd9a660ec2373db899f1b418c2cf3de16626a85a84424dd589aaa96fa16b
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