Skip to main content
Mallory
← Back to News
widely-deployed-product-advisoryinternet-facing-service-vulnerabilityprivilege-escalation-method

Firebird Flaws Enable Remote Code Execution and Unauthenticated Server Crashes

Patch & Detection Intelligence · 2 sources · Updated 5mo ago · First seen Apr 17, 2026

Firebird Flaws Enable Remote Code Execution and Unauthenticated Server Crashes

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.

Patch this, or something else?See real exploitation activity before you spend the cycle.
Triage this advisory
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

3 events · Apr 17, 2026
  1. Apr 17, 20267mo ago

    CVE-2026-40342 disclosed for Firebird plugin loader RCE

    CVE-2026-40342 was disclosed as a Firebird vulnerability in which improper path handling in the external engine plugin loader lets an authenticated user with CREATE FUNCTION privileges load an arbitrary shared library. Successful exploitation can execute code as the Firebird server operating system account.

  2. Apr 17, 20267mo ago

    GitHub Security Advisories publishes CVE-2026-28224 disclosure

    GitHub Security Advisories received and published CVE-2026-28224 on April 17, 2026, documenting a network-accessible null pointer dereference in Firebird's CryptCallback handling. The flaw allows an unauthenticated attacker to crash vulnerable Firebird servers.

  3. Apr 17, 20267mo ago

    Firebird releases 5.0.4, 4.0.7, and 3.0.14 to fix two vulnerabilities

    Firebird released versions 5.0.4, 4.0.7, and 3.0.14 to address two security flaws: a path traversal and arbitrary file write issue leading to remote code execution, and a null pointer dereference in CryptCallback that can cause denial of service. The fixes apply to all affected versions prior to those releases.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?See real exploitation activity behind this advisory so you can triage it against everything else in the queue.
Prioritize This Patch
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.