Catálogo de CVE

CVE-2026-136512

psqlodbc affected and fixed versions

[Catálogo de CVE]

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.

Gravedad
High · CVSS 3.1 · 7.5CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.42% · 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-136512]
Debiansidpsqlodbc1:18.00.0008-1Fixed[CVE-2026-136512]
Debianforkypsqlodbc1:18.00.0007-1FixedDistribution-reported fixed boundary[CVE-2026-136512]
Debianforkypsqlodbc1:18.00.0008-1Fixed[CVE-2026-136512]
More observations (22)
Distribution / releasePackageVersionStatusSource
DebianbookwormpsqlodbcNot reportedAffectedDistribution reports no fix[CVE-2026-136512]
Debianbookwormpsqlodbc1:13.02.0000-2Affected[CVE-2026-136512]
DebiantrixiepsqlodbcNot reportedAffectedDistribution reports no fix[CVE-2026-136512]
Debiantrixiepsqlodbc1:17.00.0004-2Affected[CVE-2026-136512]
OpensusetumbleweedpsqlODBC18.00.0007-1.1UnknownSource applicability is not established[OPENSUSE-SU-2026:12716-1]
Ubuntu16.04psqlodbc1:09.03.0300-1Affected[UBUNTU-CVE-2026-136512]
Ubuntu18.04psqlodbc1:09.06.0410-1Affected[UBUNTU-CVE-2026-136512]
Ubuntu18.04psqlodbc1:10.00.0000-1Affected[UBUNTU-CVE-2026-136512]
Ubuntu18.04psqlodbc1:10.01.0000-1Affected[UBUNTU-CVE-2026-136512]
Ubuntu20.04psqlodbc1:11.00.0000-1Affected[UBUNTU-CVE-2026-136512]
Ubuntu20.04psqlodbc1:12.00.0000-1Affected[UBUNTU-CVE-2026-136512]
Ubuntu20.04psqlodbc1:12.01.0000-1Affected[UBUNTU-CVE-2026-136512]
Ubuntu22.04psqlodbc1:13.00.0000-1Affected[UBUNTU-CVE-2026-136512]
Ubuntu22.04psqlodbc1:13.02.0000-1Affected[UBUNTU-CVE-2026-136512]
Ubuntu22.04psqlodbc1:13.02.0000-2Affected[UBUNTU-CVE-2026-136512]
Ubuntu24.04psqlodbc1:15.00.0000-1Affected[UBUNTU-CVE-2026-136512]
Ubuntu24.04psqlodbc1:16.00.0000-1Affected[UBUNTU-CVE-2026-136512]
Ubuntu26.04psqlodbc1:17.00.0006-2Affected[UBUNTU-CVE-2026-136512]
Ubuntu26.04psqlodbc1:17.00.0007-1Affected[UBUNTU-CVE-2026-136512]
Ubuntu26.10psqlodbc1:17.00.0007-1Affected[UBUNTU-CVE-2026-136512]
Ubuntu26.10psqlodbc1:18.00.0001-1Affected[UBUNTU-CVE-2026-136512]
Ubuntu26.10psqlodbc1:18.00.0002-1Affected[UBUNTU-CVE-2026-136512]

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