Skip to main content

Firebird EUVDEUVD-2026-23496

| CVE-2026-40342 CRITICAL
Path Traversal (CWE-22)
2026-04-17 GitHub_M
9.9
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain database credentials
  2. Delivery
    Verify CREATE FUNCTION privilege
  3. Exploit
    Place malicious shared library on filesystem
  4. Install
    Execute CREATE FUNCTION with traversal ENGINE parameter
  5. C2
    Trigger library load and initialization
  6. Execute
    Execute arbitrary code as server process
  7. Impact
    Establish 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

firebird < 3.0.14
firebird 5.0.0, < 5.0.4
firebird 4.0.0, < 4.0.7

Affected Packages

euvd firebird fix: 3.0.14, 4.0.7, 5.0.4

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

Vendor (GitHub_M) PRIMARY 9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
SUSE CRITICAL

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Patch released
Apr 27, 2026 - 14:28 nvd
Patch available
CVSS changed
Apr 17, 2026 - 20:22 NVD
10.0 (CRITICAL) 9.9 (CRITICAL)
Patch available
Apr 17, 2026 - 20:16 EUVD
CVE Published
Apr 17, 2026 - 19:22 nvd
CRITICAL 9.9

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.1%
Top 77% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2013-2492 MEDIUM POC
6.8 Mar 15

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

CVE-2025-24975 HIGH POC
7.1 Aug 15

Firebird is a relational database. Rated high severity (CVSS 7.1), this vulnerability is remotely exploitable. Public ex

CVE-2016-1569 MEDIUM POC
6.5 Jan 13

FireBird 2.5.5 allows remote authenticated users to cause a denial of service (daemon crash) by using service manager to

CVE-2017-6369 HIGH
8.8 Mar 24

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

CVE-2014-9323 MEDIUM POC
5.0 Dec 16

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

CVE-2026-28224 HIGH
8.2 Apr 17

Null pointer dereference in Firebird SQL server causes remote denial-of-service when unauthenticated attackers send malf

CVE-2026-27890 HIGH
8.2 Apr 17

Remote denial-of-service in Firebird database server versions prior to 5.0.4, 4.0.7, and 3.0.14 allows unauthenticated n

CVE-2026-35215 HIGH
7.5 Apr 17

Firebird database server crashes via crafted slice packet exploiting zero-length SDL descriptor validation flaw. Remote

CVE-2026-34232 HIGH
7.5 Apr 17

Remote denial-of-service in Firebird Database Server versions prior to 5.0.4, 4.0.7, and 3.0.14 allows unauthenticated n

CVE-2026-33337 HIGH
7.5 Apr 17

Buffer overflow in Firebird RDBMS allows remote unauthenticated attackers to crash database servers via malformed slice

CVE-2026-28212 HIGH
7.5 Apr 17

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

CVE-2025-65104 HIGH
7.5 Apr 17

Firebird 3.x client libraries leak adjacent memory contents when an application using the FB3 client connects to a Fireb

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy