Segfault Vulnerability in Firebird 4.0 Due to Improper Connection Pool Management

firebird4.0 Updated 02 Oct 2025

Summary

15/08/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-24975: Firebird is a relational database. Affects firebird4.0 versions < 4.0.5.3140.ds6-17+deb13u1. Fixed in 4.0.5.3140.ds6-17+deb13u1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Firebird is a powerful open-source relational database management system known for its high performance and support for various SQL standards. It is widely used for building database applications and offers features such as stored procedures, triggers, and multi-version concurrency control. However, prior to specific snapshot versions, Firebird is vulnerable if the ExtConnPoolSize setting is not configured correctly, leading to potential server crashes and data access issues.

Vulnerability Detail

The vulnerability arises when the ExtConnPoolSize is not set to 0, allowing connections stored in the ExtConnPool to be improperly managed. If the CryptCallback interface is not verified during connection creation, it can lead to a segmentation fault (segfault) in the server process. This issue affects both encrypted and unencrypted databases, potentially allowing unauthorized access to sensitive data and causing server instability.

How To Fix

Minimum fixed version

4.0.5.3140.ds6-17+deb13u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade firebird4.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, set the ExtConnPoolSize to 0 in the firebird.conf configuration file. This can be done by adding or modifying the following line:

ExtConnPoolSize = 0

Conclusion

The Firebird 4.0 vulnerability poses a significant risk to database stability and security. It is crucial for users to update to the latest patched versions or apply the recommended workaround to mitigate potential issues. Regular monitoring for vulnerabilities using tools like Vulert can help maintain application security.

See every vulnerability recorded for firebird4.0 →

Share this vulnerability

FAQ

The vulnerability can lead to segmentation faults in the Firebird server, causing crashes and potential data access issues for both encrypted and unencrypted databases.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Check your application against this vulnerability using the Vulert playground without any signup.

Versions prior to snapshot 4.0.6.3183, 5.0.2.1610, and 6.0.0.609 are affected by this vulnerability.

Yes, the permanent fix is to update to the patched versions of Firebird as specified in the 'how to fix' section.

If immediate updating is not possible, implement the workaround by setting ExtConnPoolSize to 0 in the firebird.conf file.

Related vulnerabilities

Recent vulnerabilities recorded for firebird4.0.

How To Fix

Minimum fixed version

4.0.5.3140.ds6-17+deb13u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade firebird4.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback