1. Accueil
  2. Vulnérabilités
  3. CVE-2026-120058

CVE-2026-120058

psqlODBC row cache overflow when a later FETCH changes the column count

Publiée le 2 nov. 2026 · modifiée le 2 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 42/100

Résumé

psqlODBC sizes its row cache from the column count of a cursor's first result, but recomputes the column count from each later FETCH reply without checking that it matches. A server not trusted under current SSL settings can answer a later FETCH with more columns and make the driver write tuple records past the end of the heap allocation. A keyset reply with fewer columns than the key fields also underflows the unsigned field count. This is reachable with UseDeclareFetch enabled. Versions before psqlODBC 18.00.0006 are affected.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Postgresql (1 ligne(s))
Postgresql
ProduitVersionsCorrigé dansSource
psqlODBC avant 18.00.0006 (exclu) — CNA (éditeur ou attributeur)

Correctif

Correctifsource officielle

Upgrade to psqlODBC 18.00.0006 or later. The driver rejects a column count that changes between fetches of the same cursor, and a keyset reply with fewer columns than the key fields.

Source : CNA (éditeur ou attributeur)

Contournement

Contournementsource officielle

Set UseDeclareFetch=0, or connect only to servers authenticated with sslmode=verify-full or an equivalent GSS setting.

Source : CNA (éditeur ou attributeur)

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1445)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:PostgreSQL)
Faiblesse
CWE-787 · Corruption mémoire

Comment sont obtenues et calculées ces données