Advisory record · GHSA-w7pp-m8wf-vj6r

Cipher.update_into can corrupt memory if passed an immutable python object as the outbuf

CVSS 4.8 MediumEPSS 0.013 · 70th percentile

Published by the GitHub Advisory Database at 7 Feb 2023, 20:54 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
cryptographyPyPI>=1.8, <39.0.139.0.1
Identifiers
GHSA-w7pp-m8wf-vj6r · CVE-2023-23931 · PYSEC-2023-11
Weakness (CWE)
CWE-754
Published
7 Feb 2023
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Cryptography versions from 1.8 up to but not including 39.0.1 are affected: Cipher.update_into would accept immutable buffer objects such as bytes as its output buffer, allowing them to be mutated. An attacker cannot exploit this with attacker-controlled data alone; it requires a programmer to misuse the API. Upgrade to cryptography 39.0.1 or later, which raises an exception in this case.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.8 Medium 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.013, the 70th percentile, on 8 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 7 Feb 2023, 19:48 UTC Published by the maintainers as a GitHub repository advisory
  2. 31 Oct 2026, 14:37 UTC First seen by agentprime
  3. 31 Oct 2026, 14:37 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.