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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-122",
"CWE-1284",
"CWE-787"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53720.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "4.0.2.8"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "90ff5b13b13b5673c372e188f482d8c172e6ab86"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v4.0.2.8",
"range": [
{
"fixed": "896a6bdd527e1cbf351ebbdd2f513296b49a7f95"
}
],
"source": "REFERENCES_TAG"
}
]
}