Patchwire CVEs, their patch status, and feeds to follow them

CVE-2026-40342

Fixed in a distro release EPSS <1%CVSS 10.0

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 2026-04-17 · CVE record · OSV

Products: firebirdsql firebird

Distro releases

ReleasePackageFixed in
Debian 12firebird3.0no fix
Debian 13firebird3.0no fix
Debian 13firebird4.0no fix
Debian 14firebird3.03.0.14.ds7-1
Debian 14firebird4.04.0.7.3271.ds6-1
Ubuntu 18.04 LTSfirebird3.0no fix
Ubuntu 20.04 LTSfirebird3.0no fix
Ubuntu 22.04 LTSfirebird3.0no fix
Ubuntu 24.04 LTSfirebird3.0no fix
Ubuntu 25.10firebird3.0no fix
Ubuntu 25.10firebird4.0no fix
Ubuntu 26.04 LTSfirebird3.0no fix
Ubuntu 26.04 LTSfirebird4.0no fix
Ubuntu 26.10firebird3.0no fix
Ubuntu 26.10firebird4.0no fix