Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessScan for exposed port 3050/tcp
-
DeliveryEstablish TCP connection to Firebird
-
ExploitSend crafted slice packet with oversized cstring
-
ExecutionTrigger buffer overflow in xdr_datum()
-
PersistCorrupt heap memory
-
ImpactCrash database process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions - remote unauthenticated exploitation against default configurations of Firebird servers. The vulnerability exists in the XDR slice packet deserialization path which processes incoming network traffic before authentication enforcement in affected code paths. Exploitation requires only network reachability to Firebird's listening port (default 3050/tcp). Attack complexity is low (AC:L) with no required user interaction (UI:N). The vulnerability is triggered by any client connection sending a malformed slice packet, regardless of whether the connection proceeds to successful authentication. Limiting factors: requires the Firebird port to be network-accessible to the attacker; firewall rules restricting access to trusted networks significantly reduce exposure but do not eliminate risk from insider threats or compromised trusted systems. |
| Impact | Real-world risk is HIGH for internet-exposed Firebird installations. CVSS 7.5 with AV:N/AC:L/PR:N indicates trivial remote exploitation against default configurations requiring no authentication or user interaction. The S:U (Unchanged scope) and C:N/I:N/A:H vector indicates denial-of-service is the primary confirmed impact, though memory corruption vulnerabilities often escalate to code execution upon further research. EPSS score unavailable limits probabilistic assessment, but the combination of network reachability, no authentication barrier, and publicly documented fix versions in GitHub releases significantly elevates exploitation likelihood. No CISA KEV listing suggests targeted rather than widespread exploitation to date, though the window between disclosure and patching represents peak risk. Public vendor advisory (GHSA-89mq-229g-x47p) with technical details enables proof-of-concept development. Organizations running Firebird on public networks or in multi-tenant environments face immediate risk; those with internal-only deployments behind authentication layers have reduced but non-zero exposure since the vulnerability may be reachable in some pre-auth protocol paths. The availability of patches across all three supported major versions (3.x, 4.x, 5.x) indicates vendor treats this as critical - three simultaneous security releases is uncommon for Firebird. |
| Exploit ScenarioDerived | An external attacker scans for Firebird databases exposed on port 3050/tcp. Upon discovering an unpatched server, they craft a malicious slice packet with an oversized cstring length field that exceeds the allocated buffer size declared in the slice descriptor. Sending this packet to the server triggers the buffer overflow in xdr_datum() during deserialization, corrupting heap memory and causing the Firebird process to crash. The attacker repeats this against production databases during business hours, causing sustained denial-of-service and data unavailability. In advanced scenarios, heap memory layout manipulation could potentially achieve code execution, though the primary documented impact is availability loss. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 17, 2026
Buffer overflow in Firebird RDBMS allows remote unauthenticated attackers to crash database servers via malformed slice packets. Affects Firebird versions prior to 5.0.4, 4.0.7, and 3.0.14 across all three maintained major release branches. The xdr_datum() deserialization function fails to validate cstring lengths against slice descriptor bounds during packet processing, enabling heap buffer overflow. CVSS 7.5 (High) with network attack vector and no authentication required. EPSS data not available, no KEV listing identified, but public vendor advisory and tagged releases confirm the issue and provide specific fix versions.
RemediationAI
Upgrade immediately to Firebird 5.0.4 (for 5.x deployments), 4.0.7 (for 4.x deployments), or 3.0.14 (for 3.x LTS deployments). Tagged releases confirming fixes available at https://github.com/FirebirdSQL/firebird/releases/tag/v5.0.4, v4.0.7, and v3.0.14 respectively. Test application compatibility in staging before production deployment, particularly for major version upgrades from 3.x to 4.x or 5.x. If immediate patching is not feasible, implement network-level compensating controls: restrict Firebird port 3050/tcp access using firewall rules to trusted IP ranges only, deploy behind VPN or bastion hosts for remote access, and enable connection authentication at the network perimeter. Note that application-layer authentication does not mitigate this pre-auth vulnerability. For containerized deployments, update base images and redeploy. Monitor Firebird error logs for unusual connection terminations or segmentation faults that may indicate exploitation attempts. These mitigations reduce attack surface but do not eliminate the vulnerability - patching remains the only complete remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Firebird is an open-source SQL relational database supporting ANSI SQL features, commonly deployed in embedded systems and enterprise applications. This vulnerability resides in the XDR (External Data Representation) deserialization layer that handles slice packets - protocol messages used for array data transfer between client and server. The xdr_datum() function processes incoming cstring data types but lacks bounds validation against the slice descriptor's declared buffer size. CWE-120 (Buffer Copy without Checking Size of Input) confirms this is a classic heap overflow condition where attacker-controlled length values can cause memcpy or similar operations to write beyond allocated memory. The slice packet protocol operates at the database wire protocol level, processed before authentication in some code paths, enabling pre-authentication exploitation. Firebird's architecture uses a multi-threaded server model where such memory corruption can affect process stability and potentially adjacent memory structures.
Know when Firebird gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
Firebird is an open-source relational database management system. In versions prior to 5.0.4, 4.0.7 and 3.0.14, when deserializing a slice packet, the xdr_datum() function does not validate that a cstring length conforms to the slice descriptor bounds, allowing a cstring longer than the allocated buffer to overflow it. An unauthenticated attacker can exploit this by sending a crafted packet to the server, potentially causing a crash or other security impact. This issue has been fixed in versions 5.0.4, 4.0.7 and 3.0.14.
Executive ViewAI
Firebird RDBMS contains a critical remote buffer overflow vulnerability (CVE-2026-33337) in packet processing that enables unauthenticated attackers to crash database servers without credentials. Organizations running Firebird 3.0.x, 4.0.x, or 5.0.x prior to the patched versions face immediate service disruption risk, directly impacting data availability and application continuity for any systems relying on these databases.
Vendor-released patch: Firebird 5.0.4, 4.0.7, or 3.0.14. No interim mitigations reduce exploitation risk; patching is mandatory. As temporary containment only: restrict Firebird network exposure to trusted internal networks and implement strict firewall rules limiting remote access to the database port, but this does not prevent exploitation by internal or adjacent network actors.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Stack-based buffer overflow in Firebird 2.1.3 through 2.1.5 before 18514, and 2.5.1 through 2.5.3 before 26623, on Windo
Firebird is a relational database. Rated high severity (CVSS 7.1), this vulnerability is remotely exploitable. Public ex
FireBird 2.5.5 allows remote authenticated users to cause a denial of service (daemon crash) by using service manager to
Remote code execution in Firebird RDBMS versions prior to 5.0.4, 4.0.7, and 3.0.14 allows authenticated users with CREAT
Insufficient checks in the UDF subsystem in Firebird 2.5.x before 2.5.7 and 3.0.x before 3.0.2 allow remote authenticate
The xdr_status_vector function in Firebird before 2.1.7 and 2.5.x before 2.5.3 SU1 allows remote attackers to cause a de
Null pointer dereference in Firebird SQL server causes remote denial-of-service when unauthenticated attackers send malf
Remote denial-of-service in Firebird database server versions prior to 5.0.4, 4.0.7, and 3.0.14 allows unauthenticated n
Firebird database server crashes via crafted slice packet exploiting zero-length SDL descriptor validation flaw. Remote
Remote denial-of-service in Firebird Database Server versions prior to 5.0.4, 4.0.7, and 3.0.14 allows unauthenticated n
Remote unauthenticated denial of service in Firebird SQL database server versions prior to 6.0.0/5.0.4/4.0.7/3.0.14 allo
Firebird 3.x client libraries leak adjacent memory contents when an application using the FB3 client connects to a Fireb
Same weakness CWE-120 – Classic Buffer Overflow
View allSame technique Buffer Overflow
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| openSUSE Leap 15.6 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Fixed |
| openSUSE Leap 15.3 | Fixed |
| openSUSE Leap 15.4 | Fixed |
| openSUSE Leap 15.5 | Fixed |
EUVD-2026-23482
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB