CVE-2026-6478: Covert timing channel in comparison of MD5-hashed password in PostgreSQL authentication allows an attacker to recover user credentials sufficient to authenticate.
Medium CVSS 6.5
- CVE id
- CVE-2026-6478
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| PostgreSQL Runtimes and servers |
< 14.23 >= 15.0, < 15.18 >= 16.0, < 16.14 >= 17.0, < 17.10 >= 18.0, < 18.4 |
14.23, 15.18, 16.14, 17.10, 18.4 |
How to fix it
Upgrade PostgreSQL to the fixed release of the line you run: 14.23, 15.18, 16.14, 17.10, 18.4.
psql -c 'SELECT version();'
- Install the patched PostgreSQL minor release of your major version (the postgres image tag, the PGDG packages, or your provider's maintenance update) and restart the server; minor releases need no dump or pg_upgrade.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2026-6478 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-6478
- Web: https://www.postgresql.org/support/security/CVE-2026-6478/
- Web: https://access.redhat.com/errata/RHSA-2026:21182
- Web: https://access.redhat.com/errata/RHSA-2026:22878
- Web: https://access.redhat.com/errata/RHSA-2026:26181
- Web: https://access.redhat.com/errata/RHSA-2026:26203
- Web: https://access.redhat.com/errata/RHSA-2026:26204
- Web: https://access.redhat.com/errata/RHSA-2026:26524
- Web: https://access.redhat.com/errata/RHSA-2026:26525
- Web: https://access.redhat.com/errata/RHSA-2026:26561
- Web: https://access.redhat.com/errata/RHSA-2026:27718
- Web: https://access.redhat.com/errata/RHSA-2026:27738
- Web: https://access.redhat.com/errata/RHSA-2026:27741
- Web: https://access.redhat.com/errata/RHSA-2026:27742
- Web: https://access.redhat.com/errata/RHSA-2026:27743
- Web: https://access.redhat.com/errata/RHSA-2026:28037
- Web: https://access.redhat.com/errata/RHSA-2026:28143
- Web: https://access.redhat.com/errata/RHSA-2026:28208
- Web: https://access.redhat.com/errata/RHSA-2026:28999
- Web: https://access.redhat.com/errata/RHSA-2026:29212
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.