| Name | CVE-2026-14661 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4905-1, DSA-6625-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| postgresql-15 (PTS) | bookworm | 15.18-0+deb12u1 | vulnerable |
| bookworm (security) | 15.20-0+deb12u1 | fixed | |
| postgresql-17 (PTS) | trixie (security), trixie | 17.12-0+deb13u1 | fixed |
| postgresql-18 (PTS) | forky, sid | 18.7-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| postgresql-15 | source | bookworm | 15.20-0+deb12u1 | DLA-4905-1 | ||
| postgresql-15 | source | (unstable) | (unfixed) | |||
| postgresql-17 | source | trixie | 17.12-0+deb13u1 | DSA-6625-1 | ||
| postgresql-17 | source | (unstable) | (unfixed) | |||
| postgresql-18 | source | (unstable) | 18.7-1 |
https://www.postgresql.org/about/news/postgresql-187-1712-1616-1520-1425-and-19-rc-2-released-3442/
Fixed-by: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=08010fa4f43dc06b701592e605b548eaf07fd5f7 (master)
Fixed-by: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=780809ba636cb1b83c39c9d6265ffec72c5653b3 (REL_18_7)
Fixed-by: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=ea9b427faa3aedff241548b9164ccd496857021a (REL_17_12)
Fixed-by: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=6925c6816e953570e559ccbcf3b9d0022bcccd03 (REL_15_20)