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

CVE-2026-120063

psqlODBC stack buffer overflow when quoting long schema and table names

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

Faible 29/100

Résumé

When psqlODBC quotes a schema or table name into a 128-byte stack buffer, its length check lets it write up to two bytes past the end of the buffer for a long name. The names come from the application's SQL text: the table of a statement the driver parses to describe its columns, and the target of the last INSERT when the driver rewrites SELECT @@IDENTITY. In the @@IDENTITY rewrite, a column name sent by the server can also write one byte past the buffer. The bytes written past the buffer are a double quote and a NUL. An application that forwards untrusted SQL text to the driver exposes its process to stack corruption. 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. identifierEscape bounds every write to the output buffer, including the closing quote and the terminator.

Source : CNA (éditeur ou attributeur)

Contournement

Contournementsource officielle

Do not pass SQL text from untrusted sources to the driver.

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:L/UI:N/S:U/C:N/I:L/A:H (CVSS 3.1, CNA:PostgreSQL)
Faiblesse
CWE-121 · Corruption mémoire

Comment sont obtenues et calculées ces données