High

PHP: Security issue with external entity loading in XML without enabling it

  • Disclosed: 05.08.2023
  • Updated: 03.11.2026 19:17

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
PHP (interpreter) PHP >= 8.0.0, < 8.0.30

< 8.0.30

8.0.30

References

CVSS score 8.6/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Weakness (CWE)
CWE-611
Platform
PHP
Package
PHP
Disclosed
05.08.2023
Updated
03.11.2026 19:17

Sources and licenses

PHP Security Advisories - GHSA-3qrf-m4j2-pcrr - CVE Terms of Use

Copyright 1999-2026 The MITRE Corporation

Copyright 1999-2026 The MITRE Corporation

CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.

https://www.cve.org/Legal/TermsOfUse

Vulnerability history: PHP

All published vulnerabilities of this package (PHP (interpreter)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (78) in the archive
Total entries
78
First → latest
02.2023 11.2026
Without a fix
1
Exploited in attacks
3

Severity breakdown

  • Critical 11
  • High 16
  • Medium 42
  • Low 9

Disclosures per year

  1. 2023: 5
  2. 2024: 17
  3. 2025: 12
  4. 2026: 44
Severity:
  1. Critical · 9.2 CVE-2026-129289 >= 8.2.0, < 8.2.36, >= 8.3.0, < 8.3.37, >= 8.4.0, < 8.4.28, >= 8.5.0, < 8.5.13 8.2.36, 8.3.37, 8.4.28, 8.5.13
  2. Critical · 9.2 CVE-2026-115560 >= 8.2.0, < 8.2.36, >= 8.3.0, < 8.3.37, >= 8.4.0, < 8.4.28, >= 8.5.0, < 8.5.13 8.2.36, 8.3.37, 8.4.28, 8.5.13
  3. High · 7.7 CVE-2026-128090 >= 8.2.0, < 8.2.36, >= 8.3.0, < 8.3.37, >= 8.4.0, < 8.4.28, >= 8.5.0, < 8.5.13 8.2.36, 8.3.37, 8.4.28, 8.5.13
  4. Critical · 9.2 CVE-2026-129496 >= 8.2.0, < 8.2.36, >= 8.3.0, < 8.3.37, >= 8.4.0, < 8.4.28, >= 8.5.0, < 8.5.13 8.2.36, 8.3.37, 8.4.28, 8.5.13
  5. Critical · 9.2 CVE-2026-126714 >= 8.2.0, < 8.2.36, >= 8.3.0, < 8.3.37, >= 8.4.0, < 8.4.28, >= 8.5.0, < 8.5.13 8.2.36, 8.3.37, 8.4.28, 8.5.13
  6. Critical · 9.2 CVE-2026-129474 >= 8.5.0, < 8.5.13 8.5.13
  7. High · 8.2 CVE-2026-128064 >= 8.2.0, < 8.2.36, >= 8.3.0, < 8.3.37, >= 8.4.0, < 8.4.28, >= 8.5.0, < 8.5.13 8.2.36, 8.3.37, 8.4.28, 8.5.13
  8. High · 8.7 CVE-2026-127960 >= 8.1.32, <= 8.1.34, >= 8.2.28, < 8.2.36, >= 8.3.18, < 8.3.37, >= 8.4.5, < 8.4.28, >= 8.5.0, < 8.5.13 8.2.36, 8.3.37, 8.4.28, 8.5.13
  9. Critical · 9.2 CVE-2026-129182 >= 8.5.0, < 8.5.13 8.5.13
  10. Critical · 9.2 CVE-2026-129481 >= 8.3.0, < 8.3.37, >= 8.4.0, < 8.4.28, >= 8.5.0, < 8.5.13 8.3.37, 8.4.28, 8.5.13
  11. High · 8.8 CVE-2026-129291 >= 8.1.20, <= 8.1.34, >= 8.2.7, < 8.2.36, >= 8.3.0, < 8.3.37, >= 8.4.0, < 8.4.28, >= 8.5.0, < 8.5.13 8.2.36, 8.3.37, 8.4.28, 8.5.13
  12. Critical · 9.2 Exploited in attacks CVE-2026-109618 >= 8.2.0, < 8.2.35, >= 8.3.0, < 8.3.36, >= 8.4.0, < 8.4.27, >= 8.5.0, < 8.5.12 8.2.35, 8.3.36, 8.4.27, 8.5.12
  13. Critical · 9.2 Exploited in attacks CVE-2026-109619 >= 8.2.0, < 8.2.35, >= 8.3.0, < 8.3.36, >= 8.4.0, < 8.4.27, >= 8.5.0, < 8.5.12 8.2.35, 8.3.36, 8.4.27, 8.5.12
  14. High · 7.5 CVE-2026-91765 >= 8.2.0, < 8.2.34, >= 8.3.0, < 8.3.35, >= 8.4.0, < 8.4.26, >= 8.5.0, < 8.5.11 8.2.34, 8.3.35, 8.4.26, 8.5.11
  15. High CVE-2026-17544 >= 8.4.0, < 8.4.24, >= 8.5.0, < 8.5.9 8.4.24, 8.5.9
  16. High CVE-2026-17543 >= 8.2.0, < 8.2.33, >= 8.3.0, < 8.3.33, >= 8.4.0, < 8.4.24, >= 8.5.0, < 8.5.9 8.2.33, 8.3.33, 8.4.24, 8.5.9
  17. High · 9.4 CVE-2026-6722 >= 8.2.0, < 8.2.31, >= 8.3.0, < 8.3.31, >= 8.4.0, < 8.4.21, >= 8.5.0, < 8.5.6 8.2.31, 8.3.31, 8.4.21, 8.5.6
  18. High · 9.2 CVE-2025-14179 >= 8.2.0, < 8.2.31, >= 8.3.0, < 8.3.31, >= 8.4.0, < 8.4.21, >= 8.5.0, < 8.5.6 8.2.31, 8.3.31, 8.4.21, 8.5.6
  19. High · 8.2 CVE-2026-7263 >= 8.4.0, < 8.4.21, >= 8.5.0, < 8.5.6 8.4.21, 8.5.6
  20. High CVE-2024-8929 >= 8.1.0, < 8.1.31, >= 8.2.0, < 8.2.26, >= 8.3.0, < 8.3.14 8.1.31, 8.2.26, 8.3.14
  21. High Exploited in attacks CVE-2024-4577 >= 8.3.0, < 8.3.8, >= 8.2.0, < 8.2.20, >= 8.1.0, < 8.1.29 8.3.8, 8.2.20, 8.1.29
  22. High · 7.5 CVE-2024-2757 >= 8.3.0, < 8.3.5 8.3.6
  23. Critical · 9.4 CVE-2024-1874 >= 8.1.0, < 8.1.28, >= 8.2.0, < 8.2.18, >= 8.3.0, < 8.3.5 8.1.28, 8.2.18, 8.3.6
  24. Critical · 9.4 CVE-2023-3824 >= 8.0.0, < 8.0.30 8.0.30
  25. PHP: Security issue with external entity loading in XML without enabling it this entry
    High · 8.6 CVE-2023-3823 >= 8.0.0, < 8.0.30 8.0.30
  26. High · 7.5 CVE-2023-0662 >= 8.0.0, <= 8.0.27, >= 8.1.0, <= 8.1.15, >= 8.2.0, <= 8.2.2 8.0.28, 8.1.16, 8.2.3

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.