No attacks using it have been reported.
A field's type can be changed while old values are still held elsewhere, and the server then reads them as the new type. Researcher Mehmet Ince traces this to May 2004, when PostgreSQL gained the ability to change a column's type. He could crash a server from the lowest privileged login. None of the sources says whether that account can go on to run code.
Updating the server is not enough, because C language extensions must be rebuilt as well. The fix adds checks for mismatched values, plus a setting to switch them off that the project says carries security risks. A 22 year old hole, patched, and shipped with a switch to put it back.
