Pymonocypher
Monthly
Heap-based out-of-bounds write in pymonocypher's argon2i_32 wrapper can crash the calling process when the extension is compiled with a 32-bit size_t and the caller passes an attacker-influenced nb_blocks value of 2**22 or more. Affected releases are 4.0.2.4 through 4.0.3.5; all 64-bit wheels published on PyPI are immune, so exposure is confined to sdist builds on i386/armhf and the piwheels linux_armv6l and linux_armv7l wheels, and only where the application neither controls nor caps nb_blocks below 2**22. Impact is availability-only (process crash): the vendor advisory ships a local reproducer script that produces a SIGSEGV on 32-bit builds, and the flaw is fixed in 4.0.3.6, which converts the overflow into a MemoryError.
Heap-based out-of-bounds write in pymonocypher's argon2i_32 wrapper can crash the calling process when the extension is compiled with a 32-bit size_t and the caller passes an attacker-influenced nb_blocks value of 2**22 or more. Affected releases are 4.0.2.4 through 4.0.3.5; all 64-bit wheels published on PyPI are immune, so exposure is confined to sdist builds on i386/armhf and the piwheels linux_armv6l and linux_armv7l wheels, and only where the application neither controls nor caps nb_blocks below 2**22. Impact is availability-only (process crash): the vendor advisory ships a local reproducer script that produces a SIGSEGV on 32-bit builds, and the flaw is fixed in 4.0.3.6, which converts the overflow into a MemoryError.