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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-09-23 · Modified: 2024-08-03
- Aliases: UBUNTU-CVE-2021-33035, DEBIAN-CVE-2021-33035
- Record: https://cvemate.com/vulnerability/CVE-2021-33035 · JSON: https://cvemate.com/vulnerability/CVE-2021-33035/json

## Description

```text
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
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 48.046%, percentile 98.885%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache openoffice: ≥ Apache OpenOffice, ≤ 4.1.10 \| ≥ OpenOffice.org, ≤ 3.4
- apache openoffice: ≤ 4.1.10
- debian libreoffice (Debian): \< 1:4.3.1-1
- ubuntu libreoffice (Ubuntu): \< 1:6.0.7-0ubuntu0.18.04.10

## 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>
- <https://ubuntu.com/security/CVE-2021-33035>
- <https://www.cve.org/CVERecord?id=CVE-2021-33035>
- <https://security-tracker.debian.org/tracker/CVE-2021-33035>

---

Data as of 2026-12-05T07:33:48.371Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
