---
schema_version: '1.0'
id: security-20260812-b78236
title: 'CVE-2026-39892: Cryptography vulnerable to buffer overflow if non-contiguous
  buffers were passed to APIs'
url: https://osv.dev/vulnerability/GHSA-p423-j2cm-9vmq
url_hash: b782360d304cc9872614769fae791d1d9891a5462f40a2d2de285815c3aeedc7
canonical_url: https://osv.dev/vulnerability/GHSA-p423-j2cm-9vmq
source: osv:ghsa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-39892
- GHSA-p423-j2cm-9vmq
- severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- cryptography
- PyPI
lang: en
published_at: '2026-04-08T19:23:08Z'
fetched_at: '2026-08-12T16:00:04.341570Z'
updated_at: '2026-11-04T10:49:57Z'
status: published
content_hash: e80434272ced97492d5adf6afe5b95bdc5c6c1b5588f3c25a773827a5a453a31
content_changed_at: '2026-11-04T10:43:48.856012Z'
license_note: full
summary: Cryptography vulnerable to buffer overflow if non-contiguous buffers were
  passed to APIs
summary_source: rss
summary_en: Cryptography vulnerable to buffer overflow if non-contiguous buffers were
  passed to APIs
summary_omitted_reason: null
redistribution: true
keywords_en:
- APIs
- buffer
- buffers
- cryptography
- cve
- CVE-2026-114616
- CVE-2026-39892
- GHSA-p423-j2cm-9vmq
- library vulnerability
- non-contiguous
- overflow
- passed
- PyPI
- severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- software security
- vulnerable
- were
entities_en:
- name: CVE-2026-114616
  type: UNKNOWN
topics_en:
- library vulnerability
- software security
numeric_facts: []
entities:
- name: CVE-2026-114616
  type: UNKNOWN
related_auto:
- name: Authlib
  type: UNKNOWN
  weight: 1.0
- name: GitLab Advisory Database
  type: UNKNOWN
  weight: 1.0
- name: CVSS
  type: UNKNOWN
  weight: 1.0
computed_at: '2026-11-04T10:49:27Z'
---

# CVE-2026-39892: Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs

## TL;DR
Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs

## Key Points
- cve / CVE-2026-39892 / GHSA-p423-j2cm-9vmq / severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H / cryptography / PyPI

## Details
**Severity:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
**Advisory:** GHSA-p423-j2cm-9vmq (CVE-2026-39892)

**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:

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

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

**References:**
- https://github.com/pyca/cryptography/security/advisories/GHSA-p423-j2cm-9vmq
- https://nvd.nist.gov/vuln/detail/CVE-2026-39892
- https://github.com/pyca/cryptography/commit/c09d38ae52de7d95fe683b7a7c496f5751616f27
- https://github.com/pyca/cryptography/commit/622d672e429a7cff836a23c5903683dbec1901f5
- https://access.redhat.com/errata/RHSA-2026:43651
- https://access.redhat.com/errata/RHSA-2026:43670
- https://access.redhat.com/errata/RHSA-2026:43851
- https://access.redhat.com/errata/RHSA-2026:43853
- https://access.redhat.com/errata/RHSA-2026:43854
- https://access.redhat.com/errata/RHSA-2026:43855

_Data: OSV.dev (upstream: ghsa) — https://osv.dev/vulnerability/GHSA-p423-j2cm-9vmq_

## Source
元記事: [CVE-2026-39892: Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs](https://osv.dev/vulnerability/GHSA-p423-j2cm-9vmq) — published 2026-04-08T19:23:08Z
