CVE-2025-24975Firebird Non-Authorized Access to Encrypted Database Using Execute Statement on External
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | firebird3.0 | Fix pending | UBUNTU-CVE-2025-24975 | |
| Ubuntu 26.04 | firebird3.0 | Under investigation | UBUNTU-CVE-2025-24975 | |
| Ubuntu 26.04 | firebird4.0 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | firebird3.0 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-24975 | |
| Ubuntu 25.10 | firebird4.0 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-24975 | |
| Ubuntu 24.04 | firebird3.0 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | firebird3.0 | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | firebird3.0 | Fix pending | UBUNTU-CVE-2025-24975 | |
| Debian 14 | firebird4.0 | Fixed | 4.0.6.3221.ds6-1 | DEBIAN-CVE-2025-24975 |
| Debian 13 | firebird4.0 | Fixed | 4.0.5.3140.ds6-17+deb13u1 | DEBIAN-CVE-2025-24975 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- FirebirdSQL firebird: affected: < 6.0.0.609, < 5.0.2.1610, < 4.0.6.3183
References
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.