Description
Incorrect ownership assignment in PostgreSQL ALTER TABLE ALTER TYPE command reassigns ownership of dependent statistics objects to the current user. This wrongly allows the table owner to run DROP STATISTICS and ALTER STATISTICS via this improper ownership. It wrongly denies those commands to the prior statistics object owner. DROP TABLE remains able to remove statistics objects, so this exploit achieves nothing in many ownership arrangements. Versions before PostgreSQL 18.5, 17.11, 16.15, 15.19, and 14.24 are affected.
Remediation
References
Related Vulnerabilities
WordPress Plugin LeagueManager Multiple SQL Injection Vulnerabilities (3.9.1.1)
WordPress 3.9.x Prototype Pollution (3.9 - 3.9.35)
Contao Cross-Site Request Forgery (CSRF) Vulnerability (CVE-2012-1297)
MongoDb Improperly Controlled Sequential Memory Allocation Vulnerability (CVE-2026-8199)
MediaWiki Incorrect Default Permissions Vulnerability (CVE-2021-44858)