### [CVE-2015-0241](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-0241) ![](https://img.shields.io/static/v1?label=Product&message=PostgreSQL&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=9.1.x%20before%209.1.15%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=9.2.x%20before%209.2.10%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=9.3.x%20before%209.3.6%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=9.4.x%20before%209.4.1%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=before%209.0.19%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=Other&color=brightgreen) ### Description The to_char function in PostgreSQL before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, and 9.4.x before 9.4.1 allows remote authenticated users to cause a denial of service (crash) or possibly execute arbitrary code via a (1) large number of digits when processing a numeric formatting template, which triggers a buffer over-read, or (2) crafted timestamp formatting template, which triggers a buffer overflow. ### POC #### Reference No PoCs from references. #### Github - https://github.com/bidimensional/pgtest - https://github.com/lekctut/sdb-hw-13-01 - https://github.com/pedr0alencar/vlab-metasploitable2