{"id":"CVE-2023-41038","summary":"Server crash when using specific form of SET BIND statement","details":"Firebird is a relational database. Versions 4.0.0 through 4.0.3 and version 5.0 beta1 are vulnerable to a server crash when a user uses a specific form of SET BIND statement. Any non-privileged user with minimum access to a server may type a statement with a long `CHAR` length, which causes the server to crash due to stack corruption. Versions 4.0.4.2981 and 5.0.0.117 contain fixes for this issue. No known workarounds are available.","aliases":["GHSA-6fv8-8rwr-9692"],"modified":"2026-08-12T03:51:21.484181502Z","published":"2024-03-20T14:22:50.484Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"4.0.0"},{"fixed":"4.0.4.2981"},{"introduced":"5.0beta1"},{"fixed":"5.0.0.1176"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"GitHub_M","cwe_ids":["CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/41xxx/CVE-2023-41038.json"},"references":[{"type":"WEB","url":"https://firebirdsql.org/en/snapshot-builds"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/41xxx/CVE-2023-41038.json"},{"type":"ADVISORY","url":"https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-6fv8-8rwr-9692"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-41038"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/firebirdsql/firebird","events":[{"introduced":"141bb5491d24cb363f03c5a0786a32f73a1faa5b"},{"fixed":"e5b3828354e1027d6533133e1bff74adc8b7aae5"}],"database_specific":{"cpe":"cpe:2.3:a:firebirdsql:firebird:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"4.0.0"},{"fixed":"4.0.3"},{"last_affected":"4.0.3"}],"source":["DESCRIPTION","CPE_RANGE"]}}],"versions":["v4.0.2","v4.0.1","v4.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-41038.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}