Live threats
VulnFox

All CVEs / Cryptography.io

CVE-2016-9243Cryptography.io Cryptography

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Mar 27, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

HKDF in cryptography before 1.5.2 returns an empty byte-string if used with a length less than algorithm.digest_size.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cryptography.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI cryptography < 1.5.3 1.5.3 pip install "cryptography>=1.5.3"
PyPI cryptography < 1.5.3 1.5.3 pip install "cryptography>=1.5.3"

Per OSV / GitHub Advisories (GHSA-q3cj-2r34-2cwc, PYSEC-2017-8). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
cryptography.iocryptography≤ 1.5.2
fedoraprojectfedora23
fedoraprojectfedora24
fedoraprojectfedora25
canonicalubuntu_linux16.04
canonicalubuntu_linux16.10

Official sources

References

Links published by the sources. Open them with care.