CVE-2021-32559
MEDIUM 6.5CVSS 3.1Integer overflow in pywin32
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.
- Published
- 6 Jul 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-190
- Also known as
- GHSA-hwfp-hg2m-9vr2PYSEC-2021-112
- Sources
- NVDJSONOSV GHSA-hwfp-hg2m-9vr2JSONOSV PYSEC-2021-112JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mhammond | pywin32cpe:2.3:a:mhammond:pywin32:*:*:*:*:*:*:*:* |
< 301 | 301 |
| OSV | PyPI | pywin32 | < 301 | 301 |
References
- https://github.com/fireeye/Vulnerability-Disclosures/blob/master/FEYE-2021-0017/FEYE-2021-0017.md · Third Party Advisory, WEB
- https://github.com/mhammond/pywin32/issues/1700 · Patch, Third Party Advisory, WEB
- https://github.com/mhammond/pywin32/pull/1701 · Third Party Advisory, WEB
- https://github.com/mhammond/pywin32/releases · Release Notes, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-32559 · ADVISORY
- https://github.com/advisories/GHSA-hwfp-hg2m-9vr2 · ADVISORY
- https://github.com/mhammond/pywin32 · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/pywin32/PYSEC-2021-112.yaml · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 6 Jul 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Jul 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Aug 2021)