diff --git a/changelogs/unreleased/bump-libcurl-to-7.87.0.md b/changelogs/unreleased/bump-libcurl-to-7.87.0.md
new file mode 100644
index 0000000000000000000000000000000000000000..4af8134337f19beb0cf5a70ff497b651fdee864f
--- /dev/null
+++ b/changelogs/unreleased/bump-libcurl-to-7.87.0.md
@@ -0,0 +1,3 @@
+## feature/build
+
+* Updated libcurl to version 7.87.0 (gh-8150).
diff --git a/cmake/BuildLibCURL.cmake b/cmake/BuildLibCURL.cmake
index 32c4aec088a5c55dac37a282478de70bdf30cd85..39f4e318e2b5a37cb09386e5565be27e85b8022d 100644
--- a/cmake/BuildLibCURL.cmake
+++ b/cmake/BuildLibCURL.cmake
@@ -187,6 +187,7 @@ macro(curl_build)
     list(APPEND LIBCURL_CMAKE_FLAGS "-DENABLE_CURLDEBUG=OFF")
     list(APPEND LIBCURL_CMAKE_FLAGS "-DENABLE_DEBUG=OFF")
     list(APPEND LIBCURL_CMAKE_FLAGS "-DUSE_MSH3=OFF")
+    list(APPEND LIBCURL_CMAKE_FLAGS "-DENABLE_WEBSOCKETS=OFF")
 
     # We need PIC at least to enable build for Fedora on
     # ARM64 CPU. Without it configuration with Fedora
diff --git a/third_party/curl b/third_party/curl
index 45ac4d019475df03562fe0ac54eb67e1d1de0ca7..c12fb3ddaf48e709a7a4deaa55ec485e4df163ee 160000
--- a/third_party/curl
+++ b/third_party/curl
@@ -1 +1 @@
-Subproject commit 45ac4d019475df03562fe0ac54eb67e1d1de0ca7
+Subproject commit c12fb3ddaf48e709a7a4deaa55ec485e4df163ee