Firebird SQL vulnerability allows remote denial of service via XDR message handling
A NULL pointer dereference in Firebird's XDR message processing can be triggered by remote attackers to crash the database service.
Summary
A security vulnerability has been identified in the Firebird SQL database, affecting multiple Ubuntu Long Term Support (LTS) releases. The flaw stems from improper handling of specific External Data Representation (XDR) messages sent by clients.
An unauthenticated remote attacker can exploit this issue by sending specially crafted network traffic to the database server. This triggers a NULL pointer dereference, which results in a service crash and subsequent denial of service (DoS). Fixes are currently provided through Ubuntu Pro via ESM Apps for versions 18.04, 20.04, 22.04, and 24.04 LTS.
Technical details of CVE-2025-54989
- Defect Class: The vulnerability is a NULL pointer dereference caused by incorrect logic when processing XDR messages.
- Attack Vector: The flaw is exploitable remotely via network traffic, requiring no prior authentication to trigger the crash.
- Affected Components: The issue impacts core Firebird 3.0 packages, including firebird3.0-server, firebird3.0-server-core, firebird3.0-common, and the libfbclient2 client library.
- Mitigation: Security patches are distributed through Ubuntu Pro's Expanded Security Maintenance (ESM) for all major LTS releases from 18.04 through 24.04.
Why it matters
System administrators running Firebird SQL on Ubuntu LTS environments must utilize Ubuntu Pro to access these critical security updates. Because the exploit can be triggered remotely, unpatched database servers are vulnerable to service disruptions that can impact application availability.
Original reference: ubuntu.com →