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

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/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): 50.4%, higher than 98% of CVEs (2026-12-01)
- Published: 2021-09-23T08:10:10.000Z
- Modified: 2026-06-17T03:54:03.030Z
- Weaknesses: CWE-120
- Assigned by: apache

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

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache OpenOffice: from Apache OpenOffice up to 4.1.10; from OpenOffice.org up to 3.4
- apache openoffice: up to 4.1.10

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/apache/openoffice/commit/efddaef0151af3be16078cc4d88c6bae0f911e56#diff-ea66e734dd358922aba12ad4ba39c96bdc6cbde587d07dbc63d04daa0a30e90f> (patch, third-party-advisory)
- <https://lists.apache.org/thread.html/r929c0c6a53cad64a1007b878342756badbb05ddd9b8f31a6d0b424cb%40%3Cannounce.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r1ab8532e11f41bc7ca057ac7e39cab25f2e1f9d5f4929788ae21c8b9%40%3Cusers.openoffice.apache.org%3E> (mailing-list)
- <http://www.openwall.com/lists/oss-security/2021/10/07/3> (mailing-list, patch, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-33035 · Whole record: https://cve.day/CVE-2021-33035.json · Rebuilt by cve.day 2026-11-25T22:58:04.128Z
