Remote manager daemon uses an unsupported version of GMP. The GMP version was 22.6

Openvas is such a great tool that everytime I run some or other Error. Great!.

I just deleted all containers and pulled everything from scratch using Greenbone Community Containers - Greenbone Community Documentation

and installed gvm-tools using sudo pip3 install gvm-tools==24.6.0

and checked if Openvas working or not using below code:

gvm-cli --timeout 600 --gmp-username admin --gmp-password admin socket --socketpath /usr/local/lib/gvm/gvmd/gvmd.sock --xml "<get_version/>"
/home/ubuntu/.local/lib/python3.10/site-packages/paramiko/pkey.py:82: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
  "cipher": algorithms.TripleDES,
/home/ubuntu/.local/lib/python3.10/site-packages/paramiko/transport.py:253: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
  "class": algorithms.TripleDES,
ERROR:gvmtools.cli:Remote manager daemon uses an unsupported version of GMP. The GMP version was 22.6
  • I dont know that am I only one who is facing this weird issue or openvas community keeps chaning code and introducing new bugs everytime.

The gvmd version is

Latest one Greenbone Vulnerability Manager 25.2.1
Manager DB revision 259
Copyright (C) 2009-2025 Greenbone AG
License: AGPL-3.0-or-later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

  • If i use docker gvm-tools that got shipped with containers
gvm@82fdabc46984:/gvm-tools$ gvm-cli -V
gvm-cli 25.3.0 (API version 26.1.0)
  • But the one installed via pip3, the version is gvm-cli 25.3.0 (API version 24.8.0)
    Clearly there is a mismatch ,

  • What exactly should i pull to get proper API version.

You need at least API version 26.0.0 (Release python-gvm 26.0.0 · greenbone/python-gvm · GitHub)

And if you use the community containers there is an easier solution to use gvm-tools.

@bricks Thanks for help.

For anyone who wants to know how to run gvm-tools container in bacground and use gvm-cli:

The command:

docker exec -u gvm greenbone-community-edition-gvm-tools-1 gvm-cli --timeout 600 --gmp-username admin --gmp-password admin socket --socketpath /run/gvmd/gvmd.sock --xml "<get_version/>"

and the update to docker compose file (make sure to mount /run/gvmd properly)

 gvm-tools:
    image: registry.community.greenbone.net/community/gvm-tools
    restart: always
    volumes:
      - /usr/local/lib/gvm/gvmd:/run/gvmd
      - ospd_openvas_socket_vol:/run/ospd
    depends_on:
      - gvmd
      - ospd-openvas
    command: sleep infinity