Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-32559

An integer overflow exists in pywin32 prior to version b301 when adding an access control entry (ACE) to an access control list (ACL) that would cause the size to be greater than 65535 bytes. An attacker who successfully exploited this vulnerability could crash the vulnerable process.

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

Source evidence

CVE-2021-32559

core-osv · Original source

Published 6 Jul 2021, 12:15 UTC

An integer overflow exists in pywin32 prior to version b301 when adding an access control entry (ACE) to an access control list (ACL) that would cause the size to be greater than 65535 bytes. An attacker who successfully exploited this vulnerability could crash the vulnerable process.

osv:CVE-2021-32559
Complete source record
{
  "id": "54dcc8756b83dbda3469495c058e626d78e7d829eebf588ade969f72816f7d5f",
  "url": "https://osv.dev/vulnerability/CVE-2021-32559",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-32559",
    "summary": "An integer overflow exists in pywin32 prior to version b301 when adding an access control entry (ACE) to an access control list (ACL) that would cause the size to be greater than 65535 bytes. An attacker who successfully exploited this vulnerability could crash the vulnerable process.",
    "evidence": "osv:CVE-2021-32559",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-32559",
      "aliases": [
        "CVE-2021-32559",
        "GHSA-hwfp-hg2m-9vr2",
        "PYSEC-2021-112"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mhammond/pywin32",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "ee666896defbe2ded8ef68b65db3bd9c0d5c057e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mhammond:pywin32:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "301"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "b300",
            "b228",
            "b227",
            "b226",
            "b225",
            "b224",
            "b223",
            "b222",
            "b221",
            "b220",
            "b219",
            "218.5",
            "b218",
            "b217",
            "cvs2hg",
            "b216",
            "b215",
            "b214",
            "b213",
            "py3k-merge-complete",
            "b212",
            "b211",
            "b209",
            "b208",
            "b207",
            "b206",
            "b205",
            "b204",
            "b203",
            "b201",
            "b200",
            "b153",
            "b141",
            "ActivePython210",
            "b139",
            "b135",
            "ActivePython202",
            "b134",
            "b132",
            "b131",
            "b130",
            "b127",
            "b126"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32559.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:42.548001034Z",
      "provider": "osv",
      "references": [
        "https://github.com/fireeye/Vulnerability-Disclosures/blob/master/FEYE-2021-0017/FEYE-2021-0017.md",
        "https://github.com/mhammond/pywin32/pull/1701",
        "https://github.com/mhammond/pywin32/releases",
        "https://github.com/mhammond/pywin32/issues/1700"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-32559",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385950,
  "published_at": "2021-07-06T12:15:21.887+00:00"
}