Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pymonocypher
  4. ›
  5. CVE-2026-53720

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

July 9, 2026

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.

References

  • github.com/advisories/GHSA-8f95-v3jq-cj86
  • github.com/jetperch/pymonocypher/commit/90ff5b13b13b5673c372e188f482d8c172e6ab86
  • github.com/jetperch/pymonocypher/security/advisories/GHSA-8f95-v3jq-cj86
  • nvd.nist.gov/vuln/detail/CVE-2026-53720

Code Behaviors & Features

Detect and mitigate CVE-2026-53720 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.0.2.8

Fixed versions

  • 4.0.2.8

Solution

Upgrade to version 4.0.2.8 or above.

Impact 5.1 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-122: Heap-based Buffer Overflow
  • CWE-1284: Improper Validation of Specified Quantity in Input
  • CWE-787: Out-of-bounds Write

Source file

pypi/pymonocypher/CVE-2026-53720.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:18:46 +0000.