NULL Pointer Dereference Affecting php8.3-ffi-debuginfo package, versions <0:8.3.31-1.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (17th 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 Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-PHP83FFIDEBUGINFO-16884913
  • published27 May 2026
  • disclosed10 May 2026

Introduced: 10 May 2026

NewCVE-2026-7259  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 php8.3-ffi-debuginfo to version 0:8.3.31-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-1728.

NVD Description

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

In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, a mismatch between encoding lists in Oniguruma and mbfl leads to  a NULL pointer dereference, resulting in a segmentation fault and denial of service. The vulnerability is exploitable when user-controlled input can influence the encoding passed to mb_regex_encoding().

CVSS Base Scores

version 3.1