Exploit database

GH-79a3dc45e9f393803a84d8e3b2394fb1

shellharbor/php-7.4-cve-2026-docker

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-109618

411 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files22
shellharbor/php-7.4-cve-2026-dockerRevision 80d49a28e55f

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

scripts/build-php.sh

Shell · 1,358 bytes
#!/bin/sh
set -eu
set -a
. /work/docker/source.env
set +a
cd /usr/src/php
sh /work/scripts/verify-source.sh
set -- --prefix=/usr/local --sysconfdir=/usr/local/etc \
    --with-config-file-path=/usr/local/etc/php \
    --with-config-file-scan-dir=/usr/local/etc/php/conf.d \
    --enable-fpm --with-fpm-user=php --with-fpm-group=php \
    --disable-cgi --disable-phpdbg --without-pear \
    --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-pdo-pgsql \
    --enable-mbstring --with-curl --with-external-pcre --enable-gd --with-jpeg --with-freetype \
    --enable-intl --with-zip --enable-opcache --enable-bcmath \
    --enable-sockets --enable-pcntl --enable-exif --with-zlib
case "$PHP_VERSION" in
    7.4.33) set -- "$@" --without-openssl ;;
    8.1.34) set -- "$@" --with-openssl ;;
    *) echo 'Unsupported source version' >&2; exit 1 ;;
esac
export CFLAGS='-O2 -fstack-protector-strong -fPIC -D_FORTIFY_SOURCE=2'
export CXXFLAGS="$CFLAGS"
export LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,-rpath,/opt/php-cve/lib'
./configure "$@" > /evidence/configure.log 2>&1 || { tail -n 80 /evidence/configure.log; exit 1; }
echo 'Configuration complete; compiling PHP'
make -j"${BUILD_JOBS:-2}" > /evidence/make.log 2>&1 || { tail -n 100 /evidence/make.log; exit 1; }
make install > /evidence/install.log 2>&1
test "$(php -n -r 'echo PHP_VERSION;')" = "$PHP_VERSION"