CVE-2026-53720

Source
https://cve.org/CVERecord?id=CVE-2026-53720
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53720.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-53720
Aliases
Published
2026-09-03T15:30:06Z
Modified
2026-10-28T02:30:27Z
Severity
  • 5.1 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
pymonocypher: Potential heap buffer overflow on nb_blocks in argon2i_32 when provided buffer is too small
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-122",
        "CWE-1284",
        "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53720.json"
}
References

Affected packages

Git / github.com/jetperch/pymonocypher

Affected ranges

Type
GIT
Repo
https://github.com/jetperch/pymonocypher
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "4.0.2.8"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "90ff5b13b13b5673c372e188f482d8c172e6ab86"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "v4.0.2.8",
            "range": [
                {
                    "fixed": "896a6bdd527e1cbf351ebbdd2f513296b49a7f95"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

v0.*
v0.1.3
v0.1.4
v3.*
v3.1.0.0
v3.1.3.1
v3.1.3.2
v4.*
v4.0.2.1
v4.0.2.2
v4.0.2.3
v4.0.2.4
v4.0.2.5
v4.0.2.6
v4.0.2.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53720.json"