CVE-2023-23931
CVSS v3
6.5
MEDIUM
EPSS Score
1.3 %
exploit probability, as of 2026-10-17
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for cryptography. Watch cryptography in CVE Watch Free account · no credit card
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- cryptographyPyPIfrom 1.8 · fixed in 39.0.1
- python3-cryptographyAlmaLinux:9all versions · fixed in 36.0.1-4.el9
- python3-cryptographyAlmaLinux:8all versions · fixed in 3.2.1-6.el8
- python39AlmaLinux:8all versions · fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457dand 7 other packages
- python39-attrsAlmaLinux:8all versions · fixed in 20.3.0-2.module_el8.6.0+2780+a40f65e1
- python39-cffiAlmaLinux:8all versions · fixed in 1.14.3-2.module_el8.6.0+3248+c431e88c
- python39-chardetAlmaLinux:8all versions · fixed in 3.0.4-19.module_el8.6.0+2780+a40f65e1
- python39-cryptographyAlmaLinux:8all versions · fixed in 3.3.1-3.module_el8.10.0+3765+2f9a457d
31 more package ranges on OSV.dev
Vendor advisories
python-cryptography: memory corruption via immutable objects
discovery-server-container as a component of Red Hat Discovery 1 · python-cryptography.src as a component of Red Hat Enterprise Linux 7 · python2-cryptography as a component of Red Hat Enterprise Linux 7
Red Hat Security Advisory: python39:3.9 and python39-devel:3.9 security update
Siemens SCALANCE XCM-/XRM-300
SCALANCE XCH328 (6GK5328-4TS01-2EC2) · SCALANCE XCM324 (6GK5324-8TS01-2AC2) · SCALANCE XCM328 (6GK5328-4TS01-2AC2)
SSA-806742: Multiple Vulnerabilities in SCALANCE XCM-/XRM-300 before V2.4
SCALANCE XCH328 (6GK5328-4TS01-2EC2) · SCALANCE XCM324 (6GK5324-8TS01-2AC2) · SCALANCE XCM328 (6GK5328-4TS01-2AC2)
Red Hat Security Advisory: Red Hat Quay security update
Red Hat Security Advisory: python-cryptography security update
4 more advisories
Description
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. In affected versions `Cipher.update_into` would accept Python objects which implement the buffer protocol, but provide only immutable buffers. This would allow immutable objects (such as `bytes`) to be mutated, thus violating fundamental rules of Python and resulting in corrupted output. This now correctly raises an exception. This issue has been present since `update_into` was originally introduced in cryptography 1.8.
Technical details
- Published
- 2023-02-07
Frequently asked questions
What is CVE-2023-23931?
Is CVE-2023-23931 actively exploited?
What is the CVSS score for CVE-2023-23931?
Running cryptography? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · 50 free checks/month · Free API key
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2023-24329same product
- CVE-2020-36242same product
- CVE-2015-20107same product
- CVE-2022-45061same product
- CVE-2023-27043same product
- CVE-2022-40897same product
- CVE-2024-6232same product
- CVE-2025-47273same productsetuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary File Write