CVE-2026-33337

Firebird has a buffer overflow when parsing corrupted slice packets

State
Published
Severity
7.5 High
Published
Apr 17, 2026
Updated
Apr 17, 2026
Reserved
Mar 18, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HGitHub_M

Weaknesses

  • CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
  • CWE-502 Deserialization of Untrusted Data

Affected Products

ProductVersions
firebirdFirebirdSQL
  • >= 3.0.0, < 3.0.14Affected
  • >= 4.0.0, < 4.0.7Affected
  • >= 5.0.0, < 5.0.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.