External control of file name in PostgreSQL dblink and CREATE/ALTER SUBSCRIPTION allows a user to achieve persistent denial of service, via appending invalid data to a chosen file. Specifically, the "sslkeylogfile" connection parameter appends data, in NSS keylog format, to a file of the user's choosing. This "sslkeylogfile" mechanism cannot add arbitrary bytes. Within major version 18, minor versions before PostgreSQL 18.7 are affected. Versions before PostgreSQL 18 are also affected if libpq version 18 or later is installed and in use by the server.
| Affected Version | Fixed In | Fix Published |
|---|---|---|
| 18 | 18.7 | 2026-11-12 |
| 17 | 17.12 | 2026-11-12 |
| 16 | 16.16 | 2026-11-12 |
| 15 | 15.20 | 2026-11-12 |
| 14 | 14.25 | 2026-11-12 |
For more information about PostgreSQL versioning, please visit the versioning page.
| Overall Score | 8.1 |
|---|---|
| Component | contrib module |
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
If you wish to report a new security vulnerability in PostgreSQL, please send an email to security@postgresql.org.
For reporting non-security bugs, please see the Report a Bug page.