Security mailing lists by PureSourceCode

CVE-2026-40342

CRITICAL 9.9CVSS 3.1

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.

Published
17 Apr 2026
Last modified
26 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-22
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD firebirdsql firebird
cpe:2.3:a:firebirdsql:firebird:*:*:*:*:*:*:*:*
< 3.0.14 3.0.14
NVD firebirdsql firebird
cpe:2.3:a:firebirdsql:firebird:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.0.7 4.0.7
NVD firebirdsql firebird
cpe:2.3:a:firebirdsql:firebird:*:*:*:*:*:*:*:*
>= 5.0.0, < 5.0.4 5.0.4

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 17 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.