A vulnerability in PostgreSQL versions 18.0.0 up to but not including 18.7.0 allows an unauthenticated network client to cause a server restart by exploiting improper locking during startup processing. This issue arises when the authentication timeout occurs while a spinlock is held during cancel request handling. Versions prior to 18.0.0 are not affected. The flaw has been fixed in PostgreSQL 18.7.0.