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: 6.9 [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]
CVE-ID: CVE-2002-0802
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

PostgreSQL

How to mitigate CVE-2002-0802

Install update from vendor's website.

PostgreSQL - update to 6.5.0

External References

Related Security Bulletins