Integer Overflow or Wraparound Affecting php8.5-ldap package, versions <0:8.5.13-1.amzn2023.0.1


Severity

Recommended
critical

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.56% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-PHP85LDAP-22699715
  • published21 Nov 2026
  • disclosed19 Nov 2026

Introduced: 19 Nov 2026

NewCVE-2026-129438  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 php8.5-ldap to version 0:8.5.13-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-3506.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php8.5-ldap package and not the php8.5-ldap package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1