← 취약점·업데이트

낮음취약점 권고Python

pymonocypher: argon2i_32 can overflow the heap on 32-bit builds when nb_blocks >= 2**22 (work area size wraps)

영향

패키지영향받는 버전수정 버전
pip:pymonocypher>= 4.0.2.4, < 4.0.3.64.0.3.6

On builds where size_t is 32 bits, argon2i_32() computes the size of the Argon2 work area as nb_blocks 1024 in size_t, and the product wraps for nb_blocks >= 222. malloc is then asked for a much smaller buffer (8 KiB for nb_blocks = 222 + 8), while crypto_argon2() still fills about nb_blocks blocks of 1 KiB (it rounds the count down to a multiple of 4). Whenever that small allocation succeeds, the result is a heap buffer overflow (write). The three such cases I ran ended in a segmentation fault…

GitHub Advisory Database에서 읽기

2026. 12. 05. 오전 06:51, GitHub Advisory Database에서 "pymonocypher: argon2i_32 can overflow the heap on 32-bit builds when nb_blocks >= 2**22 (work area size wraps)"을(를) 게시했습니다 (유형: 취약점 권고). 심각도는 "낮음"(low)입니다. 관련 기술: Python. CVE: CVE-2026-141548.