Buffer overflows in the (1) TZ and (2) SET TIME ZONE enivronment variables for PostgreSQL…
Priority LOW 22Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.
Summary
Buffer overflows in the (1) TZ and (2) SET TIME ZONE enivronment variables for PostgreSQL 7.2.1 and earlier allow local users to cause a denial of service and possibly execute arbitrary code.
Why it matters now
EPSS 0.00479 41st percentileScored 2026-11-07
Fix Fixed Red Hat: 3 advisories
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 8
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:postgresql:postgresql:6.3.2:*:*:*:*:*:*:* | 6.3.2 | Vulnerable | PostgreSQL |
| cpe:2.3:a:postgresql:postgresql:6.5.3:*:*:*:*:*:*:* | 6.5.3 | Vulnerable | PostgreSQL |
| cpe:2.3:a:postgresql:postgresql:7.0.3:*:*:*:*:*:*:* | 7.0.3 | Vulnerable | PostgreSQL |
| cpe:2.3:a:postgresql:postgresql:7.1:*:*:*:*:*:*:* | 7.1 | Vulnerable | PostgreSQL |
| cpe:2.3:a:postgresql:postgresql:7.1.1:*:*:*:*:*:*:* | 7.1.1 | Vulnerable | PostgreSQL |
| cpe:2.3:a:postgresql:postgresql:7.1.2:*:*:*:*:*:*:* | 7.1.2 | Vulnerable | PostgreSQL |
| cpe:2.3:a:postgresql:postgresql:7.1.3:*:*:*:*:*:*:* | 7.1.3 | Vulnerable | PostgreSQL |
| cpe:2.3:a:postgresql:postgresql:7.2.1:*:*:*:*:*:*:* | 7.2.1 | Vulnerable | PostgreSQL |
- cpe:2.3:a:postgresql:postgresql:6.3.2:*:*:*:*:*:*:* Versions 6.3.2 Vulnerable ·PostgreSQL
- cpe:2.3:a:postgresql:postgresql:6.5.3:*:*:*:*:*:*:* Versions 6.5.3 Vulnerable ·PostgreSQL
- cpe:2.3:a:postgresql:postgresql:7.0.3:*:*:*:*:*:*:* Versions 7.0.3 Vulnerable ·PostgreSQL
- cpe:2.3:a:postgresql:postgresql:7.1:*:*:*:*:*:*:* Versions 7.1 Vulnerable ·PostgreSQL
- cpe:2.3:a:postgresql:postgresql:7.1.1:*:*:*:*:*:*:* Versions 7.1.1 Vulnerable ·PostgreSQL
- cpe:2.3:a:postgresql:postgresql:7.1.2:*:*:*:*:*:*:* Versions 7.1.2 Vulnerable ·PostgreSQL
- cpe:2.3:a:postgresql:postgresql:7.1.3:*:*:*:*:*:*:* Versions 7.1.3 Vulnerable ·PostgreSQL
- cpe:2.3:a:postgresql:postgresql:7.2.1:*:*:*:*:*:*:* Versions 7.2.1 Vulnerable ·PostgreSQL
Remediation
Red Hat 3 advisories
- RHSA-2002:301 Released 2003-01-22 · Red Hat rating Importantpostgresql security update
- Red Hat Enterprise Linux AS (Advanced Server) version 2.1
- Red Hat Linux Advanced Workstation 2.1
- RHSA-2003:010 Released 2003-01-14 · Red Hat rating Important: Updated PostgreSQL packages fix buffer overrun vulnerabilities
- Red Hat Linux 6.2
- Red Hat Linux 7.0
- Red Hat Linux 7.1
- Red Hat Linux 7.2
- RHSA-2003:001 Released 2003-01-14 · Red Hat rating Important: Updated PostgreSQL packages fix security issues and bugs
- Red Hat Linux 7.3
- Red Hat Linux 8.0
Vendor assessments
Red Hat
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | Fixed | RHSA-2002:301 |
| Red Hat Linux 6.2 | Fixed | RHSA-2003:010 |
| Red Hat Linux 7.0 | Fixed | RHSA-2003:010 |
| Red Hat Linux 7.1 | Fixed | RHSA-2003:010 |
| Red Hat Linux 7.2 | Fixed | RHSA-2003:010 |
| Red Hat Linux 7.3 | Fixed | RHSA-2003:001 |
| Red Hat Linux 8.0 | Fixed | RHSA-2003:001 |
| Red Hat Linux Advanced Workstation 2.1 | Fixed | RHSA-2002:301 |
Timeline
- 2026-10-02 Threatist record created from CVE-2002-1402
- 2026-10-03 Alias added: GHSA-5px2-4wrg-vxxc
References
More Postgresql vulnerabilities
- TI-2019-06651 In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and… CVSS 3.0HIGH 7.2
- TI-2017-05187 Improper authentication in postgresql CVSS 3.0CRITICAL 9.8
- TI-2020-15711 SQL injection in postgresql CVSS 3.1HIGH 8.8
- TI-2013-01675 Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9… CVSS 2.0MEDIUM 6.5
- TI-2007-03176 The Database Link library (dblink) in PostgreSQL 8.1 implements functions via CREATE… CVSS 2.0HIGH 9.0
- TI-2022-01423 SQL injection in postgresql CVSS 3.1HIGH 8.8
Sources
- CVE-2002-1402 · CVE Program
- CVE-2002-1402 · NVD
- FIRST EPSS
- GHSA-5px2-4wrg-vxxc · GitHub Advisory Database · CC BY 4.0
- CVE-2002-1402 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences