Echo: firebird4.0: security update to 4.0.5.3140.ds6-17+deb13u1+e1

critical Tenable Cloud Security Plugin ID 477746

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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)

Solution

Update the firebird4.0 library and its related packages to version 4.0.5.3140.ds6-17+deb13u1+e1 or later.

See Also

https://advisory.echohq.com/cve/CVE-2026-40342

Plugin Details

Severity: Critical

ID: 477746

Version: Revision 1.1

Type: Local

Published: 10/29/2026

Updated: 10/29/2026

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.5

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2026-40342

CVSS v3

Risk Factor: Critical

Base Score: 9.9

Temporal Score: 8.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/28/2026

Vulnerability Publication Date: 4/17/2026

Reference Information

CVE: CVE-2026-40342