Memory Bugs Let Database Users Execute Server Code
Original source
Researcher Demonstrates Database RCE Exploits Affecting PostgreSQL, MySQL and Oracle
The Hacker News →A researcher at Depthfirst has published proofs of concept demonstrating that memory-corruption bugs in database engines can be exploited to run arbitrary code on database servers, circumventing SQL permission controls. Database account privileges typically govern which tables and schemas can be accessed, but they provide no protection against exploits targeting memory-unsafe C and C++ code used in query parsing and execution. Even accounts lacking read access to application tables can often create temporary objects or send specially crafted input that triggers these bugs.
Four vulnerabilities have been assigned CVEs and patched. PostgreSQL’s CVE-2026-116331 is a type-confusion flaw allowing code execution through temporary schema objects. MySQL’s CVE-2026-101786 affects the query optimizer in versions 26.7.0-26.7.1. Oracle presents a more severe case: CVE-2026-114819 in Oracle Text and CVE-2026-91609 in the GraphQL interface can be chained to achieve code execution without any login credentials if the REST Data Services endpoint is exposed. ClickHouse has an unpatched integer-overflow vulnerability in its binary row format handling. While the full attack chains have not undergone independent verification and no active exploitation has been documented, vendors have issued security updates.
Organizations should apply vendor patches and audit database account permissions, specifically revoking the TEMPORARY privilege from accounts that do not require it. The Oracle vulnerability differs fundamentally, requiring no login credentials, making it distinct from the other exposures addressed through privilege restrictions.
Read the full article
Continue reading at The Hacker News →This is an AI-generated summary. Read the original for the full story.