Heap-based Buffer Overflow Affecting php8.5-dbg-debuginfo package, versions <0:8.5.11-1.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.15% (4th 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-PHP85DBGDEBUGINFO-20851985
  • published13 Oct 2026
  • disclosed25 Sept 2026

Introduced: 25 Sep 2026

NewCVE-2026-91767  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 php8.5-dbg-debuginfo to version 0:8.5.11-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-3164.

NVD Description

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

php_openssl_matches_wildcard_name() in ext/openssl/xp_ssl.c underflows the length argument passed to memchr() when a TLS server certificate presents a wildcard name whose literal characters are together longer than the hostname being verified. A malicious server presenting such a certificate makes the PHP client read up to SIZE_MAX bytes past the end of a heap allocation. The path is reachable from any default client stream, because verify_peer_name is enabled by default.

CVSS Base Scores

version 3.1