A vulnerability in libphp's Uri\Rfc3986\Uri class causes incorrect URI serialization for oversized input near 2 GiB. This can lead to truncated or invalid URI strings instead of errors, potentially causing incorrect validation or routing decisions and memory exhaustion. The issue affects PHP versions 8.5.0 up to but not including 8.5.13 and is fixed in version 8.5.13.