CVE-2025-24975 Details
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.
A vulnerability exists in Firebird database versions 4.0.0 prior to 4.0.6.3183, 5.0.0 through 5.0.2.1610, and 6.0.0 prior to 6.0.0.609. The issue arises when the external connection pool size is not set to zero, allowing connections to be stored without proper verification of the cryptographic callback interface. This can lead to a segmentation fault in the server process, especially when encrypted databases are accessed via chained execute statements. Additionally, encrypted databases may be accessed by an attachment lacking the necessary decryption key, and this segmentation fault can also affect unencrypted databases.
To address this vulnerability, users can update to Firebird versions 4.0.6.3183, 5.0.2.1610, or 6.0.0.609. If an immediate update is not possible, the ExtConnPoolSize parameter can be set to 0 in firebird.conf, which is the default value and mitigates the vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 15, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.vicarius.io/vsociety/posts/cve-2025-24975-detect-vulnerable-firebird | CVE | ExploitThird Party Advisory |
| https://www.vicarius.io/vsociety/posts/cve-2025-24975-mitigate-firebird-vulnerability | CVE | ExploitThird Party Advisory |
| https://github.com/FirebirdSQL/firebird/commit/658abd20449f72097fbbce57e8e6ae42ff837fb6 | [email protected] | Patch |
| https://github.com/FirebirdSQL/firebird/issues/8429 | [email protected] | Issue Tracking |
| https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-fx9r-rj68-7p69 | [email protected] | MitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-754 | Improper Check for Unusual or Exceptional Conditions | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| firebirdsql firebird | >= 4.0.0, < 4.0.6 >= 5.0.0, < 5.0.2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 9, 2025 | Reanalysis | [email protected] |
| Aug 22, 2025 | Initial Analysis | [email protected] |
| Aug 20, 2025 | CVE Modified | CVE |
| Aug 15, 2025 | New CVE Received | [email protected] |