CVE-2025-24975
Firebird Database Segfault and Encryption Key Vulnerability
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.
INFO
Published Date :
Aug. 15, 2025, 3:15 p.m.
Last Modified :
Aug. 22, 2025, 3 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | HIGH | [email protected] | ||||
CVSS 3.1 | HIGH | [email protected] |
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-24975
.
URL | Resource |
---|---|
https://github.com/FirebirdSQL/firebird/commit/658abd20449f72097fbbce57e8e6ae42ff837fb6 | Patch |
https://github.com/FirebirdSQL/firebird/issues/8429 | Issue Tracking |
https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-fx9r-rj68-7p69 | Mitigation Vendor Advisory |
https://www.vicarius.io/vsociety/posts/cve-2025-24975-detect-vulnerable-firebird | Exploit Third Party Advisory |
https://www.vicarius.io/vsociety/posts/cve-2025-24975-mitigate-firebird-vulnerability | Exploit Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-24975
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-24975
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-24975
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-24975
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Aug. 22, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:firebirdsql:firebird:*:*:*:*:*:*:*:* versions from (including) 5.0.0 up to (including) 5.0.3 *cpe:2.3:a:firebirdsql:firebird:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (including) 4.0.7 Added Reference Type GitHub, Inc.: https://github.com/FirebirdSQL/firebird/commit/658abd20449f72097fbbce57e8e6ae42ff837fb6 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/FirebirdSQL/firebird/issues/8429 Types: Issue Tracking Added Reference Type GitHub, Inc.: https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-fx9r-rj68-7p69 Types: Mitigation, Vendor Advisory Added Reference Type CVE: https://www.vicarius.io/vsociety/posts/cve-2025-24975-detect-vulnerable-firebird Types: Exploit, Third Party Advisory Added Reference Type CVE: https://www.vicarius.io/vsociety/posts/cve-2025-24975-mitigate-firebird-vulnerability Types: Exploit, Third Party Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Aug. 20, 2025
Action Type Old Value New Value Added Reference https://www.vicarius.io/vsociety/posts/cve-2025-24975-detect-vulnerable-firebird Added Reference https://www.vicarius.io/vsociety/posts/cve-2025-24975-mitigate-firebird-vulnerability -
New CVE Received by [email protected]
Aug. 15, 2025
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L Added CWE CWE-754 Added Reference https://github.com/FirebirdSQL/firebird/commit/658abd20449f72097fbbce57e8e6ae42ff837fb6 Added Reference https://github.com/FirebirdSQL/firebird/issues/8429 Added Reference https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-fx9r-rj68-7p69