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.
CVE-2026-40342
This critical-severity CVE scores 9.9 under NVD CVSS v3. EPSS exploit probability: 0.1%, top 65% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.9
- EG Score
- 9.9(medium)
- EPSS
- 48.7%
- KEV
- Not listed
Published
April 17, 2026
Last Modified
April 27, 2026
Advisory Details (4)
Auto-updated Jul 12, 2026Path traversal when declaring external routine · Advisory · FirebirdSQL/firebird · GitHub
https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-7pxc-h3rv-r257v5.0.4
Patch available: FirebirdSQL/firebird v5.0.4
https://github.com/FirebirdSQL/firebird/releases/tag/v5.0.4Firebird 4.0.7
Patch available: FirebirdSQL/firebird v4.0.7
https://github.com/FirebirdSQL/firebird/releases/tag/v4.0.7Firebird 3.0.14
Patch available: FirebirdSQL/firebird v3.0.14
https://github.com/FirebirdSQL/firebird/releases/tag/v3.0.14Weakness Classification(4)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 9× in last 7d / 37× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 131 total refreshes for this CVE.
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-13 22:30 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 03:37 UTCEG score recompute
- 2026-06-14 23:24 UTCEG score recompute
- 2026-06-14 19:26 UTCEG score recompute
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 06:17 UTCEG score recompute
- 2026-06-12 02:26 UTCEG score recompute
- 2026-06-11 22:36 UTCEG score recompute
- 2026-06-11 18:46 UTCEG score recompute
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 19:51 UTCEG score recompute
- 2026-06-10 16:01 UTCEG score recompute
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 12:11 UTCEG score recompute
- 2026-06-10 08:21 UTCEG score recompute
- 2026-06-10 04:04 UTCEG score recompute
- 2026-06-10 00:14 UTCEG score recompute
- 2026-06-09 17:35 UTCEG score recompute
- 2026-06-09 13:45 UTCEG score recompute
- 2026-06-09 09:55 UTCEG score recompute
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 12:08 UTCEG score recompute
- 2026-06-08 08:12 UTCEG score recompute
- 2026-06-08 04:22 UTCEG score recompute
- 2026-06-08 00:32 UTCEG score recompute
- 2026-06-07 20:18 UTCEG score recompute
- 2026-06-07 16:28 UTCEG score recompute
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 12:38 UTCEG score recompute
- 2026-06-07 08:48 UTCEG score recompute
- 2026-06-07 04:57 UTCEG score recompute
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 06:32 UTCEG score recompute
- 2026-06-06 01:20 UTCEG score recompute
- 2026-06-05 22:47 UTCEPSS rescore
- 2026-06-05 12:38 UTCEG score recompute
- 2026-06-05 08:46 UTCEG score recompute
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-04 19:32 UTCEG score recompute
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 00:18 UTCEG score recompute
- 2026-06-03 20:27 UTCEG score recompute
- 2026-06-03 16:37 UTCEG score recompute
- 2026-06-02 21:28 UTCEG score recompute
- 2026-06-02 20:13 UTCEPSS rescore
- 2026-06-02 17:31 UTCEG score recompute
- 2026-06-02 13:40 UTCEG score recompute
- 2026-06-02 01:12 UTCEG score recompute
- 2026-06-01 21:21 UTCEG score recompute
- 2026-06-01 17:28 UTCEG score recompute
- 2026-06-01 13:52 UTCEPSS rescore
- 2026-06-01 13:52 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
Related CVEs(same CWE)
Same CWE
10 shownCWE-22 · CWE-94 · CWE-427
Frequently asked(5)
What is CVE-2026-40342?
When was CVE-2026-40342 disclosed?
Is CVE-2026-40342 actively exploited?
What is the CVSS score of CVE-2026-40342?
How do I remediate CVE-2026-40342?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-40342
Is Your Infrastructure Affected by CVE-2026-40342?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.