CVE-2026-6474 PUBLISHED

PostgreSQL timeofday() can disclose portions of server memory

Assigner: PostgreSQL
Reserved: 17.04.2026 Published: 14.05.2026 Updated: 14.05.2026

Externally-controlled format string in PostgreSQL timeofday() function allows an attacker to retrieve portions of server memory, via crafted timezone zones. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS Score: 4.3

Product Status

Vendor n/a
Product PostgreSQL
Versions Default: unaffected
  • affected from 18 to 18.4 (excl.)
  • affected from 17 to 17.10 (excl.)
  • affected from 16 to 16.14 (excl.)
  • affected from 15 to 15.18 (excl.)
  • affected from 0 to 14.23 (excl.)

Credits

  • The PostgreSQL project thanks Xint Code for reporting this problem.

References

Problem Types

  • Use of Externally-Controlled Format String CWE