# CVE-2021-32559: Integer overflow in pywin32

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/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): 1.73%, higher than 78% of CVEs (2026-12-01)
- Published: 2021-07-06T11:35:05.000Z
- Modified: 2026-06-17T03:53:10.577Z
- Also known as: GHSA-hwfp-hg2m-9vr2, PYSEC-2021-112
- Weaknesses: CWE-190
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pywin32 (PyPI): before 301
- mhammond pywin32: before 301

## Every score

- GitHub: CVSS:3.1 6.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:N/A:P`

## References

- <https://github.com/mhammond/pywin32/releases> (release-notes, third-party-advisory, web)
- <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://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)

## Sources

- CVE List: [CVE-2021-32559](https://www.cve.org/CVERecord?id=CVE-2021-32559), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-hwfp-hg2m-9vr2](https://github.com/advisories/GHSA-hwfp-hg2m-9vr2), CC-BY-4.0, modified 2025-03-27
- NVD: [CVE-2021-32559](https://nvd.nist.gov/vuln/detail/CVE-2021-32559), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-112](https://osv.dev/vulnerability/PYSEC-2021-112), CC-BY-4.0, modified 2023-11-08

---

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