p PatchFirst

CVE-2026-129438

CVE-2026-129438 · Incorrect RFC 3986 URI serialization for oversized input

CVSS 6.3 · Medium · EPSS 0.6% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • phpUpdate to 8.5.13
  • php8.5 Ubuntu 26.10Update to 8.5.9-0ubuntu2.2
  • php8.5 Ubuntu 26.04 LTSUpdate to 8.5.4-0ubuntu1.6

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="php8.5"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Incorrect RFC 3986 URI serialization for oversized input.

The Uri\Rfc3986\Uri class does not correctly handle the output-size limit and errors of the uriparser library when converting a URI back to a string. For a URI whose string representation reaches approximately 2 GiB, toString(), toRawString() and other serializing operations can return a truncated or invalid string instead of an error. An application that accepts attacker-controlled URI data of that size, has enough memory to process it and trusts the result may make incorrect validation or routing decisions, and the large allocations can exhaust memory. parse_url() and Uri\WhatWg\Url are not affected.

This issue affects PHP versions 8.5.* before 8.5.13.

Published
Updated

Fixes in distributions

  • SUSE-SU-2026:24903-1 · SUSE Linux Enterprise Server for NVIDIA 16.1 ·
  • openSUSE-SU-2026:22451-1 · openSUSE Leap 16.1 ·
  • SUSE-SU-2026:24957-1 · SUSE Linux Enterprise Server 16.1, SUSE Linux Enterprise Server for SAP applications 16.1 ·
  • RHSA-2026:101658 · Red Hat hummingbird 1 ·
  • USN-9185-1 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 26.04 LTS, Ubuntu 26.10, Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS ·
  • openSUSE-SU-2026:12618-1 · openSUSE Tumbleweed ·

Stack: system · php

Affected products and versions

  • php

    Versions
    • ≥ 8.5.0, < 8.5.13: Affected (semver)

    Update to 8.5.13

  • php8.5 Ubuntu 26.10

    Versions
    • 8.5.4-0ubuntu1
    • 8.5.4-0ubuntu3
    • 8.5.9-0ubuntu1
    • 8.5.9-0ubuntu2
    • 8.5.9-0ubuntu2.1
    Affected ranges
    • ECOSYSTEM: < 8.5.9-0ubuntu2.2

    Update to 8.5.9-0ubuntu2.2

  • php8.5 Ubuntu 26.04 LTS

    Versions
    • 8.5.2-0ubuntu1
    • 8.5.4-0ubuntu1
    • 8.5.4-0ubuntu1.1
    • 8.5.4-0ubuntu1.2
    • 8.5.4-0ubuntu1.3
    • 8.5.4-0ubuntu1.4
    All versions (7)
    • 8.5.4-0ubuntu1.5
    Affected ranges
    • ECOSYSTEM: < 8.5.4-0ubuntu1.6

    Update to 8.5.4-0ubuntu1.6

Original sources

Check your server →