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
{
"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"
}