1. Archivio CVE
  2. 2026
  3. CVE-2026-134847

CVE-2026-134847

6.5 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L 6.5 – Media

Descrizione

pgjdbc, the PostgreSQL JDBC Driver, cuts the weight and scale of a BigDecimal to 16 bits when it sends the value in binary, which is the default. The server then stores a different number without an error. For example 999999.99e-262144 is stored as 999999.99, so a tiny value can pass a range check and be stored as a large one. The driver also computes 10 to the power of the scale first, so a short value such as 1e-200000000 keeps a thread busy for minutes. Versions 42.3.0 through 42.7.14 are affected, and 42.7.15 fixes the problem.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
pgjdbc pgjdbc >= 42.3.0 < 42.7.15 –
Tutte le 11 vulnerabilità di Pgjdbc

Tipo di vulnerabilità

CWE-197 Numeric Truncation Error

Truncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion.

Impatto sui sistemi

AmbitoImpatto
Integrità Modificare la memoria, Dipende dal contesto

Come si previene

Sviluppo Ensure that no casts, implicit or explicit, take place that move from a larger size primitive or a smaller size primitive.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 76 CVE di tipo CWE-197, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org