PostgreSQL dblink reentrant disconnect use-after-free executes arbitrary code
- State
- Published
- Severity
- 8.8 High
- Published
- Nov 12, 2026
- Updated
- Nov 14, 2026
- Reserved
- Oct 30, 2026
Description
Use after free in the PostgreSQL dblink extension allows an object creator to execute arbitrary code as the operating system user running the database, via type conversion code that re-enters dblink and closes a connection whose results an outer dblink call is reading. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
| Product | Versions |
|---|---|
| PostgreSQL n/a | 18 to before 18.7 Affected17 to before 17.12 Affected16 to before 16.16 Affected15 to before 15.20 Affectedbefore 14.25 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 8.8 High | PostgreSQL |
Weaknesses
- CWE-416 Use After Free
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.