Skip to content
Fencer Vulns
medium 4.3

CVE-2026-6474 json

PostgreSQL timeofday() can disclose portions of server memory

published 2026-05-14 5 mo ago modified 2026-09-08 2 mo ago also BIT-postgresql-2026-6474 , EUVD-2026-30280 , JLSEC-2026-602

cvss
4.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 11%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami postgresql 14.23.0, 15.18.0, 16.14.0, 17.10.0, 18.4.0
  • julia LibPQ_jll 16.14.0+0
  • n/a PostgreSQL 14.23, 15.18, 16.14, 17.10, 18.4
  • postgresql-15 Debian 12 15.18-0+deb12u1
  • postgresql-17 Debian 13 17.10-0+deb13u1
  • postgresql-18 Debian 14 18.4-1

debian advisories DEBIAN-CVE-2026-6474

  • postgresql-14 Ubuntu 22.04 LTS 14.23-0ubuntu0.22.04.1
  • postgresql-16 Ubuntu 24.04 LTS 16.14-0ubuntu0.24.04.1
  • postgresql-17 Ubuntu 25.10 17.10-0ubuntu0.25.10.1
  • postgresql-18 Ubuntu 26.04 LTS 18.4-0ubuntu0.26.04.1

ubuntu advisories UBUNTU-CVE-2026-6474

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • pgaudit RHEL 8 16.0-1.module+el8.10.0+20413+d8116364
  • pg_repack RHEL 8 1.5.1-1.module+el8.10.0+22551+c0330dc9
  • postgresql RHEL 8 16.14-1.module+el8.10.0+24339+d919fb58
  • postgresql-test RHEL 8 16.14-1.module+el8.10.0+24339+d919fb58
  • postgresql-pltcl RHEL 8 16.14-1.module+el8.10.0+24339+d919fb58
  • postgresql-plperl RHEL 8 16.14-1.module+el8.10.0+24339+d919fb58
  • postgresql-server RHEL 8 16.14-1.module+el8.10.0+24339+d919fb58
  • postgresql-contrib RHEL 8 16.14-1.module+el8.10.0+24339+d919fb58

red hat advisories RHSA-2026:33497RHSA-2026:33441RHSA-2026:32983RHSA-2026:28143RHSA-2026:28037RHSA-2026:27743

  • postgresql16 SLES for SAP applications 16.0, SLES 16.0 16.14-160000.1.1
  • postgresql15 SLES for SAP applications 16.0, SLES 16.0 15.18-160000.1.1
  • postgresql14 SLES for SAP applications 16.0, SLES 16.0 14.23-160000.1.1
  • postgresql17 SLES for SAP applications 16.0, SLES 16.0 17.10-160000.1.1
  • postgresql18 SLES for SAP applications 16.0, SLES 16.0 18.4-160000.1.1

suse advisories SUSE-SU-2026:22184-1SUSE-SU-2026:22183-1SUSE-SU-2026:22177-1SUSE-SU-2026:22149-1SUSE-SU-2026:22077-1

  • postgresql16 openSUSE Leap 16.0 16.14-160000.1.1
  • postgresql15 openSUSE Leap 16.0 15.18-160000.1.1
  • postgresql14 openSUSE Leap 16.0 14.23-160000.1.1
  • postgresql17 openSUSE Leap 16.0 17.10-160000.1.1
  • postgresql18 openSUSE Tumbleweed 18.4-1.1
  • postgresql14 openSUSE Tumbleweed 14.23-1.1
  • postgresql15 openSUSE Tumbleweed 15.18-1.1
  • postgresql16 openSUSE Tumbleweed 16.14-1.1

opensuse advisories openSUSE-SU-2026:21104-1openSUSE-SU-2026:21103-1openSUSE-SU-2026:21102-1openSUSE-SU-2026:20970-1openSUSE-SU-2026:10828-1openSUSE-SU-2026:10806-1

  • pgaudit AlmaLinux 8 16.0-1.module_el8.10.0+3798+606ebb9f
  • pg_repack AlmaLinux 8 1.5.1-1.module_el8.10.0+4199+bf03c564
  • pg_repack AlmaLinux 8 1.5.1-1.module_el8.10.0+3930+ecf33554
  • pg_repack AlmaLinux 8 1.5.1-1.module_el8.10.0+4125+ceaf7d1b
  • postgresql AlmaLinux 8 16.14-1.module_el8.10.0+4199+bf03c564
  • postgresql-test AlmaLinux 8 16.14-1.module_el8.10.0+4199+bf03c564
  • postgresql-pltcl AlmaLinux 8 16.14-1.module_el8.10.0+4199+bf03c564
  • postgresql-plperl AlmaLinux 8 16.14-1.module_el8.10.0+4199+bf03c564

