{"format": 1, "mode": "release", "from_release": null, "to_release": {"date": "2024-11-21", "build": "13.18", "major": "13", "minor": 18, "manual": "13", "status": "stable", "doc_git": "", "version": "13.18", "eol_date": "2025-11-13", "date_text": "2024-11-21", "supported": false, "manual_url": "/docs/13/release-13-18.html", "source_url": "/docs/release/13.18/", "entry_count": 4, "placeholder": false, "content_hash": "ae2d294e4f59d6331c122b89cae49fe1020054718b3b531f7e3430aa916e50cd", "manual_build": "13.23", "source_as_of": "", "changes_count": 4, "doc_loaded_at": "2026-09-25T02:22:44.760693", "migration_html": "<p>A dump/restore is not required for those running 13.X.</p>\n<p>However, if you are upgrading from a version earlier than 13.17, see <a href=\"/docs/13/release-13-17.html\" title=\"E.7. Release 13.17\">Section E.7</a>.</p>", "compatibility_count": 0, "label": "13.18", "status_label": "Historical", "eol": "2025-11-13", "age_days": 677, "support_days": -320}, "groups": [{"date": "2024-11-21", "build": "13.18", "major": "13", "minor": 18, "manual": "13", "status": "stable", "doc_git": "", "version": "13.18", "eol_date": "2025-11-13", "date_text": "2024-11-21", "supported": false, "manual_url": "/docs/13/release-13-18.html", "source_url": "/docs/release/13.18/", "entry_count": 4, "placeholder": false, "content_hash": "ae2d294e4f59d6331c122b89cae49fe1020054718b3b531f7e3430aa916e50cd", "manual_build": "13.23", "source_as_of": "", "changes_count": 4, "doc_loaded_at": "2026-09-25T02:22:44.760693", "migration_html": "<p>A dump/restore is not required for those running 13.X.</p>\n<p>However, if you are upgrading from a version earlier than 13.17, see <a href=\"/docs/13/release-13-17.html\" title=\"E.7. Release 13.17\">Section E.7</a>.</p>", "compatibility_count": 0, "label": "13.18", "status_label": "Historical", "eol": "2025-11-13", "age_days": 677, "support_days": -320, "entries": [{"id": "13.18-2dcb90b343e7bf55", "cves": ["CVE-2024-10978"], "html": "<p>Restore functionality of <code>ALTER {ROLE|DATABASE} SET role</code> (Tom Lane, Noah Misch) <a href=\"https://postgr.es/c/07c6e0f61\">§</a></p>\n<p>The fix for CVE-2024-10978 accidentally caused settings for <code>role</code> to not be applied if they come from non-interactive sources, including previous <code>ALTER {ROLE|DATABASE}</code> commands and the <code>PGOPTIONS</code> environment variable.</p>", "text": "Restore functionality of ALTER {ROLE|DATABASE} SET role (Tom Lane, Noah Misch) § The fix for CVE-2024-10978 accidentally caused settings for role to not be applied if they come from non-interactive sources, including previous ALTER {ROLE|DATABASE} commands and the PGOPTIONS environment variable.", "title": "Restore functionality of ALTER {ROLE|DATABASE} SET role", "commits": ["07c6e0f61"], "section": "Changes", "category": "security", "source_url": "/docs/release/13.18/#id-1.11.6.11.5", "source_hash": "f7749da940f32e228d90ef660b1df57b771d0ff3d169d6733da04212ce15b855", "section_path": ["Changes"], "commit_groups": [["07c6e0f61", "1c05004a8", "7b88529f4", "b0918c128", "be062bfa5", "c46333865", "edf80895f"]], "identity_text": "Restore functionality of ALTER {ROLE|DATABASE} SET role (Tom Lane, Noah Misch) The fix for CVE-2024-10978 accidentally caused settings for role to not be applied if they come from non-interactive sources, including previous ALTER {ROLE|DATABASE} commands and the PGOPTIONS environment variable.", "commit_aliases": ["07c6e0f61", "1c05004a8", "7b88529f4", "b0918c128", "be062bfa5", "c46333865", "edf80895f"], "source_commits": ["07c6e0f61"], "source_entry_id": "13.18/changes/001", "db_id": "2738c31dbd265aa929daa4b4aa4a67ba", "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1", "relations": [{"rule": 2, "type": "equivalent", "target": "5b38c75ca60bfc75793b4821795e8ef6", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}}, {"rule": 2, "type": "equivalent", "target": "acf7b13b266fc0c0b48132f58dda40a4", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}}, {"rule": 2, "type": "equivalent", "target": "bbc5cf6b20273068c4d6c9dd65da0b05", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}}, {"rule": 2, "type": "equivalent", "target": "e4a3a55b29e3e45132a44ee9d76a8b7a", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}}, {"rule": 2, "type": "equivalent", "target": "f20342f7ad93514b4af50956c971c3b8", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}}], "version": "13.18", "category_label": "Security", "also_in": [], "variants": [], "related_changes": [{"db_id": "f20342f7ad93514b4af50956c971c3b8", "kind": "equivalent", "version": "17.2", "label": "17.2", "title": "Restore functionality of ALTER {ROLE|DATABASE} SET role", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}, "url": "/docs/compare/?release=17.2#17.2-d77293a82e3a14e5", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES"}, {"db_id": "bbc5cf6b20273068c4d6c9dd65da0b05", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "Restore functionality of ALTER {ROLE|DATABASE} SET role", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}, "url": "/docs/compare/?release=16.6#16.6-59096cd01766b695", "source_url": "/docs/release/16.6/#RELEASE-16-6-CHANGES"}, {"db_id": "5b38c75ca60bfc75793b4821795e8ef6", "kind": "equivalent", "version": "15.10", "label": "15.10", "title": "Restore functionality of ALTER {ROLE|DATABASE} SET role", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}, "url": "/docs/compare/?release=15.10#15.10-d3c8a67fc12652c8", "source_url": "/docs/release/15.10/#id-1.11.6.15.5"}, {"db_id": "e4a3a55b29e3e45132a44ee9d76a8b7a", "kind": "equivalent", "version": "14.15", "label": "14.15", "title": "Restore functionality of ALTER {ROLE|DATABASE} SET role", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}, "url": "/docs/compare/?release=14.15#14.15-422cf39c7394aada", "source_url": "/docs/release/14.15/#id-1.11.6.15.5"}, {"db_id": "acf7b13b266fc0c0b48132f58dda40a4", "kind": "equivalent", "version": "12.22", "label": "12.22", "title": "Restore functionality of ALTER {ROLE|DATABASE} SET role", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}, "url": "/docs/compare/?release=12.22#12.22-87cfe420bf12aef8", "source_url": "/docs/release/12.22/#id-1.11.6.6.6"}]}, {"id": "13.18-73debc97f1da2a16", "cves": [], "html": "<p>Fix cases where a logical replication slot's <code>restart_lsn</code> could go backwards (Masahiko Sawada) <a href=\"https://postgr.es/c/15dc1abb1\">§</a></p>\n<p>Previously, restarting logical replication could sometimes cause the slot's restart point to be recomputed as an older value than had previously been advertised in <code>pg_replication_slots</code>. This is bad, since for example WAL files might have been removed on the basis of the later <code>restart_lsn</code> value, in which case replication would fail to restart.</p>", "text": "Fix cases where a logical replication slot's restart_lsn could go backwards (Masahiko Sawada) § Previously, restarting logical replication could sometimes cause the slot's restart point to be recomputed as an older value than had previously been advertised in pg_replication_slots. This is bad, since for example WAL files might have been removed on the basis of the later restart_lsn value, in which case replication would fail to restart.", "title": "Fix cases where a logical replication slot's restart_lsn could go backwards", "commits": ["15dc1abb1"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/13.18/#id-1.11.6.11.5", "source_hash": "bcc6a00a2dd3046e2bd29acd9f0b73d6b25a6ee9a45f504e7d14be164a354ff9", "section_path": ["Changes"], "commit_groups": [["15dc1abb1", "26c4e8968", "568e78a65", "91771b3fb", "e5ed873b1", "f35391133"]], "identity_text": "Fix cases where a logical replication slot's restart_lsn could go backwards (Masahiko Sawada) Previously, restarting logical replication could sometimes cause the slot's restart point to be recomputed as an older value than had previously been advertised in pg_replication_slots. This is bad, since for example WAL files might have been removed on the basis of the later restart_lsn value, in which case replication would fail to restart.", "commit_aliases": ["15dc1abb1", "26c4e8968", "568e78a65", "91771b3fb", "e5ed873b1", "f35391133"], "source_commits": ["15dc1abb1"], "source_entry_id": "13.18/changes/002", "db_id": "2379d7430937e26c867f0b3b2bc9112f", "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48", "relations": [{"rule": 2, "type": "equivalent", "target": "7314b3acc1bcea03af87a29d6ae66d66", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}}, {"rule": 2, "type": "equivalent", "target": "8f0e270da299adb30e1901570a8fe309", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}}, {"rule": 2, "type": "equivalent", "target": "eeac887b0b63b2fdf6611c932284ec81", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}}, {"rule": 2, "type": "equivalent", "target": "f3d3824aa67522cf3e92153b05732253", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}}], "version": "13.18", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "7314b3acc1bcea03af87a29d6ae66d66", "kind": "equivalent", "version": "17.2", "label": "17.2", "title": "Fix cases where a logical replication slot's restart_lsn could go backwards", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}, "url": "/docs/compare/?release=17.2#17.2-75cf64383155ff92", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES"}, {"db_id": "8f0e270da299adb30e1901570a8fe309", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "Fix cases where a logical replication slot's restart_lsn could go backwards", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}, "url": "/docs/compare/?release=16.6#16.6-20c2a4b20819e474", "source_url": "/docs/release/16.6/#RELEASE-16-6-CHANGES"}, {"db_id": "f3d3824aa67522cf3e92153b05732253", "kind": "equivalent", "version": "15.10", "label": "15.10", "title": "Fix cases where a logical replication slot's restart_lsn could go backwards", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}, "url": "/docs/compare/?release=15.10#15.10-0aa3e2da88ef79d2", "source_url": "/docs/release/15.10/#id-1.11.6.15.5"}, {"db_id": "eeac887b0b63b2fdf6611c932284ec81", "kind": "equivalent", "version": "14.15", "label": "14.15", "title": "Fix cases where a logical replication slot's restart_lsn could go backwards", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}, "url": "/docs/compare/?release=14.15#14.15-dbdf316123c7d4cb", "source_url": "/docs/release/14.15/#id-1.11.6.15.5"}]}, {"id": "13.18-9fa998bb55f0e4c4", "cves": [], "html": "<p>Count index scans in <code>contrib/bloom</code> indexes in the statistics views, such as the <code>pg_stat_user_indexes</code>.<code>idx_scan</code> counter (Masahiro Ikeda) <a href=\"https://postgr.es/c/e493ea866\">§</a></p>", "text": "Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter (Masahiro Ikeda) §", "title": "Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter", "commits": ["e493ea866"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/13.18/#id-1.11.6.11.5", "source_hash": "5171793efb06bd646a03620f05b18a565fce650bc49a046478b386b48e9caacc", "section_path": ["Changes"], "commit_groups": [["05aac2e83", "16a2bb079", "2a30b6836", "7af6d1306", "93063e2e4", "e493ea866"]], "identity_text": "Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter (Masahiro Ikeda)", "commit_aliases": ["05aac2e83", "16a2bb079", "2a30b6836", "7af6d1306", "93063e2e4", "e493ea866"], "source_commits": ["e493ea866"], "source_entry_id": "13.18/changes/003", "db_id": "7b67908fa8be25ef7ac6fdbb980b3930", "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270", "relations": [{"rule": 2, "type": "equivalent", "target": "2fcab360df6135d0065be944b026bbf0", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}}, {"rule": 2, "type": "equivalent", "target": "82d8483a4776666f82eb5d319fa2b1c1", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}}, {"rule": 2, "type": "equivalent", "target": "cb76eb7a731699077eb60167ca0eaf1f", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}}, {"rule": 2, "type": "equivalent", "target": "f15dfa16542819f1af89c8405c6b3e28", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}}], "version": "13.18", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "82d8483a4776666f82eb5d319fa2b1c1", "kind": "equivalent", "version": "17.2", "label": "17.2", "title": "Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}, "url": "/docs/compare/?release=17.2#17.2-90ea7632563c16a8", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES"}, {"db_id": "cb76eb7a731699077eb60167ca0eaf1f", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}, "url": "/docs/compare/?release=16.6#16.6-a73ff36aadffcfcb", "source_url": "/docs/release/16.6/#RELEASE-16-6-CHANGES"}, {"db_id": "f15dfa16542819f1af89c8405c6b3e28", "kind": "equivalent", "version": "15.10", "label": "15.10", "title": "Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}, "url": "/docs/compare/?release=15.10#15.10-b6a38e4d700ac60e", "source_url": "/docs/release/15.10/#id-1.11.6.15.5"}, {"db_id": "2fcab360df6135d0065be944b026bbf0", "kind": "equivalent", "version": "14.15", "label": "14.15", "title": "Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}, "url": "/docs/compare/?release=14.15#14.15-710830664c07845c", "source_url": "/docs/release/14.15/#id-1.11.6.15.5"}]}, {"id": "13.18-d30b13f05cc1c528", "cves": [], "html": "<p>Fix crash when checking to see if an index's opclass options have changed (Alexander Korotkov) <a href=\"https://postgr.es/c/5411e8213\">§</a></p>\n<p>Some forms of <code>ALTER TABLE</code> would fail if the table has an index with non-default operator class options.</p>", "text": "Fix crash when checking to see if an index's opclass options have changed (Alexander Korotkov) § Some forms of ALTER TABLE would fail if the table has an index with non-default operator class options.", "title": "Fix crash when checking to see if an index's opclass options have changed", "commits": ["5411e8213"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/13.18/#id-1.11.6.11.5", "source_hash": "d3419e92a198be14482b0b8e150def4b3c17ee086cd42bf23ea953f5147f75f0", "section_path": ["Changes"], "commit_groups": [["247e7647f", "5411e8213", "713b8546a", "a6fa869cf", "b242aba02", "db22b9002"]], "identity_text": "Fix crash when checking to see if an index's opclass options have changed (Alexander Korotkov) Some forms of ALTER TABLE would fail if the table has an index with non-default operator class options.", "commit_aliases": ["247e7647f", "5411e8213", "713b8546a", "a6fa869cf", "b242aba02", "db22b9002"], "source_commits": ["5411e8213"], "source_entry_id": "13.18/changes/004", "db_id": "207e3b56e933a534b2897c6a7ad86253", "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f", "relations": [{"rule": 2, "type": "equivalent", "target": "0fdbd063d8cd025895b7106b3f929362", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}}, {"rule": 2, "type": "equivalent", "target": "3968d61ee6b6651ba3b84916f84db243", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}}, {"rule": 2, "type": "equivalent", "target": "7c45f4d1fde089f5aee8f5683dbb0d41", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}}, {"rule": 2, "type": "equivalent", "target": "ef15430b70b7e1fec1a9ca0e57cd347b", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}}], "version": "13.18", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "0fdbd063d8cd025895b7106b3f929362", "kind": "equivalent", "version": "17.2", "label": "17.2", "title": "Fix crash when checking to see if an index's opclass options have changed", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}, "url": "/docs/compare/?release=17.2#17.2-04c251017e57618e", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES"}, {"db_id": "ef15430b70b7e1fec1a9ca0e57cd347b", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "Fix crash when checking to see if an index's opclass options have changed", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}, "url": "/docs/compare/?release=16.6#16.6-99266a3c2d9d8f9c", "source_url": "/docs/release/16.6/#RELEASE-16-6-CHANGES"}, {"db_id": "7c45f4d1fde089f5aee8f5683dbb0d41", "kind": "equivalent", "version": "15.10", "label": "15.10", "title": "Fix crash when checking to see if an index's opclass options have changed", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}, "url": "/docs/compare/?release=15.10#15.10-9cdcfef81a8480ac", "source_url": "/docs/release/15.10/#id-1.11.6.15.5"}, {"db_id": "3968d61ee6b6651ba3b84916f84db243", "kind": "equivalent", "version": "14.15", "label": "14.15", "title": "Fix crash when checking to see if an index's opclass options have changed", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}, "url": "/docs/compare/?release=14.15#14.15-05619bc8173d26d7", "source_url": "/docs/release/14.15/#id-1.11.6.15.5"}]}]}], "stats": [{"key": "all", "label": "All changes", "count": 4}, {"key": "feature", "label": "Features", "count": 0}, {"key": "bugfix", "label": "Bug fixes", "count": 2}, {"key": "security", "label": "Security", "count": 1}, {"key": "performance", "label": "Performance", "count": 0}, {"key": "compatibility", "label": "Compatibility", "count": 0}, {"key": "improvement", "label": "Improvements", "count": 1}], "total": 4, "release_count": 1, "cross_major": false, "cve_count": 1, "cves": [{"id": "CVE-2024-10978", "url": "https://www.postgresql.org/support/security/CVE-2024-10978/", "fixed": {"12": "12.21", "13": "13.17", "14": "14.14", "15": "15.9", "16": "16.5", "17": "17.1"}, "score": 4.2, "title": "Restore functionality of ALTER {ROLE|DATABASE} SET role", "vector": "AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2024-10978", "affected": {"12": "12", "13": "13", "14": "14", "15": "15", "16": "16", "17": "17"}, "component": "core server", "published": {"12": "2024-11-14", "13": "2024-11-14", "14": "2024-11-14", "15": "2024-11-14", "16": "2024-11-14", "17": "2024-11-14"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Incorrect privilege assignment in PostgreSQL allows a less-privileged application user to view or change different rows from those intended. An attack requires the application to use SET ROLE , SET SESSION AUTHORIZATION , or an equivalent feature. The problem arises when an application query uses parameters from the attacker or conveys query results to the attacker. If that query reacts to current_setting('role') or the current user ID, it may modify or return data as though the session had not used SET ROLE or SET SESSION AUTHORIZATION . The attacker does not control which incorrect user ID applies. Query text from less-privileged sources is not a concern here, because SET ROLE and SET SESSION AUTHORIZATION are not sandboxes for unvetted queries. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.\n\nThe PostgreSQL project thanks Tom Lane for reporting this problem.", "affected_ranges": [{"from": "0", "until": "12.21"}, {"from": "13", "until": "13.17"}, {"from": "14", "until": "14.14"}, {"from": "15", "until": "15.9"}, {"from": "16", "until": "16.5"}, {"from": "17", "until": "17.1"}], "first_published": "2024-11-14", "fixed_version": "13.17"}], "cve_available": true, "remaining_cves": [], "security_regressions": [], "warnings": [], "candidate_count": 4, "already_in_source_count": 0, "duplicate_count": 0, "excluded_count": 0, "exclusions": [], "source_as_of": "2026-09-26", "security_as_of": "2026-09-26"}