Firebird Flaws Enable Remote Code Execution and Unauthenticated Server Crashes
Patch & Detection Intelligence · 2 sources · Updated 5mo ago · First seen Apr 17, 2026

Firebird disclosed two high-severity vulnerabilities affecting versions prior to 5.0.4, 4.0.7, and 3.0.14, including a path traversal and arbitrary file write issue tracked as CVE-2026-40342. The flaw resides in the external engine plugin loader, which improperly concatenates a user-controlled engine name into a filesystem path without filtering path separators or .. sequences. An authenticated user with CREATE FUNCTION privileges can abuse the bug to load an arbitrary shared library from disk, causing its initialization code to run immediately under the Firebird server's operating system account and resulting in remote code execution.
A second vulnerability, CVE-2026-28224, allows an unauthenticated attacker to crash a Firebird server by sending an op_crypt_key_callback packet before authentication, triggering a null pointer dereference because the port_server_crypt_callback handler is not initialized. The denial-of-service condition requires only network access to the server's IP address and port. Firebird addressed both issues in releases 5.0.4, 4.0.7, and 3.0.14, with advisories indicating the bugs carry high impact across availability and, in the case of CVE-2026-40342, confidentiality and integrity as well.


