← Vulnerability feed

Vulnerability record · CVE-2026-40342 · published 17 April 2026

CVE-2026-40342: Firebirdsql firebird path traversal vulnerability

Firebirdsql · Firebird

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.

9.9 CVSS 3.1 Critical EPSS 0.85% · top 43.7% CWE-22 · Path traversalCWE-73 · CWE-73
9.9CVSS 3.1 base score
0.85%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 1 tagged exploit
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-40342 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2008-0467Firebirdsql firebird memory buffer overflow vulnerabilityStack-based buffer overflow in Firebird before 2.0.4, and 2.1.x before 2.1.0 RC1, might allow remote attackers to execute arbitrary code via a long u…EPSS 6.4%10.0CVE-2007-4992Firebirdsql firebird memory buffer overflow vulnerabilityStack-based buffer overflow in the process_packet function in fbserver.exe in Firebird SQL 2.0.2 allows remote attackers to execute arbitrary code vi…EPSS 7.7%10.0CVE-2007-5245Firebirdsql firebird memory buffer overflow vulnerabilityMultiple stack-based buffer overflows in Firebird LI 1.5.3.4870 and 1.5.4.4910, and WI 1.5.3.4870 and 1.5.4.4910, allow remote attackers to execute a…EPSS 8.9%10.0CVE-2007-5246Firebirdsql firebird memory buffer overflow vulnerabilityMultiple stack-based buffer overflows in Firebird LI 2.0.0.12748 and 2.0.1.12855, and WI 2.0.0.12748 and 2.0.1.12855, allow remote attackers to execu…EPSS 6.6%10.0CVE-2007-3181Bakbone netvault vulnerabilityBuffer overflow in fbserver.exe in Firebird SQL 2 before 2.0.1 allows remote attackers to execute arbitrary code via a large p_cnct_count value in a …EPSS 13%10.0CVE-2001-0008Borland software interbase vulnerabilityBackdoor account in Interbase database server allows remote attackers to overwrite arbitrary files using stored procedures.EPSS 13%8.8CVE-2025-24975Firebirdsql firebird vulnerabilityFirebird is a relational database. Prior to snapshot versions 4.0.6.3183, 5.0.2.1610, and 6.0.0.609, Firebird is vulnerable if ExtConnPoolSize is not…EPSS 0.52%8.8CVE-2017-11509Firebirdsql firebird sql injection vulnerabilityAn authenticated remote attacker can execute arbitrary code in Firebird SQL Server versions 2.5.7 and 3.0.2 by executing a malformed SQL statement.EPSS 6.2%

Source: NIST National Vulnerability Database (record CVE-2026-40342), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.