almalinux advisories ALSA-2026:28143ALSA-2026:27742ALSA-2026:27743ALSA-2026:28037ALSA-2026:26181ALSA-2026:26203

  • postgresql15 Alpine 3.22, Alpine 3.21, Alpine 3.20 15.18-r0
  • postgresql16 Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 16.14-r0
  • postgresql17 Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 17.10-r0
  • postgresql18 Alpine 3.24, Alpine 3.23 18.4-r0

alpine advisories ALPINE-CVE-2026-6474

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • postgresql Azure Linux 3.0 16.14-1

azure linux advisories AZL-86831

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-6474 updated cvss 4.3

postgresql: PostgreSQL: Information disclosure via externally-controlled format string in timeofday() function

  • Red Hat Enterprise Linux 6 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +2 more Red Hat Enterprise Linux 7 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +3 more
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Enterprise Linux 8 pgaudit, pg_repack, postgresql, postgresql-test, postgresql-pltcl, postgresql-plperl, +7 more
    affected: workaround, no fix available, no fix planned “Will not fix”
  • Red Hat Enterprise Linux 9 postgresql, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, postgresql-contrib, +4 more
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Enterprise Linux AppStream (v. 8) pgaudit 1.7.0-1.module+el8.9.0+19797+c4ce5969, pgaudit 16.0-1.module+el8.10.0+20413+d8116364, pg_repack 1.4.8-1.module+el8.9.0+19797+c4ce5969, pg_repack 1.5.1-1.module+el8.10.0+22551+c0330dc9, postgresql 15.18-1.module+el8.10.0+24361+29e043a0, postgresql 16.14-1.module+el8.10.0+24339+d919fb58, +20 more
    fixed: vendor fix RHSA-2026:26181
  • Red Hat Enterprise Linux AppStream (v. 9) pgaudit 16.0-1.module+el9.8.0+24090+8f0ee565, pgaudit 18.0-1.module+el9.8.0+23739+1c42644c, pgaudit 1.7.0-1.module+el9.8.0+24091+17775505, postgis 3.5.3-5.module+el9.8.0+24090+8f0ee565, postgis 3.6.1-2.module+el9.8.0+23739+1c42644c, pgvector 0.6.2-2.module+el9.8.0+24090+8f0ee565, +43 more
    fixed: vendor fix RHSA-2026:28037
  • Red Hat Enterprise Linux AppStream (v. 10) postgresql 16.14-1.el10_2, postgresql18 18.4-1.el10_2, postgresql16 16.14-1.el10_2, postgresql-test 16.14-1.el10_2, postgresql-pltcl 16.14-1.el10_2, postgresql18-test 18.4-1.el10_2, +12 more
    fixed: vendor fix RHSA-2026:27743
  • Red Hat Enterprise Linux AppStream E4S (v.8.8) pgaudit 1.7.0-1.module+el8.8.0+17071+aaaceaa4, pg_repack 1.4.8-1.module+el8.8.0+17071+aaaceaa4, postgresql 15.18-1.module+el8.8.0+24395+e7b9b4b6, postgresql-test 15.18-1.module+el8.8.0+24395+e7b9b4b6, postgresql-pltcl 15.18-1.module+el8.8.0+24395+e7b9b4b6, postgresql-plperl 15.18-1.module+el8.8.0+24395+e7b9b4b6, +7 more
    fixed: vendor fix RHSA-2026:26561
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) pgaudit 1.7.0-1.module+el9.2.0+17405+aeb9ec60, pg_repack 1.4.8-1.module+el9.2.0+17405+aeb9ec60, postgresql 15.18-1.module+el9.2.0+24451+e803ec54, postgresql-test 15.18-1.module+el9.2.0+24451+e803ec54, postgresql-pltcl 15.18-1.module+el9.2.0+24451+e803ec54, postgresql-plperl 15.18-1.module+el9.2.0+24451+e803ec54, +7 more
    fixed: vendor fix RHSA-2026:33497
