Skip to content

CVE-2025-24975 Firebird Non-Authorized Access to Encrypted Database Using Execute Statement on External

HighCVSS 8.8 EPSS 0.63%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

Firebird is a relational database. Prior to snapshot versions 4.0.6.3183, 5.0.2.1610, and 6.0.0.609, Firebird is vulnerable if ExtConnPoolSize is not set equal to 0. If connections stored in ExtConnPool are not verified for presence and suitability of the CryptCallback interface is used when created versus what is available could result in a segfault in the server process. Encrypted databases, accessed by execute statement on external, may be accessed later by an attachment missing a key to that database. In a case when execute statement are chained, segfault may happen. Additionally, the segfault may affect unencrypted databases. This issue has been patched in snapshot versions 4.0.6.3183, 5.0.2.1610, and 6.0.0.609 and point releases 4.0.6 and 5.0.2. A workaround for this issue involves setting ExtConnPoolSize equal to 0 in firebird.conf.

Upgrade path

5 packages: 3 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/firebird3.0(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/firebird3.0(Ubuntu 26.10) All versions No fix listed No fix yet
debian/firebird4.0(Debian 13) < 4.0.5.3140.ds6-17+deb13u1; = 4.0.5.3140.ds6-17 4.0.5.3140.ds6-17+deb13u1 Fixed
debian/firebird4.0(Debian 14) < 4.0.6.3221.ds6-1; = 4.0.5.3140.ds6-17; = 4.0.5.3140.ds6-17+m68k 4.0.6.3221.ds6-1 Fixed
firebirdsql firebird = < 4.0.6.3183; = < 5.0.2.1610; = < 6.0.0.609; >= 4.0.0, < 4.0.6 +1 more 4.0.6, 5.0.2 Fixed

Affected products

ProductAffected versionsFixed in
debian/firebird4.0(Debian:13) < 4.0.5.3140.ds6-17+deb13u1 4.0.5.3140.ds6-17+deb13u1
debian/firebird4.0(Debian:13) = 4.0.5.3140.ds6-17 No fix listed
debian/firebird4.0(Debian:14) < 4.0.6.3221.ds6-1 4.0.6.3221.ds6-1
debian/firebird4.0(Debian:14) = 4.0.5.3140.ds6-17 No fix listed
debian/firebird4.0(Debian:14) = 4.0.5.3140.ds6-17+m68k No fix listed
firebirdsql firebird = < 6.0.0.609 No fix listed
firebirdsql firebird = < 5.0.2.1610 No fix listed
firebirdsql firebird = < 4.0.6.3183 No fix listed
ubuntu/firebird3.0(Ubuntu:26.04) All versions No fix listed
ubuntu/firebird3.0(Ubuntu:26.10) All versions No fix listed
firebirdsql firebird >= 4.0.0, < 4.0.6 4.0.6
firebirdsql firebird >= 5.0.0, < 5.0.2 5.0.2

References