Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-33035

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-33035
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:37 UTC · Revision 1

Source evidence

CVE-2021-33035

core-osv · Original source

Published 23 Sept 2021, 08:15 UTC

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

osv:CVE-2021-33035
Complete source record
{
  "id": "34510fa7f201a3888509992dbe49db5863d1c340ade993de03bbca8b995e4c23",
  "url": "https://osv.dev/vulnerability/CVE-2021-33035",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-33035",
    "summary": "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",
    "evidence": "osv:CVE-2021-33035",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-33035",
      "aliases": [
        "CVE-2021-33035"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/openoffice",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "efddaef0151af3be16078cc4d88c6bae0f911e56"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "efddaef0151af3be16078cc4d88c6bae0f911e56"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "AOO4110-GA",
            "AOO419-RC1",
            "AOO419-GA",
            "AOO418-GA",
            "AOO417-RC1",
            "AOO417"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-33035.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-33035-3fb9aac6",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "45440162389957604255905626603529725335",
                    "82794610105820116152049446941536408597",
                    "40167250557948147078495878996189024268",
                    "133700379638411507478702946716100400938",
                    "78365274679638878271582837390878776979",
                    "217258185725820225212674243758634207925",
                    "283932002540297624423756719311894332540",
                    "297642843435210793017015161435800743485",
                    "153954521404724754754150410033609149036",
                    "93474004402775400763911581455261501553",
                    "322579729294804470535741586061496447802",
                    "234161497663727760423625011231240358393",
                    "56062917593758919020730051025526737696",
                    "200932527314486895578222458250744060095",
                    "73761637768157053331883096598133565632",
                    "82303946915808837002010022923458055283",
                    "228052144930456730516468604916613275444",
                    "32491747081090546966856460526540454168",
                    "26518110829097771682509386403588971771",
                    "108705830419736848296487843220296220288",
                    "322620412825127284419718248507934372604",
                    "22849185902928543298743083567200064340",
                    "141200556960911424079889547810026952757",
                    "113977105453717791388582809297004217981",
                    "88123067284022145914367178739182219696",
                    "37013020818938368722363180972387590289",
                    "295770265560803284074927758796754221569",
                    "84780506411245086990659320246074865509",
                    "31247447469434762941345524595846044583",
                    "207751486673006366522872568041971226213",
                    "101177528008346083174779734491471253404",
                    "83615503289189908884667653529916818283",
                    "302096215218770842920828877264433013060",
                    "236848417179958912422380003131203912743",
                    "62081239596769060008475564235358740769",
                    "107825009946586193107959869852069273222",
                    "155418050046632633598909590799913231491",
                    "215252938652314607477228508979868176684",
                    "130863961729606335576582176332974225841",
                    "180404493269925590028280214915742332127",
                    "34747285126304207347122271983104937406",
                    "229736913416517543703909486386893672558"
                  ]
                },
                "source": "https://github.com/apache/openoffice/commit/efddaef0151af3be16078cc4d88c6bae0f911e56",
                "target": {
                  "file": "main/connectivity/source/drivers/dbase/DTable.cxx"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-33035-4642bc14",
                "digest": {
                  "length": 9352,
                  "function_hash": "80645839608673722005866249499851469281"
                },
                "source": "https://github.com/apache/openoffice/commit/efddaef0151af3be16078cc4d88c6bae0f911e56",
                "target": {
                  "file": "main/connectivity/source/drivers/dbase/DTable.cxx",
                  "function": "ODbaseTable::UpdateBuffer"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-33035-d56306b1",
                "digest": {
                  "length": 4638,
                  "function_hash": "92078909980497325635747126443034244286"
                },
                "source": "https://github.com/apache/openoffice/commit/efddaef0151af3be16078cc4d88c6bae0f911e56",
                "target": {
                  "file": "main/connectivity/source/drivers/dbase/DTable.cxx",
                  "function": "ODbaseTable::fetchRow"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:04:47Z"
          }
        }
      ],
      "modified": "2026-10-20T14:04:47.068296372Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread.html/r1ab8532e11f41bc7ca057ac7e39cab25f2e1f9d5f4929788ae21c8b9%40%3Cusers.openoffice.apache.org%3E",
        "https://lists.apache.org/thread.html/r929c0c6a53cad64a1007b878342756badbb05ddd9b8f31a6d0b424cb%40%3Cannounce.apache.org%3E",
        "https://github.com/apache/openoffice/commit/efddaef0151af3be16078cc4d88c6bae0f911e56#diff-ea66e734dd358922aba12ad4ba39c96bdc6cbde587d07dbc63d04daa0a30e90f"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:apache:openoffice:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "apache:openoffice",
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "4.1.10"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "4.1.10"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-33035",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388532,
  "published_at": "2021-09-23T08:15:06.747+00:00"
}