Skip to main content
EPSS 0.6%top 55%

CVE-2026-6478: Covert Timing Channel in PostgreSQL

0
Medium
VulnerabilityCVE-2026-6478cvecve-2026-6478
Published: 05/14/2026 (05/14/2026, 13:00:13 UTC)
Source: CVE Database V5
Product: PostgreSQL

Description

Covert timing channel in comparison of MD5-hashed password in PostgreSQL authentication allows an attacker to recover user credentials sufficient to authenticate. This does not affect scram-sha-256 passwords, the default in all supported releases. However, current databases may have MD5-hashed passwords originating in upgrades from PostgreSQL 13 or earlier. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected software

PostgreSQL

Affected versions
>=18 <18.4>=17 <17.10>=16 <16.14>=15 <15.18>=0 <14.23
Postgresqlmore threats →ai
postgresql/postgresql
pkg:deb/postgresql/postgresql
Affected versions
<18.4<17.10<16.14<15.18<14.23

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/07/2026, 14:26:26 UTC

Technical Analysis

The vulnerability CVE-2026-6478 in PostgreSQL is a covert timing channel in the comparison of MD5-hashed passwords during authentication. An attacker can exploit this timing side channel to recover user credentials remotely, enabling unauthorized database access. This issue specifically affects PostgreSQL instances that still use MD5-hashed passwords, typically from upgrades originating in PostgreSQL 13 or earlier. The vulnerability does not impact scram-sha-256 hashed passwords, which are the default in all supported PostgreSQL versions. Red Hat has released security updates that fix this issue in PostgreSQL versions 14.23, 15.18, 16.14, 17.10, and 18.4 and later. The recommended mitigation is to migrate all user passwords away from MD5 hashing to stronger algorithms such as scram-sha-256 by altering user passwords, which updates the stored hash and requires re-authentication. The CVSS v3.1 base score is 6.5 (medium severity), reflecting network attack vector, low attack complexity, no privileges required, no user interaction, and impacts confidentiality and integrity.

Potential Impact

The vulnerability allows remote attackers to recover user credentials by exploiting a covert timing channel in MD5 password comparison during PostgreSQL authentication. Successful exploitation can lead to unauthorized access to the database with the recovered credentials. There is no impact on availability. The vulnerability does not affect scram-sha-256 hashed passwords, which are the default in supported versions. The impact is limited to environments still using MD5 password hashes, often due to legacy upgrades.

Mitigation Recommendations

A fix is available and has been released in PostgreSQL versions 14.23, 15.18, 16.14, 17.10, and 18.4 and later, as provided by Red Hat security advisories. Users should upgrade to these fixed versions. Additionally, to mitigate the vulnerability, users must ensure that no PostgreSQL user passwords are hashed using MD5. This can be done by altering user passwords to trigger migration to stronger hashing algorithms such as scram-sha-256. For example, execute: ALTER USER username WITH PASSWORD 'new_password'; This requires users to re-authenticate, and services relying on these credentials may need to be restarted to pick up the changes. No other mitigations are indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
PostgreSQL
Date Reserved
2026-04-17T00:44:57.549Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-6478","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:27718","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:27743","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:27742","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:27738","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:28999","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:28208","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26181","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:28143","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:29815","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:32994","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26561","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:29953","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26524","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:29904","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:32983","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26525","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:29212","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:28037","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26203","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26204","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:27741","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:21182","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:22878","vendor":"Red Hat"}]

Threat ID: 6a05cfe8ec166c07b0e1394a

Added to database: 05/14/2026, 13:36:40 UTC

Last enriched: 08/07/2026, 14:26:26 UTC

Last updated: 09/14/2026, 10:01:33 UTC

Views: 156

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses