p PatchFirst

CVE-2026-53720

CVE-2026-53720 · pymonocypher: Potential heap buffer overflow on nb_blocks in argon2i_32 when provided buffer is too small

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 5.1 · Medium · EPSS 0.2% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • pymonocypher

    Versions
    • < 4.0.2.8: Affected

    No fix published

  • pymonocypher PyPI

    Versions
    • 0.1.1
    • 0.1.2
    • 0.1.3
    • 0.1.4
    • 3.1.0.0
    • 3.1.3.0
    • 3.1.3.1
    • 3.1.3.2
    • 3.1.3.3
    • 3.1.3.4
    • 3.1.3.5
    • 3.1.3.6
    • 4.0.2.1
    • 4.0.2.2
    • 4.0.2.3
    • 4.0.2.4
    • 4.0.2.5
    • 4.0.2.6
    • 4.0.2.7
    Affected ranges
    • ECOSYSTEM: < 4.0.2.8

    Update to 4.0.2.8

Original sources

Check your server →