{"id":"CVE-2026-6478","year":2026,"sequence":6478,"component":"core server","score":6.5,"cvss_version":"3.0","vector":"AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","first_published":"2026-05-14","source_url":"https://www.postgresql.org/support/security/CVE-2026-6478/","facts":{"affected":{"14":"14","15":"15","16":"16","17":"17","18":"18"},"affected_ranges":[{"from":"0","until":"14.23"},{"from":"15","until":"15.18"},{"from":"16","until":"16.14"},{"from":"17","until":"17.10"},{"from":"18","until":"18.4"}],"cna_url":"https://cveawg.mitre.org/api/cve/CVE-2026-6478","component":"core server","cvss_version":"3.0","description_en":"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.","first_published":"2026-05-14","fixed":{"14":"14.23","15":"15.18","16":"16.14","17":"17.10","18":"18.4"},"id":"CVE-2026-6478","introduced":{},"published":{"14":"2026-05-14","15":"2026-05-14","16":"2026-05-14","17":"2026-05-14","18":"2026-05-14"},"score":6.5,"title":"PostgreSQL discloses MD5-hashed passwords via covert timing channel","url":"https://www.postgresql.org/support/security/CVE-2026-6478/","vector":"AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"},"reviewed_hash":"6a65a7884245936f6adaef8709d290d460e999dfce1ad78734fa7c9a324ed325","source_hash":"965b9e2323feab543f3cbeb74c418c3a5b43cbefc6594d2862ff0d24dcf8e6a2","text":{"locale":"zh-Hans","title":"PostgreSQL 可通过隐蔽计时信道泄露 MD5 哈希口令","description":"PostgreSQL 可通过隐蔽计时信道泄露 MD5 哈希口令","details":"PostgreSQL 身份认证在比较 MD5 哈希口令时存在隐蔽计时信道，攻击者可据此恢复足以完成认证的用户凭据。 所有受支持版本默认使用的 scram-sha-256 口令不受影响，但从 PostgreSQL 13 或更早版本升级而来的数据库 仍可能保留 MD5 哈希口令。PostgreSQL 18.4、17.10、16.14、15.18 和 14.23 之前的版本受此问题影响。","format":"markdown","provenance":{"identity":"immutable_cve_code","sources":[{"observed_at":"2026-10-03 12:08:35.169032+08","raw":{"component":"core server","cve":"2026-6478","cvenumber":202606478,"description":"PostgreSQL 可通过隐蔽计时信道泄露 MD5 哈希口令","details":"PostgreSQL 身份认证在比较 MD5 哈希口令时存在隐蔽计时信道，攻击者可据此恢复足以完成认证的用户凭据。 所有受支持版本默认使用的 scram-sha-256 口令不受影响，但从 PostgreSQL 13 或更早版本升级而来的数据库 仍可能保留 MD5 哈希口令。PostgreSQL 18.4、17.10、16.14、15.18 和 14.23 之前的版本受此问题影响。","detailslink":"","id":51,"legacyscore":"","newspost_id":3294,"public":true,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"},"source":"center","source_id":51,"source_table_sha256":"b57ee28b2263464208af0ccf7512b31f0c1ab7140d12dda09a0c87de341f1372"},{"observed_at":"2026-10-03 12:08:55.967155+08","raw":{"component":"core server","cve":"2026-6478","cvenumber":202606478,"description":"PostgreSQL 可通过隐蔽计时信道泄露 MD5 哈希口令","details":"PostgreSQL 身份认证在比较 MD5 哈希口令时存在隐蔽计时信道，攻击者可据此恢复足以完成认证的用户凭据。 所有受支持版本默认使用的 scram-sha-256 口令不受影响，但从 PostgreSQL 13 或更早版本升级而来的数据库 仍可能保留 MD5 哈希口令。PostgreSQL 18.4、17.10、16.14、15.18 和 14.23 之前的版本受此问题影响。","detailslink":"","id":51,"legacyscore":"","newspost_id":3294,"public":true,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"},"source":"pgweb","source_id":51,"source_table_sha256":"b57ee28b2263464208af0ccf7512b31f0c1ab7140d12dda09a0c87de341f1372"}]},"text_hash":"a78029304f67e0ef7dd3c9512bd60e5909d829035ae30097412f4e7fb50390d5"},"locales":["en","zh-Hans"],"fixes":[{"major":"14","fixed_version":"14.23","introduced":null,"published_date":"2026-05-14","facts":{"fixed":"14.23","introduced":null,"published":"2026-05-14"}},{"major":"15","fixed_version":"15.18","introduced":null,"published_date":"2026-05-14","facts":{"fixed":"15.18","introduced":null,"published":"2026-05-14"}},{"major":"16","fixed_version":"16.14","introduced":null,"published_date":"2026-05-14","facts":{"fixed":"16.14","introduced":null,"published":"2026-05-14"}},{"major":"17","fixed_version":"17.10","introduced":null,"published_date":"2026-05-14","facts":{"fixed":"17.10","introduced":null,"published":"2026-05-14"}},{"major":"18","fixed_version":"18.4","introduced":null,"published_date":"2026-05-14","facts":{"fixed":"18.4","introduced":null,"published":"2026-05-14"}}],"legacy":[{"source":"center","source_id":51,"observed_at":"2026-10-03 12:08:35.169032+08","raw":{"id":51,"cve":"2026-6478","public":true,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","details":"PostgreSQL 身份认证在比较 MD5 哈希口令时存在隐蔽计时信道，攻击者可据此恢复足以完成认证的用户凭据。 所有受支持版本默认使用的 scram-sha-256 口令不受影响，但从 PostgreSQL 13 或更早版本升级而来的数据库 仍可能保留 MD5 哈希口令。PostgreSQL 18.4、17.10、16.14、15.18 和 14.23 之前的版本受此问题影响。","component":"core server","cvenumber":202606478,"description":"PostgreSQL 可通过隐蔽计时信道泄露 MD5 哈希口令","detailslink":"","legacyscore":"","newspost_id":3294},"fixes":[{"source_id":194,"source_version_id":31,"major":"18","fixed_minor":4,"raw":{"id":194,"patch_id":51,"version_id":31,"fixed_minor":4},"version_raw":{"id":31,"tree":18.0,"current":true,"docsgit":"","eoldate":"2030-11-14","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T08:10:47.078613+08:00","latestminor":6,"firstreldate":"2025-09-25"}},{"source_id":195,"source_version_id":30,"major":"17","fixed_minor":10,"raw":{"id":195,"patch_id":51,"version_id":30,"fixed_minor":10},"version_raw":{"id":30,"tree":17.0,"current":false,"docsgit":"","eoldate":"2029-11-08","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T08:10:47.078613+08:00","latestminor":11,"firstreldate":"2024-09-26"}},{"source_id":196,"source_version_id":29,"major":"16","fixed_minor":14,"raw":{"id":196,"patch_id":51,"version_id":29,"fixed_minor":14},"version_raw":{"id":29,"tree":16.0,"current":false,"docsgit":"","eoldate":"2028-11-09","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T08:10:47.078613+08:00","latestminor":15,"firstreldate":"2023-09-14"}},{"source_id":197,"source_version_id":28,"major":"15","fixed_minor":18,"raw":{"id":197,"patch_id":51,"version_id":28,"fixed_minor":18},"version_raw":{"id":28,"tree":15.0,"current":false,"docsgit":"","eoldate":"2027-11-11","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T08:10:47.078613+08:00","latestminor":19,"firstreldate":"2022-10-13"}},{"source_id":198,"source_version_id":27,"major":"14","fixed_minor":23,"raw":{"id":198,"patch_id":51,"version_id":27,"fixed_minor":23},"version_raw":{"id":27,"tree":14.0,"current":false,"docsgit":"","eoldate":"2026-11-12","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T08:10:47.078613+08:00","latestminor":24,"firstreldate":"2021-09-30"}}]},{"source":"pgweb","source_id":51,"observed_at":"2026-10-03 12:08:55.967155+08","raw":{"id":51,"cve":"2026-6478","public":true,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","details":"PostgreSQL 身份认证在比较 MD5 哈希口令时存在隐蔽计时信道，攻击者可据此恢复足以完成认证的用户凭据。 所有受支持版本默认使用的 scram-sha-256 口令不受影响，但从 PostgreSQL 13 或更早版本升级而来的数据库 仍可能保留 MD5 哈希口令。PostgreSQL 18.4、17.10、16.14、15.18 和 14.23 之前的版本受此问题影响。","component":"core server","cvenumber":202606478,"description":"PostgreSQL 可通过隐蔽计时信道泄露 MD5 哈希口令","detailslink":"","legacyscore":"","newspost_id":3294},"fixes":[{"source_id":194,"source_version_id":31,"major":"18","fixed_minor":4,"raw":{"id":194,"patch_id":51,"version_id":31,"fixed_minor":4},"version_raw":{"id":31,"tree":18.0,"current":true,"docsgit":"","eoldate":"2030-11-14","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T00:10:45.258078+08:00","latestminor":6,"firstreldate":"2025-09-25"}},{"source_id":195,"source_version_id":30,"major":"17","fixed_minor":10,"raw":{"id":195,"patch_id":51,"version_id":30,"fixed_minor":10},"version_raw":{"id":30,"tree":17.0,"current":false,"docsgit":"","eoldate":"2029-11-08","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T00:10:45.258078+08:00","latestminor":11,"firstreldate":"2024-09-26"}},{"source_id":196,"source_version_id":29,"major":"16","fixed_minor":14,"raw":{"id":196,"patch_id":51,"version_id":29,"fixed_minor":14},"version_raw":{"id":29,"tree":16.0,"current":false,"docsgit":"","eoldate":"2028-11-09","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T00:10:45.258078+08:00","latestminor":15,"firstreldate":"2023-09-14"}},{"source_id":197,"source_version_id":28,"major":"15","fixed_minor":18,"raw":{"id":197,"patch_id":51,"version_id":28,"fixed_minor":18},"version_raw":{"id":28,"tree":15.0,"current":false,"docsgit":"","eoldate":"2027-11-11","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T00:10:45.258078+08:00","latestminor":19,"firstreldate":"2022-10-13"}},{"source_id":198,"source_version_id":27,"major":"14","fixed_minor":23,"raw":{"id":198,"patch_id":51,"version_id":27,"fixed_minor":23},"version_raw":{"id":27,"tree":14.0,"current":false,"docsgit":"","eoldate":"2026-11-12","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T00:10:45.258078+08:00","latestminor":24,"firstreldate":"2021-09-30"}}]}]}
