ADVISORIES

Vulnerability

CVE-2026-7259

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().

30 advisories report this vulnerability, across 14 ecosystems.

Advisories

  • ALAS2023-2026-1726

    Amazon Linux 2023 - ALAS2023-2026-1726: Important priority package update for php8.4

    Important CVE-2026-12184CVE-2026-6104CVE-2026-6722CVE-2026-6735 Amazon Linux Updated 13 July 2026
  • ALAS2023-2026-1727

    Amazon Linux 2023 - ALAS2023-2026-1727: Important priority package update for php8.2

    Important CVE-2026-6722CVE-2026-6735CVE-2026-7258CVE-2026-7259 Amazon Linux Updated 26 May 2026
  • ALAS2023-2026-1728

    Amazon Linux 2023 - ALAS2023-2026-1728: Important priority package update for php8.3

    Important CVE-2026-6722CVE-2026-6735CVE-2026-7258CVE-2026-7259 Amazon Linux Updated 26 May 2026
  • ALAS2023-2026-1733

    Amazon Linux 2023 - ALAS2023-2026-1733: Important priority package update for php8.5

    Important CVE-2026-12184CVE-2026-42371CVE-2026-44927CVE-2026-44928 Amazon Linux Updated 13 July 2026
  • ALPINE-CVE-2026-7259

    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…

    CVE-2026-7259 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2026-7259
    CVE-2026-7259 Alpine Updated 18 November 2026
  • ALSA-2026:23388

    Important: php security update

    CVE-2026-6722CVE-2026-6735CVE-2026-7258CVE-2026-7259 AlmaLinux Updated 6 November 2026
  • ALSA-2026:33449

    Important: php security update

    CVE-2026-6722CVE-2026-6735CVE-2026-7258CVE-2026-7259 AlmaLinux Updated 29 October 2026
  • AZL-86364

    CVE-2026-7259 affecting package php for versions less than 8.3.31-1

    CVE-2026-7259 Azure Linux Updated 23 November 2026
  • CGA-4whf-5gp5-h3xv
    CVE-2026-7259 ChainguardWolfi Updated 5 November 2026
  • CGA-83jf-jhqq-vhv7
    CVE-2026-7259 ChainguardWolfi Updated 5 November 2026
  • CNA-CVE-2026-7259

    Null pointer dereference in php_mb_check_encoding() via mb_ereg_search_init()

    CVE-2026-7259 PHP Updated 11 May 2026
  • DEBIAN-CVE-2026-7259

    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…

    CVE-2026-7259 Debian Updated 1 October 2026
  • DSA-6255-1

    php8.2 - security update

    CVE-2025-14179CVE-2026-6722CVE-2026-6735CVE-2026-7258 Debian Updated 20 November 2026
  • DSA-6256-1

    php8.4 - security update

    CVE-2025-14179CVE-2026-6104CVE-2026-6722CVE-2026-6735 Debian Updated 20 November 2026
  • ELSA-2026-23388

    ELSA-2026-23388: php security update (IMPORTANT)

    Important CVE-2026-6735CVE-2026-7258CVE-2026-7259CVE-2026-7262 Oracle Linux Updated 16 July 2026
  • ELSA-2026-33449

    ELSA-2026-33449: php security update (IMPORTANT)

    Important CVE-2026-6722CVE-2026-6735CVE-2026-7258CVE-2026-7259 Oracle Linux Updated 2 July 2026
  • OESA-2026-2340

    php security update

    Medium CVE-2026-6722CVE-2026-7259CVE-2026-7262CVE-2026-7568 openEuler Updated 18 August 2026
  • OESA-2026-2341

    php security update

    Medium CVE-2026-6722CVE-2026-7259CVE-2026-7262CVE-2026-7568 openEuler Updated 18 August 2026
  • OESA-2026-2342

    php security update

    Critical CVE-2025-14179CVE-2026-6722CVE-2026-6735CVE-2026-7258 openEuler Updated 18 August 2026
  • OESA-2026-2343

    php security update

    Critical CVE-2025-14179CVE-2026-6722CVE-2026-6735CVE-2026-7258 openEuler Updated 18 August 2026
  • OESA-2026-2344

    php security update

    Critical CVE-2025-14179CVE-2026-6722CVE-2026-6735CVE-2026-7258 openEuler Updated 18 August 2026
  • RHSA-2026:23388

    Red Hat Security Advisory: php security update

    CVE-2026-6722CVE-2026-6735CVE-2026-7258CVE-2026-7259 Red Hat Updated 23 November 2026
  • RHSA-2026:33449

    Red Hat Security Advisory: php security update

    CVE-2026-6722CVE-2026-6735CVE-2026-7258CVE-2026-7259 Red Hat Updated 23 November 2026
  • RHVEX-CVE-2026-7259

    php: NULL pointer dereference in php_mb_check_encoding() via mb_ereg_search_init()

    Moderate CVE-2026-7259 Red Hat Updated 5 November 2026
  • RLSA-2026:23388

    Important: php security update

    CVE-2026-6735CVE-2026-7258CVE-2026-7259CVE-2026-7262 Rocky Linux Updated 6 June 2026
  • RLSA-2026:33449

    Important: php security update

    CVE-2026-6722CVE-2026-6735CVE-2026-7258CVE-2026-7259 Rocky Linux Updated 29 July 2026
  • UBUNTU-CVE-2026-7259

    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…

    CVE-2026-7259 Ubuntu Updated 28 May 2026
  • USN-8336-1

    php8.1, php8.3, php8.4, php8.5 vulnerabilities

    Ubuntu Updated 30 June 2026
  • openSUSE-SU-2026:10747-1

    php8-8.5.6-1.1 on GA media

    CVE-2025-14179CVE-2026-42371CVE-2026-6104CVE-2026-6722 openSUSE Updated 12 May 2026

References