CVE-2025-24975

NameCVE-2025-24975
DescriptionFirebird 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5992-1
Debian Bugs1111322

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
firebird3.0 (PTS)bullseye3.0.7.33374.ds4-2fixed
bullseye (security)3.0.7.33374.ds4-2+deb11u1fixed
bookworm3.0.11.33637.ds4-2fixed
trixie3.0.12.ds7-13fixed
forky, sid3.0.13.ds7-2fixed
firebird4.0 (PTS)trixie4.0.5.3140.ds6-17vulnerable
trixie (security)4.0.5.3140.ds6-17+deb13u1fixed
forky, sid4.0.6.3221.ds6-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
firebird3.0source(unstable)(not affected)
firebird4.0sourcetrixie4.0.5.3140.ds6-17+deb13u1DSA-5992-1
firebird4.0source(unstable)4.0.6.3221.ds6-11111322

Notes

- firebird3.0 <not-affected> (Vulnerable code introduced later)
https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-fx9r-rj68-7p69
https://github.com/FirebirdSQL/firebird/issues/8429
https://github.com/FirebirdSQL/firebird/commit/658abd20449f72097fbbce57e8e6ae42ff837fb6

Search for package or bug name: Reporting problems