CVE-2026-53720
Received Received - Intake

Buffer Overflow in PyMonocypher Argon2i_32 Implementation

Vulnerability report for CVE-2026-53720, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-03

Last updated on: 2026-09-03

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-03
Last Modified
2026-09-03
Generated
2026-09-03
AI Q&A
2026-09-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
jetperch pymonocypher to 4.0.2.8 (exc)
jetperch pymonocypher 4.0.2.8

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1284 The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.
CWE-122 A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a heap buffer overflow in the pymonocypher library's argon2i_32 implementation. The issue occurs because the function does not validate the nb_blocks size parameter. If the buffer provided is too small, the function writes past its end, potentially corrupting the heap.

Detection Guidance

Check the installed version of pymonocypher using pip show pymonocypher. If the version is below 4.0.2.8, the system is vulnerable. Review code using argon2i_32 to ensure nb_blocks is validated against config.nb_lanes * 8.

Impact Analysis

This vulnerability could allow an attacker to corrupt memory, leading to crashes, data corruption, or potentially arbitrary code execution. It may also enable information disclosure if sensitive data is exposed in memory.

Mitigation Strategies

Upgrade pymonocypher to version 4.0.2.8 or later using pip install --upgrade pymonocypher. If upgrading is not possible, ensure buffers passed to argon2i_32 are at least 8 times the number of lanes.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-53720. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart