CVE-2021-32559Mhammond Pywin32
Medium 6.5
Follow: this CVE · Mhammond · Mhammond Pywin32 We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- Yes
- Published
- Jul 6, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-190
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Pywin32.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pywin32 |
< 301 |
301 |
pip install "pywin32>=301" |
| PyPI | pywin32 |
< 301 |
301 |
pip install "pywin32>=301" |
Per OSV / GitHub Advisories (GHSA-hwfp-hg2m-9vr2, PYSEC-2021-112). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mhammond | pywin32 | < 301 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- github.com Release Notes Third Party Advisory