#VU53231 Integer overflow in PostgreSQL

Published: 2021-05-13

Vulnerability identifier: #VU53231

Vulnerability risk: Medium


CVE-ID: CVE-2021-32027


Exploitation vector: Network

Exploit availability:

Vulnerable software:
Server applications / Database software

Vendor: PostgreSQL Global Development Group


The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow when processing certain SQL array values during array subscribing calculation. An authenticated database user can pass specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system and can be exploited by a remote unauthenticated attacker via SQL injection vulnerability in the frontend application.

Install updates from vendor's website.

Vulnerable software versions

PostgreSQL: 13.0 - 13.2, 12 - 12.6, 11.0 - 11.11, 10.0 - 10.16, 9.6.0 - 9.6.21

Fixed software versions


External links

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

Latest bulletins with this vulnerability