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

CVE-2026-120059

psqlODBC uses a server-supplied column name as a format string

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

Faible 35/100

Résumé

For an updatable cursor over a table without OIDs that has an auto-increment int4 column, psqlODBC places that column's name, as reported by the server, into a printf-style format string. It later expands that string with one argument while it builds the WHERE clause of its positioned SELECT, UPDATE, and DELETE statements. A column name that contains format directives makes the driver read unrelated memory, which can crash the application or copy client memory into query text sent to the server. The name can come from a server not trusted under current SSL settings, or from any database user who can create a table that the application reads with an updatable cursor. 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. Each percent sign in the server-supplied column name is doubled before the name is placed in the format string.

Source : CNA (éditeur ou attributeur)

Contournement

Contournementsource officielle

Set UpdatableCursors=0 in the connection string or DSN, or use read-only cursors (SQL_CONCUR_READ_ONLY).

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:N/A:H (CVSS 3.1, CNA:PostgreSQL)
Faiblesse
CWE-134 · Autre (CWE-134)

Comment sont obtenues et calculées ces données