FirebirdSQL Firebird up to 3.0.12/4.0.5/5.0.2 XDR Message null pointer dereference

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.0$0-$5k0.00

Summaryinfo

A vulnerability was found in FirebirdSQL Firebird up to 3.0.12/4.0.5/5.0.2. It has been rated as problematic. Affected by this issue is some unknown functionality of the component XDR Message Handler. This manipulation causes null pointer dereference. The identification of this vulnerability is CVE-2025-54989. It is possible to initiate the attack remotely. There is no exploit available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability was found in FirebirdSQL Firebird up to 3.0.12/4.0.5/5.0.2. It has been declared as problematic. Affected by this vulnerability is an unknown function of the component XDR Message Handler. The manipulation with an unknown input leads to a null pointer dereference vulnerability. The CWE definition for the vulnerability is CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. As an impact it is known to affect availability. The summary by CVE is:

Firebird is a relational database. Prior to versions 3.0.13, 4.0.6, and 5.0.3, there is an XDR message parsing NULL pointer dereference denial-of-service vulnerability in Firebird. This specific flaw exists within the parsing of xdr message from client. It leads to NULL pointer dereference and DoS. This issue has been patched in versions 3.0.13, 4.0.6, and 5.0.3.

It is possible to read the advisory at github.com. This vulnerability is known as CVE-2025-54989 since 08/04/2025. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. The technical details are unknown and an exploit is not publicly available.

The vulnerability scanner Nessus provides a plugin with the ID 254445 (Debian dla-4282 : firebird-dev - security update), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 3.0.13, 4.0.6 or 5.0.3 eliminates this vulnerability. Applying the patch 169da595f8693fc1a65a79c741724b1bc8db9f25 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (254445) and CERT Bund (WID-SEC-2025-1857). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Affected

  • Firebird Firebird

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.0
VulDB Meta Temp Score: 6.0

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 7.5
NVD Vector: 🔒

CNA Base Score: 5.3
CNA Vector (GitHub_M): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Null pointer dereference
CWE: CWE-476 / CWE-404
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Yes

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 254445
Nessus Name: Debian dla-4282 : firebird-dev - security update

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Firebird 3.0.13/4.0.6/5.0.3
Patch: 169da595f8693fc1a65a79c741724b1bc8db9f25

Timelineinfo

08/04/2025 CVE reserved
08/15/2025 +11 days Advisory disclosed
08/15/2025 +0 days VulDB entry created
08/26/2025 +11 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: 8554
Status: Confirmed

CVE: CVE-2025-54989 (🔒)
GCVE (CVE): GCVE-0-2025-54989
GCVE (VulDB): GCVE-100-320299
CERT Bund: WID-SEC-2025-1857 - Firebird: Mehrere Schwachstellen

Entryinfo

Created: 08/15/2025 18:21
Updated: 08/26/2025 04:54
Changes: 08/15/2025 18:21 (68), 08/18/2025 12:05 (7), 08/19/2025 03:32 (1), 08/22/2025 08:03 (11), 08/26/2025 04:54 (2)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!