cryptography has a buffer overflow if non-contiguous buffers were passed to APIs

Summary

CVECVE-2026-39892
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-04-08 21:17:01 UTC
Updated2026-07-10 12:16:46 UTC
Descriptioncryptography is a package designed to expose cryptographic primitives and recipes to Python developers. From 45.0.0 to before 46.0.7, if a non-contiguous buffer was passed to APIs which accepted Python buffers (e.g. Hash.update()), this could lead to buffer overflows. This vulnerability is fixed in 46.0.7.

Risk And Classification

Primary CVSS: v4.0 6.9 MEDIUM from [email protected]

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

EPSS: 0.006520000 probability, percentile 0.469580000 (date 2026-07-13)

Problem Types: CWE-119 | CWE-131 | CWE-119 CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer | CWE-131 Incorrect Calculation of Buffer Size


VersionSourceTypeScoreSeverityVector
4.0[email protected]Secondary6.9MEDIUMCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/C...
4.0CNADECLARED6.9MEDIUMCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
3.1[email protected]Primary9.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
3.1ADPCVSS7.3HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
3.10b0ca135-0b70-47e7-9f44-1890c2a1c46cSecondary7.3HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

CVSS v4.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Confidentiality
None
Integrity
None
Availability
Low
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Cryptography.io Cryptography All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Pyca Cryptography affected >= 45.0.0, < 46.0.7 Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.5 For RHEL 8 Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.5 For RHEL 9 Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.6 For RHEL 9 Not specified Not specified
ADP Red Hat Red Hat AI Inference Server 3.3 Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.6 Not specified Not specified
ADP Red Hat Red Hat Discovery 2 Not specified Not specified
ADP Red Hat Red Hat Hardened Images Not specified Not specified
ADP Red Hat Red Hat OpenShift AI 2.25 Not specified Not specified
ADP Red Hat Red Hat OpenShift AI 3.3 Not specified Not specified
ADP Red Hat Red Hat Quay 3.10 Not specified Not specified
ADP Red Hat Red Hat Quay 3.12 Not specified Not specified
ADP Red Hat Red Hat Quay 3.14 Not specified Not specified
ADP Red Hat Red Hat Quay 3.15 Not specified Not specified
ADP Red Hat Red Hat Quay 3.16 Not specified Not specified
ADP Red Hat Red Hat Quay 3.17 Not specified Not specified
ADP Red Hat Red Hat Quay 3.9 Not specified Not specified
ADP Red Hat Red Hat Trusted Artifact Signer 1.4 Not specified Not specified
ADP Red Hat Lightspeed Core Not specified Not specified
ADP Red Hat Migration Toolkit For Applications 8 Not specified Not specified
ADP Red Hat Red Hat AI Inference Server Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2 Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform Ansible Core 2 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux AI RHEL AI 3 Not specified Not specified
ADP Red Hat Red Hat OpenShift AI RHOAI Not specified Not specified
ADP Red Hat Red Hat Quay 3 Not specified Not specified
ADP Red Hat Red Hat Satellite 6 Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.6 For RHEL 10 Not specified Not specified
ADP Red Hat OpenShift Lightspeed Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2026:7295 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:24853 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:20338 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:24977 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
www.openwall.com/lists/oss-security/2026/04/08/12 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Release Notes, Third Party Advisory
access.redhat.com/errata/RHSA-2026:22629 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/security/cve/CVE-2026-39892 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:21017 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:24762 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:37275 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:30089 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:24483 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:19375 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:22465 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:30088 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:24866 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:23361 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
github.com/pyca/cryptography/security/advisories/GHSA-p423-j2cm-9vmq [email protected] github.com Vendor Advisory
access.redhat.com/errata/RHSA-2026:24761 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
bugzilla.redhat.com/show_bug.cgi 0b0ca135-0b70-47e7-9f44-1890c2a1c46c bugzilla.redhat.com
access.redhat.com/errata/RHSA-2026:22840 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39892.json 0b0ca135-0b70-47e7-9f44-1890c2a1c46c security.access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
ADP2026-04-08T22:00:59.416ZReported to Red Hat.
ADP2026-04-08T20:49:41.967ZMade public.

Solutions

ADP: RHSA-2026:24761: Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Ansible Automation Platform 2.5 for RHEL 9

ADP: RHSA-2026:24762: Red Hat Ansible Automation Platform 2.6 for RHEL 9

ADP: RHSA-2026:30089: Red Hat AI Inference Server 3.3

ADP: RHSA-2026:30088: Red Hat AI Inference Server 3.3

ADP: RHSA-2026:24866: Red Hat Ansible Automation Platform 2.6

ADP: RHSA-2026:20338: Red Hat Discovery 2

ADP: RHSA-2026:7295: Red Hat Hardened Images

ADP: RHSA-2026:24977: Red Hat OpenShift AI 2.25

ADP: RHSA-2026:37275: Red Hat OpenShift AI 3.3

ADP: RHSA-2026:22840: Red Hat Quay 3.10

ADP: RHSA-2026:22629: Red Hat Quay 3.12

ADP: RHSA-2026:21017: Red Hat Quay 3.14

ADP: RHSA-2026:24853: Red Hat Quay 3.15

ADP: RHSA-2026:19375: Red Hat Quay 3.16

ADP: RHSA-2026:22465: Red Hat Quay 3.17

ADP: RHSA-2026:23361: Red Hat Quay 3.9

ADP: RHSA-2026:24483: Red Hat Trusted Artifact Signer 1.4

Workarounds

ADP: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report