CVE-2026-40342
published critical CVSS 3.1 · 10.0Firebird: Path Traversal + Arbitrary File Write Leads to Remote Code Execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FirebirdSQL | — | firebird< 3.0.14 · >= 4.0.0, < 4.0.7 · >= 5.0.0, < 5.0.4 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | SLE-15-SP7 | firebirdaarch64 | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | firebirdppc64le | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | firebirds390x | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | firebirdx86_64 | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | firebird-examplesaarch64 | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | firebird-examplesppc64le | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | firebird-exampless390x | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
Show 25 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP7 | firebird-examplesx86_64 | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | firebird-serveraarch64 | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | firebird-serverppc64le | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | firebird-servers390x | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | firebird-serverx86_64 | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | firebird-utilsaarch64 | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | firebird-utilsppc64le | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | firebird-utilss390x | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | firebird-utilsx86_64 | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | libfbclient-develaarch64 | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | libfbclient-develppc64le | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | libfbclient-devels390x | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | libfbclient-develx86_64 | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | libfbclient2aarch64 | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | libfbclient2ppc64le | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | libfbclient2s390x | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | libfbclient2x86_64 | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | libib_utilaarch64 | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | libib_utilppc64le | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | libib_utils390x | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | libib_utilx86_64 | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | libib_util-develaarch64 | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | libib_util-develppc64le | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | libib_util-devels390x | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
| SUSE / openSUSE | SLE-15-SP7 | libib_util-develx86_64 | Advisory build | 3.0.14.33856-150200.3.9.1 | SUSE-SU-2026:1868-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FirebirdSQL | firebird | < 3.0.14 (affected)>= 4.0.0, < 4.0.7 (affected)>= 5.0.0, < 5.0.4 (affected) | GitHub_M · cna |
Weaknesses
4- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-427 CWE-427: Uncontrolled Search Path Element
- CWE-73 CWE-73: External Control of File Name or Path
- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
4Provider assertions
2GitHub_M · cna
Firebird: Path Traversal + Arbitrary File Write Leads to Remote Code Execution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c295f1674489c26ab023ab2cba9585ff51dd16ecadf9e6d5636f1f2a453d4e6a
- Ingested
- 23 Sep 2026, 09:13:02 UTC
- Source record
- Official CVE record