HUB
Sign inSign up

shellharbor/php-8.1-cve-2026-docker

By shellharbor

•Updated 20 days ago

PHP 8.1.34 CLI/FPM with security backports. Linux amd64. UNVERIFIED development preview.

Image
Languages & frameworks
Developer tools
0

72

shellharbor/php-8.1-cve-2026-docker repository overview

⁠PHP 8.1.34 — Security Backports for Docker

PHP 8.1.34 FPM CVE 2026 Docker image

PHP CLI/FPM with targeted fixes for CVE-2026-109618 and CVE-2026-109619, pinned dependencies and inspectable build evidence.

Upgrading an older application takes planning, testing and time. This project brings the runtime work into the open: pinned PHP sources, security backports, updated native libraries, build instructions and recorded test evidence—all available for inspection.

Use it to investigate compatibility, reproduce problems and test migration work with a clearly identified PHP 8.1 build.

UNVERIFIED development preview. Independent mysqlnd review remains unfinished, and production release is not approved. PHP 8.1 has reached end of life; these backports do not restore official support.

Source & documentation⁠ · v1.0.0 preview release⁠ · Security status⁠

⁠What’s included

  • PHP 8.1.34 CLI and FPM, built from a checksum-pinned official release archive.
  • An ordered 20-step historical backport manifest, following the pinned minimal EOL patch.
  • Updated native dependencies: OpenSSL 3.5.9, cURL 8.23.0, libxml2 2.15.4 and SQLite 3.54.1, alongside patched OpenLDAP and signed Debian external PCRE2.
  • Common application extensions: mysqli, PDO MySQL/PostgreSQL/SQLite, mbstring, curl, OpenSSL, GD, intl, zip, OPcache, bcmath, sockets, pcntl and exif.
  • A non-root runtime with read-only filesystem support, a real FastCGI healthcheck and graceful shutdown.
  • Build provenance and evidence: source locks, patch checksums, runtime file hashes, Trivy reports and CycloneDX SBOM collection.

The final runtime excludes compilers, Python and package managers. Build and test tools live in separate targets.

⁠Quick start

Published platform: Linux amd64.

docker pull shellharbor/php-8.1-cve-2026-docker:8.1.34-backport.3-fpm-unverified

Check the PHP version in an isolated container:

docker run --rm --platform linux/amd64 \
  --network none --read-only \
  --tmpfs /tmp:rw,nosuid,nodev,size=128m \
  --cap-drop ALL --security-opt no-new-privileges \
  --memory 512m --pids-limit 64 \
  shellharbor/php-8.1-cve-2026-docker:8.1.34-backport.3-fpm-unverified \
  php -v

Replace php -v with php -m to inspect the extensions.

Without a command override, the image starts PHP-FPM on port 9000. FPM speaks FastCGI; use a web server in front of it and keep that port private. The repository includes a working Nginx/FPM Compose example⁠.

⁠Pin the exact image

For a fixed artifact identity, pull by digest:

docker pull shellharbor/php-8.1-cve-2026-docker@sha256:a63f8ee988b6439fb1ab7dbfd216d2701c121b8671d5e6c173e4c241f12e0c3a

The published image was built from source commit 5b71fcc5e8161618dbdb76e8396b13a8a505eb28. Repository release v1.0.0 identifies this preview; the contained PHP version remains 8.1.34.

⁠Runtime defaults

SettingDefault
User and group10001:10001
Working directory/app
FPM listenerFastCGI port 9000
PHP memory limit128M
Maximum POST body8M
Maximum uploaded file4M
FPM maximum workers4
Logsstderr
Session storage/tmp/sessions
Shutdown signalSIGQUIT

Provide writable temporary storage at /tmp when running with a read-only root filesystem. Sessions and temporary uploads are ephemeral; applications that need persistence require appropriate storage or external backends.

Session upload progress remains disabled in source and configuration. PHP memory-limit failures terminate the worker immediately without ordinary shutdown callbacks.

⁠What has been checked?

Publication validation on 31 October 2026 recorded:

  • 68 focused PASS records locally, plus 68 on a clean GitHub hosted build.
  • Successful local FPM and Compose checks.
  • Successful anonymous pull and PHP execution from the published digest.
  • Preserved source/patch checksums and image identity checks.
  • Raw Trivy and SBOM evidence collection.

The publication CI run⁠ rebuilt the same source independently of the local build environment. Its image has a separate build identity from the published Docker Hub artifact.

Earlier full upstream test results, retained failures and their scope are documented in the validation history⁠.

⁠Security and compatibility boundaries

The image remains UNVERIFIED, with production_ready=false.

The recorded raw scan retains 3 CRITICAL and 14 HIGH findings. Local applicability assessments do not remove those findings or waive the production gate. Successful builds and tests do not establish that every historical vulnerability has been resolved.

Detailed independent mysqlnd review, real application/database interoperability and production deployment validation remain open. The internal mysqlnd C ABI changed, so prebuilt third-party extensions require rebuilding and review.

See the security policy⁠ before evaluating deployment readiness.

⁠Inspect, rebuild, contribute

The GitHub repository⁠ contains Linux and Windows build instructions, patch provenance, configuration, focused tests and deployment examples.

For build problems or compatibility regressions, include the image digest, host platform, relevant logs and a small reproducer in an issue. Remove credentials and private application data before sharing.

PHP and native dependencies retain their upstream notices. See NOTICE.md⁠.

Tag summary

Content type

Image

Digest

sha256:a63f8ee98…

Size

37.7 MB

Last updated

20 days ago

docker pull shellharbor/php-8.1-cve-2026-docker:8.1.34-backport.3-fpm-unverified