CVE-2026-53720 pymonocypher: Potential heap buffer overflow on nb_blocks in argon2i_32 when provided buffer is too small
MediumCVSS 5.1
EPSS 0.18%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
pymonocypher uses cython to wrap the Monocypher C library. Prior to version 4.0.2.8, the argon2i_32 implementation does not check the nb_blocks size. If the caller does not provide a sufficiently large buffer based on the API contract, then argon2i_32 will write past the end of the buffer and possibly corrupt the heap. This issue has been patched in version 4.0.2.8.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi pymonocypher(PyPI) | < 4.0.2.8; = 0.1.1; = 0.1.2; = 0.1.3 +16 more | 4.0.2.8 | Fixed |
| jetperch pymonocypher | = < 4.0.2.8 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi pymonocypher(PyPI) | < 4.0.2.8 | 4.0.2.8 |
| pypi pymonocypher(PyPI) | = 0.1.1 | No fix listed |
| pypi pymonocypher(PyPI) | = 0.1.2 | No fix listed |
| pypi pymonocypher(PyPI) | = 0.1.3 | No fix listed |
| pypi pymonocypher(PyPI) | = 0.1.4 | No fix listed |
| pypi pymonocypher(PyPI) | = 3.1.0.0 | No fix listed |
| pypi pymonocypher(PyPI) | = 3.1.3.0 | No fix listed |
| pypi pymonocypher(PyPI) | = 3.1.3.1 | No fix listed |
| pypi pymonocypher(PyPI) | = 3.1.3.2 | No fix listed |
| pypi pymonocypher(PyPI) | = 3.1.3.3 | No fix listed |
| pypi pymonocypher(PyPI) | = 3.1.3.4 | No fix listed |
| pypi pymonocypher(PyPI) | = 3.1.3.5 | No fix listed |
| pypi pymonocypher(PyPI) | = 3.1.3.6 | No fix listed |
| pypi pymonocypher(PyPI) | = 4.0.2.1 | No fix listed |
| pypi pymonocypher(PyPI) | = 4.0.2.2 | No fix listed |
| pypi pymonocypher(PyPI) | = 4.0.2.3 | No fix listed |
| pypi pymonocypher(PyPI) | = 4.0.2.4 | No fix listed |
| pypi pymonocypher(PyPI) | = 4.0.2.5 | No fix listed |
| pypi pymonocypher(PyPI) | = 4.0.2.6 | No fix listed |
| pypi pymonocypher(PyPI) | = 4.0.2.7 | No fix listed |
| jetperch pymonocypher | = < 4.0.2.8 | No fix listed |
References
- https://github.com/jetperch/pymonocypher/security/advisories/GHSA-8f95-v3jq-cj86 vendor-advisory
- https://github.com/jetperch/pymonocypher/commit/90ff5b13b13b5673c372e188f482d8c172e6ab86 patch
- github.com product
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- https://github.com/jetperch/pymonocypher/releases/tag/v4.0.2.8
- ENISA EUVD EUVD-2026-70531 third-party-advisory