{"id":"ghsa-ghsa-q7gf-2v9f-xq2p","seq":13099040,"kind":"advisory","title":"pymonocypher: argon2i_32 can overflow the heap on 32-bit builds when nb_blocks >= 2**22 (work area size wraps)","url":"https://github.com/advisories/GHSA-q7gf-2v9f-xq2p","permalink":"https://vulnpulse.app/items/ghsa-ghsa-q7gf-2v9f-xq2p","summary":"影響: pip:pymonocypher >= 4.0.2.4, < 4.0.3.6 → 4.0.3.6\nOn 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…","severity":"low","cvss":null,"techs":["python"],"cves":["CVE-2026-141548"],"tags":["GHSA-q7gf-2v9f-xq2p","pymonocypher"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-12-04T21:51:37.000Z","fetched_at":"2026-12-05T02:20:50.705Z"}