CVE-2026-6474 PostgreSQL timeofday() can disclose portions of server memory

Medium 4.3 Published Updated

An attacker can retrieve portions of server memory by exploiting a format string vulnerability in the timeofday() function via crafted timezone zones.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-6474?

CVE-2026-6474 is a medium-severity vulnerability in Postgresql Postgresql, published on 14 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-134

Which versions are affected by CVE-2026-6474?

1 open source package ship an affected version, including postgresql. It affects 1 product.

PackageAffectedFixed in
postgresql BitnamiAll versions14.23.0, 15.18.0, 16.14.0, 17.10.0, 18.4.0

Products include Postgresql Postgresql.

How do I fix CVE-2026-6474?

Upgrade postgresql to a fixed version for your release line: 14.23.0, 15.18.0, 16.14.0 or 17.10.0.

Is CVE-2026-6474 being exploited?

There is no known exploitation of CVE-2026-6474 in the wild and no public exploit code.

All Postgresql Postgresql vulnerabilities

Sources

Also known as ALPINE-CVE-2026-6474, AZL-86831, BELL-CVE-2026-6474, BIT-postgresql-2026-6474, DEBIAN-CVE-2026-6474, ECHO-63b9-137e-93f1 and 9 more.

Is CVE-2026-6474 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free