Exploit databaseDownload repository ZIP
GH-79a3dc45e9f393803a84d8e3b2394fb1
shellharbor/php-7.4-cve-2026-docker
Sources for CVE-2026-109618
411 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files22
shellharbor/php-7.4-cve-2026-dockerRevision 80d49a28e55f
- ↑..Parent directory
- .gitkeep
- apply-history.py
- augment-sbom.php
- build-native.py
- build-php.sh
- build.ps1
- build.sh
- entrypoint.sh
- healthcheck.sh
- lock-dependencies.sh
- lock-native-dependencies.sh
- lock-test-dependencies.sh
- make-rootfs.py
- package-php.sh
- prepare-source.sh
- refresh-upstream-certs.py
- release-gate.php
- run-upstream.py
- scan.sh
- test.sh
- verify-source.sh
- verify.sh
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"