CVE-2026-53720
published medium CVSS 4.0 · 5.1pymonocypher: Potential heap buffer overflow on nb_blocks in argon2i_32 when provided buffer is too small
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jetperch | — | pymonocypher< 4.0.2.8 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jetperch | pymonocypher | < 4.0.2.8 (affected) | GitHub_M · cna |
Weaknesses
3- 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
References
3Provider assertions
2GitHub_M · cna
pymonocypher: Potential heap buffer overflow on nb_blocks in argon2i_32 when provided buffer is too small
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 78653d4a136df46480006cb6ce5155008604386fa3ebda6af7604846555e22b9
- Ingested
- 23 Sep 2026, 09:19:58 UTC
- Source record
- Official CVE record