# CVE-2023-41038: Server crash when using specific form of SET BIND statement

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Published: 2024-03-20T14:22:50.484Z
- Modified: 2026-06-17T06:20:13.533Z
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- FirebirdSQL firebird: >= 4.0.0, < 4.0.4.2981; >= 5.0 beta1, < 5.0.0.1176; from 4.0.0 before 4.0.4.2981; from 5.0_beta1 before 5.0.0.1176; from 4.0.0 up to 4.0.3; 5.0

## References

- <https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-6fv8-8rwr-9692> (vendor-advisory)
- <https://firebirdsql.org/en/snapshot-builds> (product)

## Sources

- CVE List: [CVE-2023-41038](https://www.cve.org/CVERecord?id=CVE-2023-41038), CVE Terms of Use, modified 2024-08-13
- NVD: [CVE-2023-41038](https://nvd.nist.gov/vuln/detail/CVE-2023-41038), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-41038 · Whole record: https://cve.day/CVE-2023-41038.json · Rebuilt by cve.day 2026-11-25T22:58:33.373Z
