Vulnerability · Published May 14, 2026 · Assigned by PostgreSQL
CVE-2026-6474PostgreSQL timeofday() can disclose portions of server memory
Medium 4.3
In plain English
A medium-severity security flaw in PostgreSQL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.2%top 88.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | pg_repack | 1.4.8-1.module_el8.9.0+3706+885c732e | ALSA-2026:26181 |
| AlmaLinux:8 | pg_repack | 1.5.1-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux:8 | pg_repack | 1.5.1-1.module_el8.10.0+3930+ecf33554 | ALSA-2026:28143 |
| AlmaLinux:8 | pg_repack | 1.5.1-1.module_el8.10.0+4125+ceaf7d1b | ALSA-2026:28143 |
| AlmaLinux:9 | pg_repack | 1.4.8-2.module_el9.5.0+119+18833d03 | ALSA-2026:28037 |
| AlmaLinux:9 | pg_repack | 1.5.1-1.module_el9.6.0+146+c54fdeca | ALSA-2026:26203 |
| AlmaLinux:9 | pg_repack | 1.5.3-1.module_el9.8.0+234+5456f35d | ALSA-2026:26204 |
| AlmaLinux:8 | pgaudit | 1.7.0-1.module_el8.9.0+3706+885c732e | ALSA-2026:26181 |
| AlmaLinux:8 | pgaudit | 16.0-1.module_el8.10.0+3798+606ebb9f | ALSA-2026:28143 |
| AlmaLinux:9 | pgaudit | 18.0-1.module_el9.8.0+234+5456f35d | ALSA-2026:26204 |
| AlmaLinux:9 | pgaudit | 1.7.0-1.module_el9.3.0+52+21733919 | ALSA-2026:28037 |
| AlmaLinux:9 | pgaudit | 16.0-1.module_el9.4.0+66+eb9878bc | ALSA-2026:26203 |
| AlmaLinux:9 | pgvector | 0.6.2-2.module_el9.6.0+167+4e561146 | ALSA-2026:26203 |
| AlmaLinux:9 | pgvector | 0.8.1-1.module_el9.8.0+234+5456f35d | ALSA-2026:26204 |
| AlmaLinux:9 | postgis | 3.6.1-2.module_el9.8.0+239+6fb51d38 | ALSA-2026:26204 |
| AlmaLinux:9 | postgis | 3.5.3-5.module_el9.8.0+236+2d3cbd4c | ALSA-2026:26203 |
| AlmaLinux:9 | postgis-client | 3.6.1-2.module_el9.8.0+239+6fb51d38 | ALSA-2026:26204 |
| AlmaLinux:9 | postgis-client | 3.5.3-5.module_el9.8.0+236+2d3cbd4c | ALSA-2026:26203 |
| AlmaLinux:9 | postgis-docs | 3.5.3-5.module_el9.8.0+236+2d3cbd4c | ALSA-2026:26203 |
| AlmaLinux:9 | postgis-docs | 3.6.1-2.module_el9.8.0+239+6fb51d38 | ALSA-2026:26204 |
| AlmaLinux:9 | postgis-upgrade | 3.6.1-2.module_el9.8.0+239+6fb51d38 | ALSA-2026:26204 |
| AlmaLinux:9 | postgis-upgrade | 3.5.3-5.module_el9.8.0+236+2d3cbd4c | ALSA-2026:26203 |
| AlmaLinux:9 | postgis-utils | 3.5.3-5.module_el9.8.0+236+2d3cbd4c | ALSA-2026:26203 |
| AlmaLinux:9 | postgis-utils | 3.6.1-2.module_el9.8.0+239+6fb51d38 | ALSA-2026:26204 |
| AlmaLinux:8 | postgres-decoderbufs | 1.9.7-1.Final.module_el8.9.0+3706+885c732e | ALSA-2026:26181 |
| AlmaLinux:8 | postgres-decoderbufs | 2.4.0-1.Final.module_el8.10.0+3798+606ebb9f | ALSA-2026:28143 |
| AlmaLinux:9 | postgres-decoderbufs | 1.9.7-1.Final.module_el9.3.0+52+21733919 | ALSA-2026:28037 |
| AlmaLinux:9 | postgres-decoderbufs | 2.4.0-1.Final.module_el9.4.0+66+eb9878bc | ALSA-2026:26203 |
| AlmaLinux:9 | postgres-decoderbufs | 3.3.1-1.Final.module_el9.8.0+234+5456f35d | ALSA-2026:26204 |
| AlmaLinux:10 | postgresql | 16.14-1.el10_2 | ALSA-2026:27743 |
| AlmaLinux:8 | postgresql | 15.18-1.module_el8.10.0+4195+4569d728 | ALSA-2026:26181 |
| AlmaLinux:8 | postgresql | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux:9 | postgresql | 15.18-1.module_el9.8.0+267+7c71b4a4 | ALSA-2026:28037 |
| AlmaLinux:9 | postgresql | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux:10 | postgresql-contrib | 16.14-1.el10_2 | ALSA-2026:27743 |
| AlmaLinux:8 | postgresql-contrib | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux:8 | postgresql-contrib | 15.18-1.module_el8.10.0+4195+4569d728 | ALSA-2026:26181 |
| AlmaLinux:9 | postgresql-contrib | 15.18-1.module_el9.8.0+267+7c71b4a4 | ALSA-2026:28037 |
| AlmaLinux:9 | postgresql-contrib | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-contrib | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux:10 | postgresql-docs | 16.14-1.el10_2 | ALSA-2026:27743 |
| AlmaLinux:8 | postgresql-docs | 15.18-1.module_el8.10.0+4195+4569d728 | ALSA-2026:26181 |
| AlmaLinux:8 | postgresql-docs | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux:9 | postgresql-docs | 15.18-1.module_el9.8.0+267+7c71b4a4 | ALSA-2026:28037 |
| AlmaLinux:9 | postgresql-docs | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux:9 | postgresql-docs | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:10 | postgresql-plperl | 16.14-1.el10_2 | ALSA-2026:27743 |
| AlmaLinux:8 | postgresql-plperl | 15.18-1.module_el8.10.0+4195+4569d728 | ALSA-2026:26181 |
| AlmaLinux:8 | postgresql-plperl | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux:9 | postgresql-plperl | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-plperl | 15.18-1.module_el9.8.0+267+7c71b4a4 | ALSA-2026:28037 |
| AlmaLinux:9 | postgresql-plperl | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux:10 | postgresql-plpython3 | 16.14-1.el10_2 | ALSA-2026:27743 |
| AlmaLinux:8 | postgresql-plpython3 | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux:8 | postgresql-plpython3 | 15.18-1.module_el8.10.0+4195+4569d728 | ALSA-2026:26181 |
| AlmaLinux:9 | postgresql-plpython3 | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-plpython3 | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux:9 | postgresql-plpython3 | 15.18-1.module_el9.8.0+267+7c71b4a4 | ALSA-2026:28037 |
| AlmaLinux:10 | postgresql-pltcl | 16.14-1.el10_2 | ALSA-2026:27743 |
| AlmaLinux:8 | postgresql-pltcl | 15.18-1.module_el8.10.0+4195+4569d728 | ALSA-2026:26181 |
| AlmaLinux:8 | postgresql-pltcl | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux:9 | postgresql-pltcl | 15.18-1.module_el9.8.0+267+7c71b4a4 | ALSA-2026:28037 |
| AlmaLinux:9 | postgresql-pltcl | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux:9 | postgresql-pltcl | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:10 | postgresql-private-devel | 16.14-1.el10_2 | ALSA-2026:27743 |
| AlmaLinux:8 | postgresql-private-devel | 15.18-1.module_el8.10.0+4195+4569d728 | ALSA-2026:26181 |
| AlmaLinux:8 | postgresql-private-devel | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux:9 | postgresql-private-devel | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-private-devel | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux:9 | postgresql-private-devel | 15.18-1.module_el9.8.0+267+7c71b4a4 | ALSA-2026:28037 |
| AlmaLinux:10 | postgresql-private-libs | 16.14-1.el10_2 | ALSA-2026:27743 |
| AlmaLinux:8 | postgresql-private-libs | 15.18-1.module_el8.10.0+4195+4569d728 | ALSA-2026:26181 |
| AlmaLinux:8 | postgresql-private-libs | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux:9 | postgresql-private-libs | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-private-libs | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux:9 | postgresql-private-libs | 15.18-1.module_el9.8.0+267+7c71b4a4 | ALSA-2026:28037 |
| AlmaLinux:10 | postgresql-server | 16.14-1.el10_2 | ALSA-2026:27743 |
| AlmaLinux:8 | postgresql-server | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux:8 | postgresql-server | 15.18-1.module_el8.10.0+4195+4569d728 | ALSA-2026:26181 |
| AlmaLinux:9 | postgresql-server | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-server | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux:9 | postgresql-server | 15.18-1.module_el9.8.0+267+7c71b4a4 | ALSA-2026:28037 |
| AlmaLinux:10 | postgresql-server-devel | 16.14-1.el10_2 | ALSA-2026:27743 |
| AlmaLinux:8 | postgresql-server-devel | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux:8 | postgresql-server-devel | 15.18-1.module_el8.10.0+4195+4569d728 | ALSA-2026:26181 |
| AlmaLinux:9 | postgresql-server-devel | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-server-devel | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux:9 | postgresql-server-devel | 15.18-1.module_el9.8.0+267+7c71b4a4 | ALSA-2026:28037 |
| AlmaLinux:10 | postgresql-static | 16.14-1.el10_2 | ALSA-2026:27743 |
| AlmaLinux:8 | postgresql-static | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux:8 | postgresql-static | 15.18-1.module_el8.10.0+4195+4569d728 | ALSA-2026:26181 |
| AlmaLinux:9 | postgresql-static | 15.18-1.module_el9.8.0+267+7c71b4a4 | ALSA-2026:28037 |
| AlmaLinux:9 | postgresql-static | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux:9 | postgresql-static | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:10 | postgresql-test | 16.14-1.el10_2 | ALSA-2026:27743 |
| AlmaLinux:8 | postgresql-test | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux:8 | postgresql-test | 15.18-1.module_el8.10.0+4195+4569d728 | ALSA-2026:26181 |
| AlmaLinux:9 | postgresql-test | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux:9 | postgresql-test | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-test | 15.18-1.module_el9.8.0+267+7c71b4a4 | ALSA-2026:28037 |
| AlmaLinux:10 | postgresql-test-rpm-macros | 16.14-1.el10_2 | ALSA-2026:27743 |
| AlmaLinux:8 | postgresql-test-rpm-macros | 15.18-1.module_el8.10.0+4195+4569d728 | ALSA-2026:26181 |
| AlmaLinux:8 | postgresql-test-rpm-macros | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux:9 | postgresql-test-rpm-macros | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux:9 | postgresql-test-rpm-macros | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-test-rpm-macros | 15.18-1.module_el9.8.0+267+7c71b4a4 | ALSA-2026:28037 |
| AlmaLinux:10 | postgresql-upgrade | 16.14-1.el10_2 | ALSA-2026:27743 |
| AlmaLinux:8 | postgresql-upgrade | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux:8 | postgresql-upgrade | 15.18-1.module_el8.10.0+4195+4569d728 | ALSA-2026:26181 |
| AlmaLinux:9 | postgresql-upgrade | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-upgrade | 15.18-1.module_el9.8.0+267+7c71b4a4 | ALSA-2026:28037 |
| AlmaLinux:9 | postgresql-upgrade | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux:10 | postgresql-upgrade-devel | 16.14-1.el10_2 | ALSA-2026:27743 |
| AlmaLinux:8 | postgresql-upgrade-devel | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux:8 | postgresql-upgrade-devel | 15.18-1.module_el8.10.0+4195+4569d728 | ALSA-2026:26181 |
| AlmaLinux:9 | postgresql-upgrade-devel | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux:9 | postgresql-upgrade-devel | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-upgrade-devel | 15.18-1.module_el9.8.0+267+7c71b4a4 | ALSA-2026:28037 |
| AlmaLinux:10 | postgresql18 | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-contrib | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-docs | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-plperl | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-plpython3 | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-private-devel | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-private-libs | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-server | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-server-devel | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-static | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-test | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-test-rpm-macros | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-upgrade | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-upgrade-devel | 18.4-1.el10_2 | ALSA-2026:27742 |
| Alpine:v3.20 | postgresql15 | 15.18-r0 | ALPINE-CVE-2026-6474 |
| Alpine:v3.21 | postgresql15 | 15.18-r0 | ALPINE-CVE-2026-6474 |
| Alpine:v3.22 | postgresql15 | 15.18-r0 | ALPINE-CVE-2026-6474 |
| Alpine:v3.20 | postgresql16 | 16.14-r0 | ALPINE-CVE-2026-6474 |
| Alpine:v3.21 | postgresql16 | 16.14-r0 | ALPINE-CVE-2026-6474 |
| Alpine:v3.22 | postgresql16 | 16.14-r0 | ALPINE-CVE-2026-6474 |
| Alpine:v3.23 | postgresql16 | 16.14-r0 | ALPINE-CVE-2026-6474 |
| Alpine:v3.24 | postgresql16 | 16.14-r0 | ALPINE-CVE-2026-6474 |
| Alpine:v3.21 | postgresql17 | 17.10-r0 | ALPINE-CVE-2026-6474 |
| Alpine:v3.22 | postgresql17 | 17.10-r0 | ALPINE-CVE-2026-6474 |
| Alpine:v3.23 | postgresql17 | 17.10-r0 | ALPINE-CVE-2026-6474 |
| Alpine:v3.24 | postgresql17 | 17.10-r0 | ALPINE-CVE-2026-6474 |
| Alpine:v3.23 | postgresql18 | 18.4-r0 | ALPINE-CVE-2026-6474 |
| Alpine:v3.24 | postgresql18 | 18.4-r0 | ALPINE-CVE-2026-6474 |
| Debian:12 | postgresql-15 | 15.18-0+deb12u1 | DEBIAN-CVE-2026-6474 |
| Debian:13 | postgresql-17 | 17.10-0+deb13u1 | DEBIAN-CVE-2026-6474 |
| Debian:14 | postgresql-18 | 18.4-1 | DEBIAN-CVE-2026-6474 |
| Ubuntu:22.04:LTS | postgresql-14 | 14.23-0ubuntu0.22.04.1 | UBUNTU-CVE-2026-6474 |
| Ubuntu:24.04:LTS | postgresql-16 | 16.14-0ubuntu0.24.04.1 | UBUNTU-CVE-2026-6474 |
| Ubuntu:25.10 | postgresql-17 | 17.10-0ubuntu0.25.10.1 | UBUNTU-CVE-2026-6474 |
| Ubuntu:26.04:LTS | postgresql-18 | 18.4-0ubuntu0.26.04.1 | UBUNTU-CVE-2026-6474 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | PostgreSQL | 18 – before 18.417 – before 17.1016 – before 16.1415 – before 15.180 – before 14.23 |
Weakness: CWE-134 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N