GHSA-p423-j2cm-9vmq

Suggest an improvement
Source
https://github.com/advisories/GHSA-p423-j2cm-9vmq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-p423-j2cm-9vmq/GHSA-p423-j2cm-9vmq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-p423-j2cm-9vmq
Aliases
  • CVE-2026-39892
Downstream
Related
Published
2026-04-08T19:23:08Z
Modified
2026-04-09T20:14:21.681961053Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N CVSS Calculator
Summary
Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs
Details

If a non-contiguous buffer was passed to APIs which accepted Python buffers (e.g. Hash.update()), this could lead to buffer overflows. For example:

h = Hash(SHA256())
b.update(buf[::-1])

would read past the end of the buffer on Python >3.11

Database specific
{
    "cwe_ids": [
        "CWE-119"
    ],
    "nvd_published_at": "2026-04-08T21:17:01Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2026-04-08T19:23:08Z"
}
References

Affected packages

PyPI / cryptography

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
45.0.0
Fixed
46.0.7

Affected versions

45.*
45.0.0
45.0.1
45.0.2
45.0.3
45.0.4
45.0.5
45.0.6
45.0.7
46.*
46.0.0
46.0.1
46.0.2
46.0.3
46.0.4
46.0.5
46.0.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-p423-j2cm-9vmq/GHSA-p423-j2cm-9vmq.json"