{"id":"CVE-2026-33337","summary":"Firebird has a buffer overflow when parsing corrupted slice packets","details":"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.","aliases":["GHSA-89mq-229g-x47p"],"modified":"2026-07-08T08:12:26.844452482Z","published":"2026-04-17T18:48:47.953Z","related":["SUSE-SU-2026:1868-1"],"database_specific":{"cwe_ids":["CWE-120","CWE-502"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33337.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/FirebirdSQL/firebird/releases/tag/v3.0.14"},{"type":"WEB","url":"https://github.com/FirebirdSQL/firebird/releases/tag/v4.0.7"},{"type":"WEB","url":"https://github.com/FirebirdSQL/firebird/releases/tag/v5.0.4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33337.json"},{"type":"ADVISORY","url":"https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-89mq-229g-x47p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33337"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/firebirdsql/firebird","events":[{"introduced":"1767a517f9c99ec97160cacb452fdcfd83dca9be"},{"fixed":"463bae029a4426deff7e9bb08a8317aaa398c7c7"},{"introduced":"141bb5491d24cb363f03c5a0786a32f73a1faa5b"},{"fixed":"26f6881c9eac77c5e3166d209682c0ebe8dd07c0"},{"introduced":"af1546f15fa871b313ebcc7df1fd2df3c396c616"},{"fixed":"f6d83a28c009ab039ea40ffdb4ccc58f190dfbe6"}],"database_specific":{"cpe":"cpe:2.3:a:firebirdsql:firebird:*:*:*:*:*:*:*:*","source":["CPE_RANGE","REFERENCES"],"extracted_events":[{"introduced":"3.0.0"},{"fixed":"3.0.14"},{"introduced":"4.0.0"},{"fixed":"4.0.7"},{"introduced":"5.0.0"},{"fixed":"5.0.4"}]}}],"versions":["v3.0.13","v4.0.6","v5.0.3","v5.0.2","v3.0.12","v4.0.5","v5.0.1","v5.0.0","v4.0.4","v3.0.11","v4.0.3","v4.0.2","v3.0.10","v3.0.9","v4.0.1","v3.0.8","v4.0.0","R3_0_7","R3_0_6","R3_0_5","R3_0_4","R3_0_3","R3_0_2","R3_0_1","R3_0_0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33337.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}