PostgreSQL code execution in expanded-record domain checks
PostgreSQL
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| PostgreSQL |
| No fix yet |
Original description
Use after free in PostgreSQL expanded-record domain checks allows an object creator to execute arbitrary code as the operating system user running the database, via repeated checks of a domain over a composite type that cause reuse of a dangling memory-context pointer. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.