Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-20452

The read_MSAT_body function in ole.c in libxls 1.4.0 has an invalid free that allows attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted file, because of inconsistent memory management (new versus free) in ole2_read_header in ole.c.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-20452
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 09:54 UTC · Revision 1

Source evidence

CVE-2018-20452

core-osv · Original source

Published 25 Dec 2018, 17:29 UTC

The read_MSAT_body function in ole.c in libxls 1.4.0 has an invalid free that allows attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted file, because of inconsistent memory management (new versus free) in ole2_read_header in ole.c.

osv:CVE-2018-20452
Complete source record
{
  "id": "b7eaa385dd46ec2714e0d6c2dd310f9fb3d0e8afe5998e160f967b8a79820664",
  "url": "https://osv.dev/vulnerability/CVE-2018-20452",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-20452",
    "summary": "The read_MSAT_body function in ole.c in libxls 1.4.0 has an invalid free that allows attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted file, because of inconsistent memory management (new versus free) in ole2_read_header in ole.c.",
    "evidence": "osv:CVE-2018-20452",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-20452",
      "aliases": [
        "CVE-2018-20452"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/libxls/libxls",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ab544df742cf50c730d1b6e46c66e44e3e42399f"
                },
                {
                  "last_affected": "ab544df742cf50c730d1b6e46c66e44e3e42399f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:libxls_project:libxls:1.4.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.4.0"
                      },
                      {
                        "last_affected": "1.4.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.4.0",
            "v1.4.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20452.json"
          }
        }
      ],
      "modified": "2026-10-20T10:48:20.714455443Z",
      "provider": "osv",
      "references": [
        "https://security.gentoo.org/glsa/202003-64",
        "https://github.com/evanmiller/libxls/issues/35"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-20452",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380290,
  "published_at": "2018-12-25T17:29:00.36+00:00"
}