diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt
index b94e383ec9e..27bb10d99f5 100644
--- a/homeassistant/package_constraints.txt
+++ b/homeassistant/package_constraints.txt
@@ -6,7 +6,7 @@ bcrypt==3.1.5
 certifi>=2018.04.16
 jinja2>=2.10
 PyJWT==1.6.4
-cryptography==2.3.1
+cryptography==2.5
 pip>=8.0.3
 python-slugify==1.2.6
 pytz>=2018.07
diff --git a/requirements_all.txt b/requirements_all.txt
index 271d0d5b70d..b2f6237406e 100644
--- a/requirements_all.txt
+++ b/requirements_all.txt
@@ -7,7 +7,7 @@ bcrypt==3.1.5
 certifi>=2018.04.16
 jinja2>=2.10
 PyJWT==1.6.4
-cryptography==2.3.1
+cryptography==2.5
 pip>=8.0.3
 python-slugify==1.2.6
 pytz>=2018.07
diff --git a/setup.py b/setup.py
index cdd377b7673..285757ce710 100755
--- a/setup.py
+++ b/setup.py
@@ -41,7 +41,7 @@ REQUIRES = [
     'jinja2>=2.10',
     'PyJWT==1.6.4',
     # PyJWT has loose dependency. We want the latest one.
-    'cryptography==2.3.1',
+    'cryptography==2.5',
     'pip>=8.0.3',
     'python-slugify==1.2.6',
     'pytz>=2018.07',