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.
Severity (CVSS)
| Base score | 5.1 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-122 — CWE-122: Heap-based Buffer Overflow
- CWE-787 — CWE-787: Out-of-bounds Write
- CWE-1284 — CWE-1284: Improper Validation of Specified Quantity in Input
Affected products
| Vendor | Product | Versions |
|---|---|---|
| jetperch | pymonocypher | < 4.0.2.8 |
References
- https://github.com/jetperch/pymonocypher/security/advisories/GHSA-8f95-v3jq-cj86 (x_refsource_CONFIRM)
- https://github.com/jetperch/pymonocypher/commit/90ff5b13b13b5673c372e188f482d8c172e6ab86 (x_refsource_MISC)
- https://github.com/jetperch/pymonocypher/releases/tag/v4.0.2.8 (x_refsource_MISC)
Generated from the official CVE List on 04 Sep 2026 07:42 UTC.