# CVE-2025-24975: Firebird Non-Authorized Access to Encrypted Database Using Execute Statement on External

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-08-15T15:11:29.986Z
- Modified: 2026-06-17T08:59:54.780Z
- Weaknesses: CWE-754
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- FirebirdSQL firebird: < 6.0.0.609; < 5.0.2.1610; < 4.0.6.3183; from 4.0.0 before 4.0.6; from 5.0.0 before 5.0.2

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <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)
- <https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-fx9r-rj68-7p69> (mitigation, vendor-advisory)
- <https://github.com/FirebirdSQL/firebird/issues/8429> (issue-tracking)
- <https://github.com/FirebirdSQL/firebird/commit/658abd20449f72097fbbce57e8e6ae42ff837fb6> (patch)

## Sources

- CVE List: [CVE-2025-24975](https://www.cve.org/CVERecord?id=CVE-2025-24975), CVE Terms of Use, modified 2025-08-20
- NVD: [CVE-2025-24975](https://nvd.nist.gov/vuln/detail/CVE-2025-24975), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-24975 · Whole record: https://cve.day/CVE-2025-24975.json · Rebuilt by cve.day 2026-11-25T22:59:02.593Z
