Multiple serious vulnerabilities have been found in PostgreSQL. Malicious users can exploit these vulnerabilities to bypass security restrictions and obtain sensitive information.
PostgreSQL 9.3 earlier than 9.3.21
PostgreSQL 9.4 earlier than 9.4.16
PostgreSQL 9.5 earlier than 9.5.11
PostgreSQL 9.6 earlier than 9.6.7
PostgreSQL 10 earlier than 10.2
Update to the latest version