Catálogo de CVE

CVE-2026-136505

psqlodbc affected and fixed versions

[Catálogo de CVE]

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.

Gravedad
High · CVSS 3.1 · 7.5CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.53% · Dec 4, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debiansidpsqlodbc1:18.00.0007-1FixedDistribution-reported fixed boundary[CVE-2026-136505]
Debiansidpsqlodbc1:18.00.0008-1Fixed[CVE-2026-136505]
Debianforkypsqlodbc1:18.00.0007-1FixedDistribution-reported fixed boundary[CVE-2026-136505]
Debianforkypsqlodbc1:18.00.0008-1Fixed[CVE-2026-136505]
More observations (22)
Distribution / releasePackageVersionStatusSource
DebianbookwormpsqlodbcNot reportedAffectedDistribution reports no fix[CVE-2026-136505]
Debianbookwormpsqlodbc1:13.02.0000-2Affected[CVE-2026-136505]
DebiantrixiepsqlodbcNot reportedAffectedDistribution reports no fix[CVE-2026-136505]
Debiantrixiepsqlodbc1:17.00.0004-2Affected[CVE-2026-136505]
OpensusetumbleweedpsqlODBC18.00.0007-1.1UnknownSource applicability is not established[OPENSUSE-SU-2026:12716-1]
Ubuntu16.04psqlodbc1:09.03.0300-1Affected[UBUNTU-CVE-2026-136505]
Ubuntu18.04psqlodbc1:09.06.0410-1Affected[UBUNTU-CVE-2026-136505]
Ubuntu18.04psqlodbc1:10.00.0000-1Affected[UBUNTU-CVE-2026-136505]
Ubuntu18.04psqlodbc1:10.01.0000-1Affected[UBUNTU-CVE-2026-136505]
Ubuntu20.04psqlodbc1:11.00.0000-1Affected[UBUNTU-CVE-2026-136505]
Ubuntu20.04psqlodbc1:12.00.0000-1Affected[UBUNTU-CVE-2026-136505]
Ubuntu20.04psqlodbc1:12.01.0000-1Affected[UBUNTU-CVE-2026-136505]
Ubuntu22.04psqlodbc1:13.00.0000-1Affected[UBUNTU-CVE-2026-136505]
Ubuntu22.04psqlodbc1:13.02.0000-1Affected[UBUNTU-CVE-2026-136505]
Ubuntu22.04psqlodbc1:13.02.0000-2Affected[UBUNTU-CVE-2026-136505]
Ubuntu24.04psqlodbc1:15.00.0000-1Affected[UBUNTU-CVE-2026-136505]
Ubuntu24.04psqlodbc1:16.00.0000-1Affected[UBUNTU-CVE-2026-136505]
Ubuntu26.04psqlodbc1:17.00.0006-2Affected[UBUNTU-CVE-2026-136505]
Ubuntu26.04psqlodbc1:17.00.0007-1Affected[UBUNTU-CVE-2026-136505]
Ubuntu26.10psqlodbc1:17.00.0007-1Affected[UBUNTU-CVE-2026-136505]
Ubuntu26.10psqlodbc1:18.00.0001-1Affected[UBUNTU-CVE-2026-136505]
Ubuntu26.10psqlodbc1:18.00.0002-1Affected[UBUNTU-CVE-2026-136505]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [odbc-postgresql]Afectada

    Paquete fuente: [psqlodbc]

    Detalles (2)
    • 1:13.02.0000-2+b1 · amd64 · bookworm

      Afectada

      dsa · psqlodbc · debian · bookworm; pypi · psqlodbc · debian · 12

    • 1:13.02.0000-2+b1 · arm64 · bookworm

      Afectada

      dsa · psqlodbc · debian · bookworm; pypi · psqlodbc · debian · 12

[Debian 13 (Trixie)]

  • [odbc-postgresql]Afectada

    Paquete fuente: [psqlodbc]

    Detalles (2)
    • 1:17.00.0004-2 · amd64 · trixie

      Afectada

      pypi · psqlodbc · debian · 13

    • 1:17.00.0004-2 · arm64 · trixie

      Afectada

      pypi · psqlodbc · debian · 13

[openSUSE Leap 15.6]

  • [psqlODBC]Desconocido

    Paquete fuente: [psqlODBC]

    Detalles (4)
    • 16.00.0000-150600.1.2 · aarch64 · leap-15.6

      Desconocido · Corregida: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

    • 16.00.0000-150600.1.2 · ppc64le · leap-15.6

      Desconocido · Corregida: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

    • 16.00.0000-150600.1.2 · s390x · leap-15.6

      Desconocido · Corregida: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

    • 16.00.0000-150600.1.2 · x86_64 · leap-15.6

      Desconocido · Corregida: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

[openSUSE Leap 16.0]

  • [psqlODBC]Desconocido

    Paquete fuente: [psqlODBC]

    Detalles (4)
    • 16.00.0000-bp160.1.12 · aarch64 · leap-16.0

      Desconocido · Corregida: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

    • 16.00.0000-bp160.1.12 · ppc64le · leap-16.0

      Desconocido · Corregida: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

    • 16.00.0000-bp160.1.12 · s390x · leap-16.0

      Desconocido · Corregida: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

    • 16.00.0000-bp160.1.12 · x86_64 · leap-16.0

      Desconocido · Corregida: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

[openSUSE Tumbleweed]

  • [psqlODBC]Desconocido

    Paquete fuente: [psqlODBC]

    Detalles (1)
    • 17.00.0008-1.4 · x86_64 · tumbleweed

      Desconocido · Corregida: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

Observado:

Referencias