Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain database credentials
-
DeliveryVerify CREATE FUNCTION privilege
-
ExploitPlace malicious shared library on filesystem
-
InstallExecute CREATE FUNCTION with traversal ENGINE parameter
-
C2Trigger library load and initialization
-
ExecuteExecute arbitrary code as server process
-
ImpactEstablish persistence or lateral movement
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Authenticated database access with CREATE FUNCTION privilege is required. The attacker must possess valid Firebird credentials (username/password or trusted authentication) and either hold a role that includes CREATE FUNCTION permission or compromise an account with this privilege, which is typically restricted to database administrators and application service accounts in production environments. Additionally, the attacker needs a method to place a malicious shared library file on the server's filesystem at a predictable path accessible to the Firebird server process, achieved through separate file upload vulnerabilities, write access to shared directories like /tmp, or pre-existing web shells. The vulnerability affects default Firebird configurations where external engine plugin functionality is enabled. Network access to the Firebird service port (default 3050/tcp) is required for remote exploitation, though local authenticated users can exploit without network exposure. No user interaction beyond the attacker's authenticated session is needed. |
| Impact | Real-world risk is HIGH for exposed Firebird installations despite requiring authentication (PR:L). The CVSS 10.0 score accurately reflects severity: network-accessible (AV:N), low complexity (AC:L), scope change enabling full system compromise (S:C), and immediate code execution without user interaction (UI:N). However, exploitation is gated by two meaningful prerequisites: the attacker must possess valid database credentials AND have CREATE FUNCTION privileges, which are typically restricted to DBAs or application service accounts in properly configured deployments. No CISA KEV listing suggests exploitation has not reached mass-scanning campaigns, but the simplicity of the attack (AC:L) and availability of proof-of-concept code via the GitHub security advisory make weaponization trivial for targeted attacks. Organizations exposing Firebird to untrusted networks or sharing credentials broadly face immediate risk. The three-year version spread (3.0.x, 4.0.x, 5.0.x affected) indicates large vulnerable install base. SSVC assessment: exploitation status unclear from available data, technical impact total (code execution as server process), automatable once credentials obtained. Priority should be IMMEDIATE for internet-facing instances, HIGH for internal deployments with untrusted authenticated users. |
| Exploit ScenarioDerived | An attacker with valid credentials to a Firebird database server obtains CREATE FUNCTION privileges through either legitimate role assignment or by compromising an application service account. The attacker crafts a SQL statement like CREATE FUNCTION malicious RETURNS INTEGER BY VALUE ENTRY_POINT 'func' ENGINE '../../../tmp/malware' where the ENGINE clause contains path traversal sequences pointing to a malicious shared library they previously uploaded to a world-writable directory (/tmp, /var/tmp) or a web-accessible path. Upon execution, Firebird's plugin loader resolves the traversal to load /tmp/malware.so, immediately executing its initialization code as the firebird server user before any validation occurs, granting shell access and persistence on the database host. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 17, 2026
Remote code execution in Firebird RDBMS versions prior to 5.0.4, 4.0.7, and 3.0.14 allows authenticated users with CREATE FUNCTION privileges to execute arbitrary code as the database server process through path traversal in the external engine plugin loader. The vulnerability stems from insufficient input validation (CWE-22) when concatenating user-supplied engine names into filesystem paths, enabling attackers to load malicious shared libraries from arbitrary locations. With CVSS 10.0 and scope change (S:C), successful exploitation grants full system compromise beyond database boundaries. EPSS data not provided, no CISA KEV listing identified, indicating targeted rather than widespread exploitation at time of analysis. Vendor-released patches available across all affected major versions.
RemediationAI
Upgrade immediately to Firebird 5.0.4 (https://github.com/FirebirdSQL/firebird/releases/tag/v5.0.4), 4.0.7 (https://github.com/FirebirdSQL/firebird/releases/tag/v4.0.7), or 3.0.14 (https://github.com/FirebirdSQL/firebird/releases/tag/v3.0.14) depending on your major version branch. These releases include input validation fixes that sanitize ENGINE parameter values and restrict plugin loading to designated directories. If immediate patching is not feasible, implement defense-in-depth controls: revoke CREATE FUNCTION privileges from all non-administrative accounts through GRANT/REVOKE commands, restricting this capability to a minimal set of trusted DBAs (note: this breaks applications that dynamically create UDFs and requires code changes). Configure firewall rules or network segmentation to block direct network access to Firebird ports (default 3050/tcp) from untrusted networks, forcing access through application tiers that do not expose CREATE FUNCTION capabilities (trade-off: does not mitigate insider threats or compromised application accounts). Enable Firebird's audit logging to monitor CREATE FUNCTION statements for anomalous ENGINE values containing path traversal patterns. No workaround fully mitigates the vulnerability without patching.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Firebird's external engine plugin architecture allows database functions to invoke code from dynamically loaded shared libraries (.so/.dll files). The plugin loader accepts user-controlled ENGINE parameter values during CREATE FUNCTION statements and constructs filesystem paths by string concatenation without proper sanitization. Path traversal vulnerability (CWE-22) occurs because the loader fails to strip directory separators (../, ../../) or validate that the resulting path stays within intended plugin directories. When loading the attacker-specified library, the operating system executes initialization routines (_init sections, DllMain, or constructor functions) before Firebird performs module validation, creating a pre-validation code execution window. The affected CPE (cpe:2.3:a:firebirdsql:firebird) covers all deployment modes of Firebird RDBMS. The scope change metric (S:C) reflects that library code executes with the server's OS privileges, breaking out of the database's security context to impact the underlying system.
Know when Firebird gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
4DescriptionCVE.org
Firebird is an open-source relational database management system. In versions prior to 5.0.4, 4.0.7 and 3.0.14, the external engine plugin loader concatenates a user-supplied engine name into a filesystem path without filtering path separators or .. components. An authenticated user with CREATE FUNCTION privileges can use a crafted ENGINE name to load an arbitrary shared library from anywhere on the filesystem via path traversal. The library's initialization code executes immediately during loading, before Firebird validates the module, achieving code execution as the server's OS account. This issue has been fixed in versions 5.0.4, 4.0.7 and 3.0.14.
Executive ViewAI
Firebird RDBMS versions 3.0.x, 4.0.x, and 5.0.x prior to patched releases contain a critical remote code execution vulnerability affecting authenticated database administrators with function creation privileges. Successful exploitation allows attackers to execute arbitrary code with database server process permissions, potentially compromising the entire system and connected infrastructure. Organizations running unpatched Firebird instances face complete system compromise risk and must prioritize immediate patching.
Apply vendor patch. Interim mitigation if patching is delayed: (1) Revoke CREATE FUNCTION privilege from all non-administrative accounts immediately; (2) Restrict database network access to trusted internal networks only using firewall rules; (3) Monitor database audit logs for CREATE FUNCTION statements and external library load attempts; (4) Run Firebird database process with least-privilege service account; (5) Implement application-level input validation for any user-controllable function names. These controls reduce but do not eliminate risk-patching remains mandatory.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Stack-based buffer overflow in Firebird 2.1.3 through 2.1.5 before 18514, and 2.5.1 through 2.5.3 before 26623, on Windo
Firebird is a relational database. Rated high severity (CVSS 7.1), this vulnerability is remotely exploitable. Public ex
FireBird 2.5.5 allows remote authenticated users to cause a denial of service (daemon crash) by using service manager to
Insufficient checks in the UDF subsystem in Firebird 2.5.x before 2.5.7 and 3.0.x before 3.0.2 allow remote authenticate
The xdr_status_vector function in Firebird before 2.1.7 and 2.5.x before 2.5.3 SU1 allows remote attackers to cause a de
Null pointer dereference in Firebird SQL server causes remote denial-of-service when unauthenticated attackers send malf
Remote denial-of-service in Firebird database server versions prior to 5.0.4, 4.0.7, and 3.0.14 allows unauthenticated n
Firebird database server crashes via crafted slice packet exploiting zero-length SDL descriptor validation flaw. Remote
Remote denial-of-service in Firebird Database Server versions prior to 5.0.4, 4.0.7, and 3.0.14 allows unauthenticated n
Buffer overflow in Firebird RDBMS allows remote unauthenticated attackers to crash database servers via malformed slice
Remote unauthenticated denial of service in Firebird SQL database server versions prior to 6.0.0/5.0.4/4.0.7/3.0.14 allo
Firebird 3.x client libraries leak adjacent memory contents when an application using the FB3 client connects to a Fireb
Same weakness CWE-22 – Path Traversal
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| openSUSE Leap 15.6 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Fixed |
| openSUSE Leap 15.3 | Fixed |
| openSUSE Leap 15.4 | Fixed |
| openSUSE Leap 15.5 | Fixed |
EUVD-2026-23496
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB