Vulnerabilities

CVE-2026-14662

High 8.8 CVSS 3.1

Description

Integer wraparound in PostgreSQL tsvector and tsquery data type functions allows an unprivileged database user to cause the server to undersize an allocation and write out-of-bounds, via crafted large inputs. This may execute arbitrary code as the operating system user running the database. These types are typically sourced from application logic, not taken from the application's user. Hence, application users attacking the database, through the application as a conduit, are unlikely. CVE-2026-6473 had fixed similar problems. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

Description as published by the source, in English.

Key facts

Published
2026-08-13
Last modified
2026-08-29
Assigned by
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Postgresql Postgresql ≥ 14.0, < 14.24 Affected
Postgresql Postgresql ≥ 15.0, < 15.19 Affected
Postgresql Postgresql ≥ 16.0, < 16.15 Affected
Postgresql Postgresql ≥ 17.0, < 17.11 Affected
Postgresql Postgresql ≥ 18.0, < 18.5 Affected

Weakness type

  • CWE-190: Integer Overflow or Wraparound

    The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is i…

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities