Description
The Debian pg_ctlcluster, pg_createcluster, and pg_upgradecluster scripts, as distributed in the Debian postgresql-common package before 181+deb9u1 for PostgreSQL (and other packages related to Debian and Ubuntu), handled symbolic links insecurely, which could result in local denial of service by overwriting arbitrary files.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | PostgreSQL-related scripts that are specific to Debian and Ubuntu | PostgreSQL-related scripts that are specific to Debian and Ubuntu | — |
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 14 | postgresql-common | 188 | — |
| Debian 13 | postgresql-common | 188 | — |
| Debian 12 | postgresql-common | 188 | — |
| Debian 9 | postgresql-common | 181+deb9u1 | DSA-4029-1 |
| Debian 8 | postgresql-common | 165+deb8u3 | DSA-4029-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | postgresql-common | 134wheezy6 | DLA-1169-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | postgresql-common | 173ubuntu0.1 | USN-3476-1 |
| Ubuntu 14.04 LTS | postgresql-common | 154ubuntu1.1 | USN-3476-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | libpq-13 +9 | 13.20-r0 | — |
| Wolfi rolling | libpq-14 +9 | 14.17-r0 | — |
| Wolfi rolling | postgresql-18 | 18.1-r0 | — |
Advisories 4
- DSA-4029-1 postgresql-common - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1169-1 postgresql-common - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3476-1 postgresql-common vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- WID-SEC-2024-0143 PostgreSQL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 31, 2025