Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-40342

published critical CVSS 3.1 · 10.0

Firebird: Path Traversal + Arbitrary File Write Leads to Remote Code Execution

Published
17 Apr 2026, 19:22:46 UTC
Updated
22 Apr 2026, 13:56:49 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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 / vendorReleasePackage / productPublisher statusFixed buildSource
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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

1

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.

Affected vendor and product assertions
VendorProductVersion statusSource
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') (GitHub_M · cna)
  • CWE-427 CWE-427: Uncontrolled Search Path Element (GitHub_M · cna)
  • CWE-73 CWE-73: External Control of File Name or Path (GitHub_M · cna)
  • CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection') (GitHub_M · cna)

References

4

Provider assertions

2

GitHub_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

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected