SQL injection in PostgreSQL - CVE-2002-0802

 

SQL injection in PostgreSQL - CVE-2002-0802

Published: October 18, 2016 / Updated: June 23, 2025


Vulnerability identifier: #VU111805
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2002-0802
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: PostgreSQL Global Development Group
Affected software:
PostgreSQL

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

The multibyte support in PostgreSQL 6.5.x with SQL_ASCII encoding consumes an extra character when processing a character that cannot be converted, which could remove an escape character from the query and make the application subject to SQL injection attacks.


How to mitigate CVE-2002-0802

Install update from vendor's website.

Sources