I got the same problem on bullseye. the package was upgraded from 17.0.9+9-1~deb11u1 to 17.0.10+7-1~deb11u1 on the 6th of february (with unattended-upgrades). It broke my jenkins instance because it could not fetch git repo anymore.
Downgrading to 17.0.7+7-1~deb11u1 solve the problem. # apt-cache policy openjdk-17-jre-headless | grep "Installed" Installed: 17.0.10+7-1~deb11u1 # /usr/lib/jvm/java-17-openjdk-amd64/lib/jspawnhelper Segmentation fault # apt install openjdk-17-jre-headless=17.0.7+7-1~deb11u1 ... # apt-cache policy openjdk-17-jre-headless | grep "Installed" Installed: 17.0.7+7-1~deb11u1 # /usr/lib/jvm/java-17-openjdk-amd64/lib/jspawnhelper This command is not for general use and should only be run as the result of a call to ProcessBuilder.start() or Runtime.exec() in a java application -- Hubert Pineault