show 9 more
  • Red Hat Enterprise Linux AppStream E4S (v.9.4) pgaudit 16.0-1.module+el9.4.0+20427+07482b8c, pgaudit 1.7.0-1.module+el9.2.0+17405+aeb9ec60, pg_repack 1.4.8-1.module+el9.2.0+17405+aeb9ec60, pg_repack 1.4.8-1.module+el9.4.0+20427+07482b8c, postgresql 15.18-1.module+el9.4.0+24401+d70df5dc, postgresql 16.14-1.module+el9.4.0+24391+f6914bcd, +20 more
    fixed: vendor fix RHSA-2026:33441
  • Red Hat Enterprise Linux AppStream EUS (v. 10.0) postgresql 16.14-1.el10_0, postgresql16 16.14-1.el10_0, postgresql-test 16.14-1.el10_0, postgresql-pltcl 16.14-1.el10_0, postgresql-plperl 16.14-1.el10_0, postgresql-server 16.14-1.el10_0, +4 more
    fixed: vendor fix RHSA-2026:27718
  • Red Hat Enterprise Linux AppStream EUS (v.9.6) pgaudit 16.0-1.module+el9.4.0+20427+07482b8c, pgaudit 1.7.0-1.module+el9.2.0+17405+aeb9ec60, pgvector 0.6.2-2.module+el9.6.0+22979+c3d78d52, pg_repack 1.4.8-2.module+el9.5.0+22224+f5585c78, pg_repack 1.5.1-1.module+el9.6.0+22880+6b241eec, postgresql 15.18-1.module+el9.6.0+24427+6664975e, +21 more
    fixed: vendor fix RHSA-2026:32983
  • Red Hat Enterprise Linux AppStream TUS (v.8.8) pgaudit 1.7.0-1.module+el8.8.0+17071+aaaceaa4, pg_repack 1.4.8-1.module+el8.8.0+17071+aaaceaa4, postgresql 15.18-1.module+el8.8.0+24395+e7b9b4b6, postgresql-test 15.18-1.module+el8.8.0+24395+e7b9b4b6, postgresql-pltcl 15.18-1.module+el8.8.0+24395+e7b9b4b6, postgresql-plperl 15.18-1.module+el8.8.0+24395+e7b9b4b6, +7 more
    fixed: vendor fix RHSA-2026:26561
  • Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) postgresql-test-rpm-macros 16.14-1.el10_2, postgresql18-test-rpm-macros 18.4-1.el10_2
    fixed: vendor fix RHSA-2026:27743
  • Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) postgresql-test-rpm-macros 16.14-1.el10_0
    fixed: vendor fix RHSA-2026:27718
  • Red Hat Hardened Images postgresql18 18.4-0.1.hum1
    fixed: vendor fix RHSA-2026:22878
  • Red Hat Update Infrastructure 5 rhui5/rhua-rhel9 1784795076, rhui5/rhua-tp-rhel9 1787241260
    fixed: vendor fix RHSA-2026:44481
  • Red Hat Hardened Images postgresql 18.4-0.1.hum1, postgresql-test 18.4-0.1.hum1, postgresql-plperl 18.4-0.1.hum1, postgresql-server 18.4-0.1.hum1, postgresql-contrib 18.4-0.1.hum1, postgresql-upgrade 18.4-0.1.hum1, +3 more Red Hat Update Infrastructure 5 rhui5/cds-rhel9 1784794778, rhui5/cds-tp-rhel9 1787241206, rhui5/haproxy-rhel9 1784795112, rhui5/installer-rhel9 1784794289, rhui5/installer-tp-rhel9 1787135742, rhui5/cds-kubernetes-rhel9 1784794818, +1 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
5 mo ago

Exploit prediction

0.21% chance of exploitation in the next 30 days, higher than 11% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
OSV 3.1 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected packages

ecosystem package affected fixed in
bitnami postgresql
<14.23.0
>=15.0.0, <15.18.0
>=16.0.0, <16.14.0
>=17.0.0, <17.10.0
>=18.0.0, <18.4.0
14.23.0
15.18.0
16.14.0
17.10.0
18.4.0
julia LibPQ_jll
<16.14.0+0
16.14.0+0

Affected products

  • n/a PostgreSQL

Classification

Weakness
  • CWE-134 Use of Externally-Controlled Format String
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.