Summary
PostgreSQL server crashes with a segmentation fault when executing ALTER USER CURRENT_USER WITH PASSWORD in PostgreSQL 16.10 and 16.11. The crash results in immediate termination of the backend process and forces a full instance restart.
Affected Versions
PostgreSQL 16.10
PostgreSQL 16.11
Issue reproduced consistently on both versions.
Environment
OS: Linux (RHEL 9–compatible)
Architecture: x86_64
Build: Official PostgreSQL packages
Authentication: SCRAM-SHA-256
Crash observed on primary instance (not hot standby)
(Exact OS/kernel/compiler details can be provided if required.)
Steps to Reproduce
Connect to PostgreSQL as a regular role (non-superuser):
Execute the following command:
Expected Result
The password of the current user should be updated successfully, equivalent to:
Actual Result
PostgreSQL backend process crashes with SIGSEGV (signal 11).
The entire PostgreSQL instance is terminated and automatically restarted.
Server Log Output
Frequency
Additional Notes
Impact