Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 3.0 | postgresql | 7.2.1-2woody2 | DSA-165 |
Advisories 1
- DSA-165 postgresql - buffer overflows Debian Security (DSA / DLA) · Mar 9, 2026
References
- CLA-2002:524 vendor-advisory
- 8034 third-party-advisory
- RHSA-2003:001 vendor-advisory
- DSA-165 vendor-advisory
- [pgsql-announce] 20020824 PostgreSQL 7.2.2: Security Release mailing-list
- MDKSA-2002:062 vendor-advisory
- 20020826 GLSA: PostgreSQL mailing-list
- 20020824 Fwd: [GENERAL] PostgreSQL 7.2.2: Security Release mailing-list