ADVISORIES

Vulnerability

CVE-2023-3823

In PHP versions 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8 various XML functions rely on libxml global state to track configuration variables, like whether external entities are loaded. This state is assumed to be unchanged unless the user explicitly changes it by calling appropriate function. However, since the state is process-global, other modules - such as ImageMagick - may also use this library within the same process, and change that global state for their internal purposes, and leave it in a state where external entities loading is enabled. This can lead to the situation where external XML is parsed with external entities loaded, which can lead to disclosure of any local files accessible to PHP. This vulnerable state may persist in the same process across many requests, until the process is shut down.

38 advisories report this vulnerability, across 13 ecosystems.

Advisories

  • ALAS2023-2023-324

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

    Important CVE-2023-3823CVE-2023-3824 Amazon Linux Updated 7 September 2023
  • ALAS2023-2023-325

    Amazon Linux 2023 - ALAS2023-2023-325: Important priority package update for php8.1

    Important CVE-2023-3247CVE-2023-3823CVE-2023-3824 Amazon Linux Updated 14 September 2023
  • ALPINE-CVE-2023-3823

    In PHP versions 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8 various XML functions rely on libxml global state to track configuration variables, like whether external entities are loaded. This state…

    CVE-2023-3823 Alpine Updated 3 November 2026
  • ALSA-2023:5926

    Important: php security update

    CVE-2023-0567CVE-2023-0568CVE-2023-0662CVE-2023-3247 AlmaLinux Updated 29 October 2026
  • ALSA-2023:5927

    Important: php:8.0 security update

    CVE-2023-0567CVE-2023-0568CVE-2023-0662CVE-2023-3247 AlmaLinux Updated 29 October 2026
  • ALSA-2024:0387

    Moderate: php:8.1 security update

    CVE-2023-0567CVE-2023-0568CVE-2023-0662CVE-2023-3247 AlmaLinux Updated 29 October 2026
  • ALSA-2024:10952

    Moderate: php:7.4 security update

    CVE-2022-31629CVE-2023-0567CVE-2023-0568CVE-2023-3247 AlmaLinux Updated 29 October 2026
  • AZL-27962

    CVE-2023-3823 affecting package php for versions less than 8.1.22-1

    CVE-2023-3823 Azure Linux Updated 21 April 2026
  • AZL-63085

    CVE-2023-3823 affecting package php for versions less than 8.2.8-1

    CVE-2023-3823 Azure Linux Updated 23 November 2026
  • CNA-CVE-2023-3823

    Security issue with external entity loading in XML without enabling it

    CVE-2023-3823 PHP Updated 13 February 2025
  • DEBIAN-CVE-2023-3823

    In PHP versions 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8 various XML functions rely on libxml global state to track configuration variables, like whether external entities are loaded. This state…

    CVE-2023-3823 Debian Updated 26 October 2026
  • DLA-3555-1

    php7.3 - security update

    CVE-2023-3823CVE-2023-3824 Debian Updated 20 November 2026
  • DSA-5660-1

    php7.4 - security update

    CVE-2023-3823CVE-2023-3824CVE-2024-2756CVE-2024-3096 Debian Updated 20 November 2026
  • DSA-5661-1

    php8.2 - security update

    CVE-2023-3823CVE-2023-3824CVE-2024-2756CVE-2024-3096 Debian Updated 20 November 2026
  • ELSA-2023-5926

    ELSA-2023-5926: php security update (IMPORTANT)

    Important CVE-2023-0567CVE-2023-0568CVE-2023-0662CVE-2023-3247 Oracle Linux Updated 22 October 2023
  • ELSA-2023-5927

    ELSA-2023-5927: php:8.0 security update (IMPORTANT)

    Important CVE-2023-0567CVE-2023-0568CVE-2023-0662CVE-2023-3247 Oracle Linux Updated 23 October 2023
  • ELSA-2024-0387

    ELSA-2024-0387: php:8.1 security update (MODERATE)

    Moderate CVE-2023-0567CVE-2023-0568CVE-2023-0662CVE-2023-3247 Oracle Linux Updated 25 January 2024
  • ELSA-2024-10952

    ELSA-2024-10952: php:7.4 security update (MODERATE)

    Moderate CVE-2023-0567CVE-2023-0568CVE-2023-3247CVE-2023-3823 Oracle Linux Updated 12 December 2024
  • OESA-2023-1619

    php security update

    High CVE-2022-31631CVE-2023-0567CVE-2023-0568CVE-2023-0662 openEuler Updated 18 August 2026
  • OESA-2023-1620

    php security update

    High CVE-2022-31630CVE-2022-31631CVE-2023-0567CVE-2023-0568 openEuler Updated 18 August 2026
  • OESA-2023-1621

    php security update

    High CVE-2022-31631CVE-2023-0567CVE-2023-0568CVE-2023-0662 openEuler Updated 18 August 2026
  • OESA-2023-1622

    php security update

    High CVE-2022-31631CVE-2023-0567CVE-2023-0568CVE-2023-0662 openEuler Updated 18 August 2026
  • OESA-2023-1623

    php security update

    Medium CVE-2023-3247CVE-2023-3823CVE-2023-3824 openEuler Updated 18 August 2026
  • RHSA-2023:5926

    Red Hat Security Advisory: php security update

    CVE-2023-0567CVE-2023-0568CVE-2023-0662CVE-2023-3247 Red Hat Updated 24 November 2026
  • RHSA-2023:5927

    Red Hat Security Advisory: php:8.0 security update

    CVE-2023-0567CVE-2023-0568CVE-2023-0662CVE-2023-3247 Red Hat Updated 24 November 2026
  • RHSA-2024:0387

    Red Hat Security Advisory: php:8.1 security update

    CVE-2023-0567CVE-2023-0568CVE-2023-0662CVE-2023-3247 Red Hat Updated 24 November 2026
  • RHSA-2024:10952

    Red Hat Security Advisory: php:7.4 security update

    CVE-2023-0567CVE-2023-0568CVE-2023-3247CVE-2023-3823 Red Hat Updated 24 November 2026
  • RLSA-2023:5926

    Important: php security update

    CVE-2023-0567CVE-2023-0568CVE-2023-0662CVE-2023-3247 Rocky Linux Updated 5 February 2026
  • RLSA-2023:5927

    Important: php:8.0 security update

    CVE-2023-0567CVE-2023-0568CVE-2023-0662CVE-2023-3247 Rocky Linux Updated 5 February 2026
  • RLSA-2024:0387

    Moderate: php:8.1 security update

    CVE-2023-0567CVE-2023-0568CVE-2023-0662CVE-2023-3247 Rocky Linux Updated 9 October 2025
  • RLSA-2024:10952

    Moderate: php:7.4 security update

    CVE-2023-0567CVE-2023-0568CVE-2023-3247CVE-2023-3823 Rocky Linux Updated 4 February 2026
  • SUSE-SU-2023:3445-1

    Security update for php7

    CVE-2023-3823CVE-2023-3824 SUSE Updated 4 February 2026
  • SUSE-SU-2023:3498-1

    Security update for php7

    CVE-2023-3823CVE-2023-3824 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:3528-1

    Security update for php7

    CVE-2023-3823CVE-2023-3824 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:3541-1

    Security update for php7

    CVE-2023-3823CVE-2023-3824 SUSEopenSUSE Updated 4 February 2026
  • UBUNTU-CVE-2023-3823

    In PHP versions 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8 various XML functions rely on libxml global state to track configuration variables, like whether external entities are loaded. This state…

    CVE-2023-3823 Ubuntu Updated 21 October 2026
  • USN-6305-1

    php8.1 vulnerabilities

    CVE-2023-3823CVE-2023-3824 Ubuntu Updated 27 April 2026
  • USN-6305-2

    php7.0, php7.2, php7.4 vulnerabilities

    CVE-2023-3823CVE-2023-3824 Ubuntu Updated 25 June 2026

References