Skip to content

v2.4.0 — PHP 8.5.12 security upgrade and the dre: vocabulary endpoint

Choose a tag to compare

@fmadore fmadore released this 21 Oct 17:53
· 76 commits to main since this release
669e8f5

Security release — rebuild as soon as you can.

This release upgrades PHP to 8.5.12, which fixes two critical
vulnerabilities that allow unauthenticated remote code execution
(CVE-2026-109618
and CVE-2026-109619,
both CVSS v4.0 9.2). PHP-FPM, which this stack uses, is an affected
configuration.

Changing the pin is not enough on its own — your site keeps serving the old
image until you rebuild:

bash scripts/backup.sh
git fetch --tags && git checkout v2.4.0
bash scripts/rebuild-code.sh --pull
docker compose exec php php -v    # expect 8.5.12

If the rebuild fails at install-php-extensions, that is pecl.php.net
being unavailable rather than a problem with this release — it was
intermittently down for about 40 minutes on release day. Wait and retry.

Security

  • PHP 8.5.11 → 8.5.12, pinned by digest and verified to carry
    PHP_VERSION=8.5.12 before being committed.
  • uploads.ini carries two hardening settings added as an interim mitigation
    for CVE-2026-109619 while the patched image was still being published:
    session.upload_progress.enabled = 0 and fatal_error_backtraces = 0.
    They are deliberately still here. They cost nothing — Omeka S uses
    neither feature — and they keep you covered if your rebuild fails partway and
    the old image restarts. Once php -v reports 8.5.12 you can delete that
    block; the only effect of keeping it is slightly terser fatal-error logs.
  • The advisory's suggested mitigations for CVE-2026-109618 are not applied,
    and uploads.ini records why: memory_limit = -1 would let one request grow
    past the container's memory cap and have the OOM killer take down the whole
    php service instead of failing that request, and post_max_size = 8M would
    break 100M media ingest. That CVE is fixed by the upgrade alone.

Added

  • The dre: vocabulary is now served from AMIRA's own domain at
    /ontology/dre, with content negotiation across HTML, JSON-LD, RDF/XML and
    Turtle, plus a build_dre_vocabulary.py generator and a .well-known/void
    redirect. Replaces the single dre.owl file.

Updated

  • nginx 1.30.5 → 1.30.6-alpine
  • mlocati/php-extension-installer 2.11.1 → 2.12.3
  • composer/composer and mysql digest refreshes
  • AMIRA deployment: DRESearch v1.30.0, DRE-Visualizations v2.39.1,
    DRE-theme v2.42.0, DRE-SEO v0.15.0, DRE-LinkedData v0.3.1

Verification

CI is green on 669e8f5 — validate plus smoke tests across the base, AMIRA
and immutable overlays. The build log confirms it used
php:8.5.12-fpm-trixie@sha256:8b4b4a76…, not a cached 8.5.11 layer.