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.
Conclusion & alert: CVE-2026-40342 is rated High Exploit Risk (62.6/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.08%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-18 | — | 0.08% | — |
Full EPSS history (1 record total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.9 | 3.1 | CRITICAL |
|
3.1 | 6.0 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-40342 not yet assigned priority: Debian including 2 source packages (firebird3.0, firebird4.0), 8 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 4, resolved 4. | https://security-tracker.debian.org/tracker/CVE-2026-40342 |
suse
|
critical | — | https://www.suse.com/security/cve/CVE-2026-40342/ |
ubuntu
|
medium | CVE-2026-40342 medium priority: Ubuntu including 2 source packages (firebird3.0, firebird4.0), 12 status rows across 7 suites (bionic, focal, jammy, noble, questing, resolute, upstream): needs-triage 8, DNE 2, released 2. | https://ubuntu.com/security/CVE-2026-40342 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| firebirdsql | firebird | < 3.0.14 | cpe:2.3:a:firebirdsql:firebird:*:*:*:*:*:*:*:* |
| firebirdsql | firebird | >= 4.0.0, < 4.0.7 | cpe:2.3:a:firebirdsql:firebird:*:*:*:*:*:*:*:* |
| firebirdsql | firebird | >= 5.0.0, < 5.0.4 | cpe:2.3:a:firebirdsql:firebird:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/FirebirdSQL/firebird/releases/tag/v3.0.14 | Release Notes |
| https://github.com/FirebirdSQL/firebird/releases/tag/v4.0.7 | Release Notes |
| https://github.com/FirebirdSQL/firebird/releases/tag/v5.0.4 | Release Notes |
| https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-7pxc-h3rv-r257 | Vendor Advisory Exploit |