mediumVulnerability
CVE-2026-53720
### Impact 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. ### Patches Fixed in 4.0.2.8, which now verifies that nb_blocks is large enough. See [90ff5b1](https://github.com/jetperch/pymonocypher/commit/90ff5b13b13b5673c372e188f482d8c172e6ab86). ### Workarounds Provide a correctly sized nb_blocks buffer. pymonocypher thanks Haris (hextheshadow) for the vulnerability report, details, and recommended fix.
Properties
- ghsa_id
- GHSA-8f95-v3jq-cj86
- severity
- medium
- summary
- pymonocypher: Potential heap buffer overflow on nb_blocks in argon2i_32 when provided buffer is too small
- cve_id
- CVE-2026-53720
- is_ghsa_only
- false
- ghsa_published
- 2026-07-09T13:42:46Z
- source_url
- https://github.com/advisories/GHSA-8f95-v3jq-cj86
- ghsa_updated
- 2026-07-09T13:42:47Z
Related Entities (6)
VULNERABLE_TO (1)
←[Software]pip/pymonocypher
AFFECTS (1)
→[Software]pip/pymonocypher
HAS_WEAKNESS (3)
→[Weakness]Improper Validation of Specified Quantity in Input
→[Weakness]Out-of-bounds Write
→[Weakness]Heap-based Buffer Overflow
REPORTED_BY (1)
→[Source]GitHub Advisory Database
Explore deeper with Ninja Signal's threat intelligence graph