CVE-2023-23931
python-cryptography: memory corruption via immutable objects
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 8, 2023
Updated · August 4, 2026
Description
A vulnerability was found in python-cryptography. In affected versions, Cipher.update_into would accept Python objects which implement the buffer protocol but provide only immutable buffers. This issue allows immutable objects (such as bytes) to be mutated, thus violating the fundamental rules of Python, resulting in corrupted output.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
CWE-754 · Improper Check for Unusual or Exceptional Conditions