CVE-2025-24975
Firebird Non-Authorized Access to Encrypted Database Using Execute Statement on External
Mitigation
- Upgrade firebird to 4.0.6.3183 or later.
Who should check
- Anyone running FirebirdSQL firebird < 6.0.0.609; < 5.0.2.1610; < 4.0.6.3183
Vulnerability facts
- Affected
- FirebirdSQL firebird < 6.0.0.609; < 5.0.2.1610; < 4.0.6.3183
- Fixed in
- FirebirdSQL firebird 6.0.0.609, FirebirdSQL firebird 5.0.2.1610, FirebirdSQL firebird 4.0.6.3183
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, login needed
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: Low
- EPSS
- 1.04% chance of exploitation in 30 days (percentile 63, 2026-11-26)
- CWE
- CWE-754
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| FirebirdSQL firebird | < 6.0.0.609; < 5.0.2.1610; < 4.0.6.3183 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-24975. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-24975.md Affected: FirebirdSQL firebird < 6.0.0.609; < 5.0.2.1610; < 4.0.6.3183 Fixed in: FirebirdSQL firebird 6.0.0.609, FirebirdSQL firebird 5.0.2.1610, FirebirdSQL firebird 4.0.6.3183 Steps: 1. Search this machine and project for FirebirdSQL firebird: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Exploits and PoCs
FAQ
Is CVE-2025-24975 being exploited?
There is no confirmed exploitation: CVE-2025-24975 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.04% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-24975?
High: CVSS 7.1 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2025-24975?
FirebirdSQL firebird < 6.0.0.609; < 5.0.2.1610; < 4.0.6.3183.
Is there a fix for CVE-2025-24975?
Yes. Fixed in FirebirdSQL firebird 6.0.0.609, FirebirdSQL firebird 5.0.2.1610, FirebirdSQL firebird 4.0.6.3183. Upgrade firebird to 4.0.6.3183 or later.
How do I check if I'm affected by CVE-2025-24975?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.