cve.bz

CVE-2026-6474 postgresql postgresql

4.3 mediumEPSS 0.3%Fix available

Medium (4.3) in postgresql postgresql. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS
0.3% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 16th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-05-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-134 Use of Externally-Controlled Format String
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-6474 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-6474?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-6474?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-6474 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
postgresql:postgresqlbefore 14.23
postgresql:postgresqlfrom 15.0 before 15.18
postgresql:postgresqlfrom 16.0 before 16.14
postgresql:postgresqlfrom 17.0 before 17.10
postgresql:postgresqlfrom 18.0 before 18.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11postgresql-1313.23-0+deb11u4DLA-4646-1
Debian12postgresql-1515.18-0+deb12u1DEBIAN-CVE-2026-6474 DSA-6269-1
Debian13postgresql-1717.10-0+deb13u1DEBIAN-CVE-2026-6474 DSA-6270-1
Debian14postgresql-1818.4-1DEBIAN-CVE-2026-6474
Ubuntu20.04:LTSpostgresql-12no fix listedUBUNTU-CVE-2026-6474
Ubuntu22.04:LTSpostgresql-1414.23-0ubuntu0.22.04.1UBUNTU-CVE-2026-6474 USN-8294-1
Ubuntu24.04:LTSpostgresql-1616.14-0ubuntu0.24.04.1UBUNTU-CVE-2026-6474 USN-8294-1
Ubuntu25.10postgresql-1717.10-0ubuntu0.25.10.1UBUNTU-CVE-2026-6474 USN-8294-1
Ubuntu26.04:LTSpostgresql-1818.4-0ubuntu0.26.04.1UBUNTU-CVE-2026-6474 USN-8294-1
UbuntuPro:14.04:LTSpostgresql-9.3no fix listedUBUNTU-CVE-2026-6474
UbuntuPro:16.04:LTSpostgresql-9.5no fix listedUBUNTU-CVE-2026-6474
UbuntuPro:18.04:LTSpostgresql-10no fix listedUBUNTU-CVE-2026-6474
Red Hatenterprise_linux:8::appstreampg_repack, pg_repack-debuginfo, pg_repack-debugsource0:1.4.8-1.module+el8.9.0+19797+c4ce5969RHSA-2026:26181
Red Hatenterprise_linux:8::appstreampg_repack, pg_repack-debuginfo, pg_repack-debugsource0:1.5.1-1.module+el8.10.0+22551+c0330dc9RHSA-2026:28143
Red Hatenterprise_linux:8::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:1.7.0-1.module+el8.9.0+19797+c4ce5969RHSA-2026:26181
Red Hatenterprise_linux:8::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:16.0-1.module+el8.10.0+20413+d8116364RHSA-2026:28143
Red Hatenterprise_linux:8::appstreampostgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource0:1.9.7-1.Final.module+el8.9.0+19797+c4ce5969RHSA-2026:26181
Red Hatenterprise_linux:8::appstreampostgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource0:2.4.0-1.Final.module+el8.10.0+20413+d8116364RHSA-2026:28143
Red Hatenterprise_linux:8::appstreampostgresql, postgresql-docs, postgresql-test and 25 more0:15.18-1.module+el8.10.0+24361+29e043a0RHSA-2026:26181
Red Hatenterprise_linux:8::appstreampostgresql, postgresql-docs, postgresql-test and 25 more0:16.14-1.module+el8.10.0+24339+d919fb58RHSA-2026:28143
Red Hatenterprise_linux:9::appstreampg_repack, pg_repack-debuginfo, pg_repack-debugsource0:1.4.8-2.module+el9.8.0+24091+17775505RHSA-2026:28037
Red Hatenterprise_linux:9::appstreampg_repack, pg_repack-debuginfo, pg_repack-debugsource0:1.5.1-1.module+el9.8.0+24090+8f0ee565RHSA-2026:26203
Red Hatenterprise_linux:9::appstreampg_repack, pg_repack-debuginfo, pg_repack-debugsource0:1.5.3-1.module+el9.8.0+23739+1c42644cRHSA-2026:26204
Red Hatenterprise_linux:9::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:1.7.0-1.module+el9.8.0+24091+17775505RHSA-2026:28037
41 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0postgresql1414.23-160000.1.1SUSE-SU-2026:22177-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0postgresql1515.18-160000.1.1SUSE-SU-2026:22183-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0postgresql1616.14-160000.1.1SUSE-SU-2026:22184-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0postgresql1717.10-160000.1.1SUSE-SU-2026:22149-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0postgresql1818.4-160000.1.1SUSE-SU-2026:22077-1
openSUSELeap 16.0postgresql1414.23-160000.1.1openSUSE-SU-2026:21102-1
openSUSELeap 16.0postgresql1515.18-160000.1.1openSUSE-SU-2026:21103-1
openSUSELeap 16.0postgresql1616.14-160000.1.1openSUSE-SU-2026:21104-1
openSUSELeap 16.0postgresql1717.10-160000.1.1openSUSE-SU-2026:20970-1
openSUSETumbleweedpostgresql1414.23-1.1openSUSE-SU-2026:10806-1
openSUSETumbleweedpostgresql1515.18-1.1openSUSE-SU-2026:10807-1
openSUSETumbleweedpostgresql1616.14-1.1openSUSE-SU-2026:10808-1
openSUSETumbleweedpostgresql1717.10-1.1openSUSE-SU-2026:10809-1
openSUSETumbleweedpostgresql1818.4-1.1openSUSE-SU-2026:10828-1
AlmaLinux8pg_repack1.4.8-1.module_el8.9.0+3706+885c732eALSA-2026:26181
AlmaLinux8pg_repack1.5.1-1.module_el8.10.0+3930+ecf33554ALSA-2026:28143
AlmaLinux8pg_repack1.5.1-1.module_el8.10.0+4125+ceaf7d1bALSA-2026:28143
AlmaLinux8pg_repack1.5.1-1.module_el8.10.0+4199+bf03c564ALSA-2026:28143
AlmaLinux8pgaudit1.7.0-1.module_el8.9.0+3706+885c732eALSA-2026:26181
AlmaLinux8pgaudit16.0-1.module_el8.10.0+3798+606ebb9fALSA-2026:28143
AlmaLinux8postgres-decoderbufs1.9.7-1.Final.module_el8.9.0+3706+885c732eALSA-2026:26181
AlmaLinux8postgres-decoderbufs2.4.0-1.Final.module_el8.10.0+3798+606ebb9fALSA-2026:28143
AlmaLinux8postgresql, postgresql-docs, postgresql-test and 12 more15.18-1.module_el8.10.0+4195+4569d728ALSA-2026:26181
AlmaLinux8postgresql, postgresql-docs, postgresql-test and 12 more16.14-1.module_el8.10.0+4199+bf03c564ALSA-2026:28143
AlmaLinux9pg_repack1.4.8-2.module_el9.5.0+119+18833d03ALSA-2026:28037
AlmaLinux9pg_repack1.5.1-1.module_el9.6.0+146+c54fdecaALSA-2026:26203
16 more for AlmaLinux in the JSON.
Alpinev3.20, v3.21, v3.22postgresql1515.18-r0ALPINE-CVE-2026-6474
Alpinev3.20, v3.21, v3.22 and 2 morepostgresql1616.14-r0ALPINE-CVE-2026-6474
Alpinev3.21, v3.22, v3.23 and 1 morepostgresql1717.10-r0ALPINE-CVE-2026-6474
Alpinev3.23, v3.24postgresql1818.4-r0ALPINE-CVE-2026-6474
Azure Linux3postgresql16.14-1AZL-86831
Alpaquita23postgresql1515.18-r0BELL-CVE-2026-6474
Alpaquita25postgresql1717.10-r0BELL-CVE-2026-6474
Alpaquitastreampostgresql1818.4-r0BELL-CVE-2026-6474

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10postgresql18-0:18.4-1.el10_2Fixed 2026-06-22RHSA-2026:27742
Red Hat Enterprise Linux 10postgresql16-0:16.14-1.el10_2Fixed 2026-06-22RHSA-2026:27743
Red Hat Enterprise Linux 10.0 Extended Update Supportpostgresql16-0:16.14-1.el10_0Fixed 2026-06-22RHSA-2026:27718
Red Hat Enterprise Linux 8postgresql:15-8100020260605152259.489197e6Fixed 2026-06-16RHSA-2026:26181
Red Hat Enterprise Linux 8postgresql:16-8100020260530205218.489197e6Fixed 2026-06-23RHSA-2026:28143
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicepostgresql:15-8080020260615085052.63b34585Fixed 2026-06-17RHSA-2026:26561
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionspostgresql:15-8080020260615085052.63b34585Fixed 2026-06-17RHSA-2026:26561
Red Hat Enterprise Linux 9postgresql:16-9080020260605131007.rhel9Fixed 2026-06-16RHSA-2026:26203
Red Hat Enterprise Linux 9postgresql:18-9080020260605125734.rhel9Fixed 2026-06-16RHSA-2026:26204
Red Hat Enterprise Linux 9postgresql:15-9080020260605124405.rhel9Fixed 2026-06-22RHSA-2026:28037
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionspostgresql:15-9020020260625101129.rhel9Fixed 2026-06-30RHSA-2026:33497
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionspostgresql:16-9040020260612132455.rhel9Fixed 2026-06-17RHSA-2026:26524
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionspostgresql:15-9040020260616071806.rhel9Fixed 2026-06-30RHSA-2026:33441
Red Hat Enterprise Linux 9.6 Extended Update Supportpostgresql:16-9060020260612084605.rhel9Fixed 2026-06-17RHSA-2026:26525
Red Hat Enterprise Linux 9.6 Extended Update Supportpostgresql:15-9060020260622062902.rhel9Fixed 2026-06-29RHSA-2026:32983
Red Hat Enterprise Linux 6postgresqlFix deferred
Red Hat Enterprise Linux 7postgresqlFix deferred
Red Hat Enterprise Linux 8postgresql:12/postgresqlFix deferred
Red Hat Enterprise Linux 8postgresql:13/postgresqlWill not fix
Red Hat Enterprise Linux 9postgresqlFix deferred
3 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-6474.

Attack patterns (CAPEC)

  • CAPEC-67 String Format Overflow in syslog() Likelihood: High · Severity: Very High
  • CAPEC-135 Format String Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON