# MA-1267.022025: MyCERT Advisory - PostgreSQL psql SQL Injection Vulnerability

**Date:** 20 Feb 2025  
**Source:** https://www.mycert.org.my/portal/advisory?id=MA-1267.022025  
**Advisory ID:** MA-1267.022025

---

**1.0 Introduction**
Recently, PostgresSQL has release a security update to address a high severity vulnerability tracked as **CVE-2025-1094**in PostgreSQL’s Interactive tool psql.
**2.0 Impact**
This vulnerability allows attacker to achieve arbitrary code execution by exploiting incorrect handling of invalid UTF-8 characters in PostgreSQL’s string escaping routines. This vulnerability can be exploited when escaped untrusted input is included as part of SQL statement executed by the interactive psql tool. Attackers can leverage the incorrect handling of invalid UTF-8 characters to generate a SQL injection
**3.0 Affected Products**
- PostgresSQL version 17
- PostgresSQL version 16
- PostgresSQL version 15
- PostgresSQL version 14
- PostgresSQL version 13
**4.0 Recommendations**
CyberSecurity Malaysia encourages users and administrators to review the PostgresSQL security release and apply the necessary updates.
Kindly refer to the following URL: <https://www.postgresql.org/support/security/CVE-2025-1094/>
Generally, we advise users of this device to be updated with the latest security announcements by the vendor and follow best practice security policies to determine which updates should be applied.
For further enquiries, please contact Cyber999 through the following channels:
E-mail: cyber999[at]cybersecurity.my 
Phone: 1-300-88-2999 (monitored during business hours) 
Mobile: +60 19 2665850 (24x7 call incident reporting) 
Business Hours: Mon - Fri 08:30 -17.30 MYT 
Web: [https://www.mycert.org.my](https://www.mycert.org.my/)
**5.0    References**
- <https://www.postgresql.org/support/security/CVE-2025-1094/>