diff --git a/extra/simplesamlphp.spec b/extra/simplesamlphp.spec
index 6cb3dcd45bc7a4f5e3ead49b3d50e6c7097bc977..543d0c8ec19fa155c1b9ee205d2afce79cb7d601 100644
--- a/extra/simplesamlphp.spec
+++ b/extra/simplesamlphp.spec
@@ -1,6 +1,6 @@
 %define name      simplesamlphp
 %define summary   SAML IDP/SP written in PHP
-%define version   1.18.1
+%define version   1.18.2
 %define release   1
 %define license   LGPL 2.1
 %define group     Networking/WWW
diff --git a/lib/SimpleSAML/Configuration.php b/lib/SimpleSAML/Configuration.php
index 7088a4198c0382e0eeee7730f380a6312dbb265e..9759d64f9302529462474f94ff6308b61ebc5d61 100644
--- a/lib/SimpleSAML/Configuration.php
+++ b/lib/SimpleSAML/Configuration.php
@@ -426,7 +426,7 @@ class Configuration implements Utils\ClearableState
      */
     public function getVersion()
     {
-        return '1.18.1';
+        return '1.18.2';
     }