PT-2026-166255

CVE-2026-141548

·

Published

2026-12-02

·

Updated

2026-12-02

Description by

CVSS 3.1
3.3
Low
MetricsAV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Name of the Vulnerable Software and Affected Versions pymonocypher versions 4.0.2.4 through 4.0.3.5
Description The software uses Cython to wrap the Monocypher C library. In 32-bit builds, the argon2i 32 function within c monocypher.pyx performs a multiplication of the nb blocks variable by 1024 using a 32-bit size t. If nb blocks is 222 or greater, an integer wrap occurs, resulting in a smaller memory allocation for the work area. When this smaller allocation succeeds, the crypto argon2 function continues to fill blocks based on the original nb blocks value, leading to an out-of-bounds heap write that can crash the process. If the allocation fails, a MemoryError is raised. This issue requires a 32-bit build and an attacker-controlled nb blocks value that is not bounded below 222.
Recommendations Update to version 4.0.3.6. Restrict the nb blocks variable to a value below 2**22 to prevent the integer wrap.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-Q7GF-2V9F-XQ2P
Found an issue in the description? Have something to add? Feel free to write us 👾