#VU111799 Input validation error in PostgreSQL - CVE-2002-1399


| Updated: 2025-06-23

Vulnerability identifier: #VU111799

Vulnerability risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2002-1399

CWE-ID: CWE-20

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
PostgreSQL
Server applications / Database software

Vendor: PostgreSQL Global Development Group

Description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

Unknown vulnerability in cash_out and possibly other functions in PostgreSQL 7.2.1 and earlier, and possibly later versions before 7.2.3, with unknown impact, based on an invalid integer input which is processed as a different data type, as demonstrated using cash_out(2).

Mitigation
Install update from vendor's website.

Vulnerable software versions

PostgreSQL: 7.2, 7.2.1


External links
https://archives.postgresql.org/pgsql-hackers/2002-08/msg00708.php
https://archives.postgresql.org/pgsql-hackers/2002-08/msg00713.php
https://marc.info/?l=bugtraq&m=102978152712430&w=2


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability