StraitOfVuln
Latest / CVE-2026-40342

CVE-2026-40342

CriticalCVSS 9.9 (v3.1)Analyzed
CVE.org ↗NVD ↗Vendor advisory ↗

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.

Details

CVE ID
CVE-2026-40342
Published / updated
17 Apr 2026, 20:16 UTC · last modified 26 Oct 2026, 22:10 UTC
Severity
CRITICAL
CVSS score
9.9 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H · Attack vector: Network
Affected vendor
Affected products
Firebird
Affected versions
Firebird: < 3.0.14
Firebird: ≥ 4.0.0, < 4.0.7
Firebird: ≥ 5.0.0, < 5.0.4
Fixed versions
firebird 3.0.14, firebird 4.0.7, firebird 5.0.4
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.70% probability of exploitation in the next 30 days · 55% percentile (02 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (firebird 3.0.14, firebird 4.0.7, firebird 5.0.4) per the vendor advisory.
Source (CNA)
security-advisories@github.com