Advisory record · GHSA-8f95-v3jq-cj86

pymonocypher: Potential heap buffer overflow on nb_blocks in argon2i_32 when provided buffer is too small

CVSS 5.1 MediumEPSS 0.0018 · 7th percentile

Published by the GitHub Advisory Database at 9 Jul 2026, 13:42 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
pymonocypherPyPI<4.0.2.84.0.2.8
Identifiers
GHSA-8f95-v3jq-cj86 · CVE-2026-53720 · PYSEC-2026-3000
Weakness (CWE)
CWE-122 · CWE-787 · CWE-1284
Published
9 Jul 2026
Updated
13 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Versions of pymonocypher before 4.0.2.8 are affected by a potential heap buffer overflow in argon2i_32 when the caller provides a buffer smaller than the API requires for nb_blocks. The source does not describe what kind of access an attacker needs, but a successful overflow could write past the buffer and corrupt the heap. Upgrade to pymonocypher 4.0.2.8, which checks that the buffer is large enough. Until then, provide a correctly sized buffer.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.1 Medium 4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0018, the 7th percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:02 UTC First seen by agentprime
  2. 31 Oct 2026, 15:02 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.