PHP security

PHP security advisories.

Vulnerabilities published for PHP itself, with the release that fixes each one on every supported branch. From the php-src security advisories on GitHub, checked 30 Nov 2026.

Stay on a supported branch

Fixes ship only for 8.6, 8.5, 8.4, 8.3, 8.2. The latest security releases are 8.5.13, 8.4.28, 8.3.37, 8.2.36 (19 Nov 2026). Supported versions →

83 advisories

11 critical · 17 high · 42 medium · 13 low

Frameworks and CMS

Each project publishes its own advisories. Their guides link the official sources. Frameworks →

Lessons run PHP 8.5.12 as WebAssembly inside your browser.17 advisories were fixed in later PHP 8.5 releases; the browser build follows when its WebAssembly package is updated.

  1. criticalCVE-2026-129289Published 19 Nov 2026

    PHP-FPM request smuggling through an unread HTTP request body

    Fixed in 8.2.368.3.378.4.288.5.13

    GHSA-qc49-hpvq-g2w6 ↗

  2. criticalCVE-2026-115560Published 19 Nov 2026

    Session serializer mismatch can lead to remote code execution

    Fixed in 8.2.368.3.378.4.288.5.13

    GHSA-658j-r8rw-q6mx ↗

  3. mediumCVE-2026-129506Published 19 Nov 2026

    SOAP use-after-free when processing DTD entity references

    Fixed in 8.2.368.3.378.4.288.5.13

    GHSA-4646-p932-gw34 ↗

  4. mediumCVE-2026-129501Published 19 Nov 2026

    Double free during DOM XML serialization

    Fixed in 8.4.288.5.13

    GHSA-x8r7-mg3g-74hg ↗

  5. mediumCVE-2026-15353Published 19 Nov 2026

    SOAP information disclosure through malformed array dimensions

    Fixed in 8.2.368.3.378.4.288.5.13

    GHSA-q23r-hr55-xmpg ↗

  6. highCVE-2026-128090Published 19 Nov 2026

    PHAR OpenSSL signature bypass via algorithm downgrade

    Fixed in 8.2.368.3.378.4.288.5.13

    GHSA-68fq-fh7h-f8gr ↗

  7. mediumCVE-2026-129538Published 19 Nov 2026

    PHP-CGI out-of-bounds read and write during PATH_INFO correction

    Fixed in 8.2.368.3.378.4.288.5.13

    GHSA-5j3f-64r7-f564 ↗

  8. mediumCVE-2026-129292Published 19 Nov 2026

    PHP-FPM status endpoint XSS via unescaped user and script fields

    Fixed in 8.2.368.3.378.4.288.5.13

    GHSA-3mg3-cr28-46gc ↗

  9. criticalCVE-2026-129496Published 19 Nov 2026

    Timezone cache use-after-free can lead to remote code execution

    Fixed in 8.2.368.3.378.4.288.5.13

    GHSA-gr4f-wgx5-jpfv ↗

  10. criticalCVE-2026-126714Published 19 Nov 2026

    Partially overwritten session files can lead to remote code execution

    Fixed in 8.2.368.3.378.4.288.5.13

    GHSA-fm2m-fjf5-v3cp ↗

  11. criticalCVE-2026-129474Published 19 Nov 2026

    Use-after-free in magic method backtraces can lead to remote code execution

    Fixed in 8.5.13

    GHSA-8mjj-2r7p-4hg2 ↗

  12. mediumCVE-2026-129438Published 19 Nov 2026

    Incorrect RFC 3986 URI serialization for oversized input

    Fixed in 8.5.13

    GHSA-mg3p-mxj9-g2mm ↗

  13. highCVE-2026-128064Published 19 Nov 2026

    Mixed-case HTTPS and FTPS URLs can expose data in plaintext

    Fixed in 8.2.368.3.378.4.288.5.13

    GHSA-f6gg-rchx-xw8j ↗

  14. highCVE-2026-127960Published 19 Nov 2026

    Denial of service through folded HTTP response headers

    Fixed in 8.2.368.3.378.4.288.5.13

    GHSA-mmf9-xm3v-hg2x ↗

  15. criticalCVE-2026-129182Published 19 Nov 2026

    Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown

    Fixed in 8.5.13

    GHSA-2fjv-p558-g82m ↗

  16. criticalCVE-2026-129481Published 19 Nov 2026

    Use-after-free after interrupted session shutdown

    Fixed in 8.3.378.4.288.5.13

    GHSA-g3vh-838c-65v7 ↗

  17. highCVE-2026-129291Published 19 Nov 2026

    PHP-FPM epoll use-after-free can lead to local privilege escalation

    Fixed in 8.2.368.3.378.4.288.5.13

    GHSA-jm4m-qfqx-967m ↗

  18. criticalCVE-2026-109618Published 21 Oct 2026

    RCE via OOM corruption

    Fixed in 8.2.358.3.368.4.278.5.12

    GHSA-w8hw-w9fx-j79w ↗

  19. criticalCVE-2026-109619Published 21 Oct 2026

    RCE via stale global state

    Fixed in 8.2.358.3.368.4.278.5.12

    GHSA-6wmf-4rv5-p3rp ↗

  20. mediumCVE-2026-93682Published 24 Sept 2026

    Out-of-bounds read in the HTTP stream wrapper when following a redirect with an empty Location header

    Fixed in 8.2.348.3.358.4.268.5.11

    GHSA-7875-c8px-7q5f ↗

  21. mediumCVE-2026-92842Published 24 Sept 2026

    OOB read / info leak in convert.* stream filters when line-break-chars contains NUL

    Fixed in 8.2.348.3.358.4.268.5.11

    GHSA-88hq-2827-7pg6 ↗

  22. lowPublished 24 Sept 2026

    ext/filter: encode 0xFF in FILTER_SANITIZE_ENCODED

    Fixed in 8.2.348.3.358.4.258.5.10

    GHSA-ch8v-r6jh-4vvr ↗

  23. mediumCVE-2026-91768Published 24 Sept 2026

    IPv6 ACL bypass in FastCGI listen.allowed_clients due to partial address comparison (memcmp 12 bytes)

    Fixed in 8.2.348.3.358.4.268.5.11

    GHSA-62xp-839h-2637 ↗

  24. mediumCVE-2026-91769Published 24 Sept 2026

    TLS Hostname Verification Falls Back to CN After SAN Mismatch

    Fixed in 8.2.348.3.358.4.268.5.11

    GHSA-vvx9-73fr-5jjx ↗

  25. mediumCVE-2026-91767Published 24 Sept 2026

    Heap-buffer-overflow in php_openssl_matches_wildcard_name on crafted server cert wildcard CN

    Fixed in 8.2.348.3.358.4.268.5.11

    GHSA-xr7j-rvgx-xq5p ↗

  26. lowCVE-2025-1218Published 24 Sept 2026

    Various packet overreads in mysqlnd_writeprotocol.c

    Fixed in 8.2.348.3.358.4.268.5.11

    GHSA-r6x9-5r99-36j7 ↗

  27. mediumCVE-2026-91766Published 24 Sept 2026

    Cross-origin credential leak in HTTP stream wrapper redirects

    Fixed in 8.2.348.3.358.4.268.5.11

    GHSA-fpwc-w8rq-cr92 ↗

  28. highCVE-2026-91765Published 24 Sept 2026

    SOAP: Unbounded Recursion in Server-Side cleanup_xml_node

    Fixed in 8.2.348.3.358.4.268.5.11

    GHSA-rgrp-mwpx-f6rm ↗

  29. mediumCVE-2025-14181Published 24 Sept 2026

    Integer overflow to buffer overflow in soap HTTP parsing

    Fixed in 8.2.348.3.358.4.268.5.11

    GHSA-cj93-vc83-wgqv ↗

  30. mediumCVE-2026-6103Published 24 Sept 2026

    Phar TAR phar_tar_number() Integer Overflow - Archive Entry Injection

    Fixed in 8.2.348.3.358.4.268.5.11

    GHSA-j3wh-g957-2m85 ↗

  31. mediumCVE-2026-17545Published 24 Sept 2026

    PHP on Windows: Reserved Device Names Are Not Rejected Before File/Stream I/O which can cause DoS

    Fixed in 8.2.348.3.358.4.268.5.11

    GHSA-9f67-6fw4-hpfp ↗

  32. mediumCVE-2026-7260Published 30 Jul 2026

    Stack overflow in phar with circular symlinks

    Fixed in 8.2.338.3.338.4.248.5.9

    GHSA-vc5h-9ppw-p5f3 ↗

  33. highCVE-2026-17544Published 30 Jul 2026

    Out-of-bounds write in bccomp() via crafted operand and scale

    Fixed in 8.4.248.5.9

    GHSA-x692-q9x7-8c3f ↗

  34. highCVE-2026-17543Published 30 Jul 2026

    SQL injection in ext-pgsql via E'...' backslash breakout

    Fixed in 8.2.338.3.338.4.248.5.9

    GHSA-7qpv-r5mr-78m4 ↗

  35. highCVE-2026-12184Published 2 Jul 2026

    Failure to setup TLS with a remote server can result in a remote DoS

    Fixed in 8.3.328.4.218.5.6

    GHSA-mhmq-mmqj-2v39 ↗

  36. mediumCVE-2026-14355Published 2 Jul 2026

    ext/openssl: Memory corruption (zend_mm_heap corrupted) in openssl_encrypt with AES-WRAP-PAD

    Fixed in 8.2.328.3.328.4.238.5.8

    GHSA-7jrw-539f-x6vr ↗

  37. mediumCVE-2026-7262Published 7 May 2026

    NULL pointer dereference in SOAP apache:Map decoder with missing <value>

    Fixed in 8.2.318.3.318.4.218.5.6

    GHSA-hmxp-6pc4-f3vv ↗

  38. mediumCVE-2026-7261Published 7 May 2026

    SoapServer session-persisted object use-after-free via SOAP header fault

    Fixed in 8.2.318.3.318.4.218.5.6

    GHSA-m33r-qmcv-p97q ↗

  39. lowCVE-2026-7259Published 7 May 2026

    Null pointer dereference in php_mb_check_encoding() via mb_ereg_search_init()

    Fixed in 8.2.318.3.318.4.218.5.6

    GHSA-wm6j-2649-pv75 ↗

  40. mediumCVE-2026-6735Published 7 May 2026

    XSS within PHP-FPM status endpoint

    Fixed in 8.2.318.3.318.4.218.5.6

    GHSA-7qg2-v9fj-4mwv ↗

  41. highCVE-2026-6722Published 7 May 2026

    Use-After-Free in SOAP using Apache map with Remote Code Execution

    Fixed in 8.2.318.3.318.4.218.5.6

    GHSA-85c2-q967-79q5 ↗

  42. mediumCVE-2026-7258Published 7 May 2026

    Out-of-bounds read in urldecode()

    Fixed in 8.2.318.3.318.4.218.5.6

    GHSA-m8rr-4c36-8gq4 ↗

  43. mediumCVE-2026-6104Published 7 May 2026

    Global buffer over-read in mb_convert_encoding() with attacker-supplied encoding

    Fixed in 8.4.218.5.6

    GHSA-74r9-qxhc-fx53 ↗

  44. highCVE-2025-14179Published 7 May 2026

    SQL injection in pdo_firebird via NUL bytes in quoted strings

    Fixed in 8.2.318.3.318.4.218.5.6

    GHSA-w476-322c-wpvm ↗

  45. lowCVE-2026-7568Published 7 May 2026

    Signed integer overflow in metaphone()

    Fixed in 8.2.318.3.318.4.218.5.6

    GHSA-96wq-48vp-hh57 ↗

  46. highCVE-2026-7263Published 7 May 2026

    DoS attack via DOMNode::C14N()

    Fixed in 8.4.218.5.6

    GHSA-4jhr-8w89-j733 ↗

  47. lowPublished 18 Dec 2025

    Null byte termination in dns_get_record()

    Fixed in 8.1.348.2.308.3.298.4.168.5.1

    GHSA-www2-q4fc-65wf ↗

  48. mediumCVE-2025-14180Published 18 Dec 2025

    NULL Pointer Dereference in PDO quoting

    Fixed in 8.1.348.2.308.3.298.4.168.5.1

    GHSA-8xr5-qppj-gvwj ↗

  49. mediumCVE-2025-14178Published 18 Dec 2025

    Heap buffer overflow in array_merge()

    Fixed in 8.1.348.2.308.3.298.4.168.5.1

    GHSA-h96m-rvf9-jgm2 ↗

  50. mediumCVE-2025-14177Published 18 Dec 2025

    Information Leak of Memory in getimagesize

    Fixed in 8.1.348.2.308.3.298.4.168.5.1

    GHSA-3237-qqm7-mfv7 ↗

  51. mediumCVE-2025-1735Published 3 Jul 2025

    pgsql extension does not check for errors during escaping

    Fixed in 8.1.338.2.298.3.238.4.10

    GHSA-hrwm-9436-5mv3 ↗

  52. mediumCVE-2025-6491Published 3 Jul 2025

    NULL Pointer Dereference in PHP SOAP Extension via Large XML Namespace Prefix

    Fixed in 8.1.338.2.298.3.238.4.10

    GHSA-453j-q27h-5p8x ↗

  53. lowCVE-2025-1220Published 3 Jul 2025

    Null byte termination in hostnames

    Fixed in 8.1.338.2.298.3.238.4.10

    GHSA-3cr5-j632-f35r ↗

  54. mediumCVE-2024-11235Published 13 Mar 2025

    Reference counting in php_request_shutdown causes Use-After-Free

    Fixed in 8.3.198.4.5

    GHSA-rwp7-7vc6-8477 ↗

  55. lowPublished 13 Mar 2025

    Possible out of bounds read when XML_OPTION_SKIP_TAGSTART used

    Fixed in 8.1.328.2.288.3.198.4.5

    GHSA-wg4p-4hqh-c3g9 ↗

  56. mediumCVE-2025-1219Published 13 Mar 2025

    libxml streams use wrong `content-type` header when requesting a redirected resource

    Fixed in 8.1.328.2.288.3.198.4.5

    GHSA-p3x9-6h7p-cgfc ↗

  57. mediumCVE-2025-1736Published 13 Mar 2025

    Stream HTTP wrapper header check might omit basic auth header

    Fixed in 8.1.328.2.288.3.198.4.5

    GHSA-hgf5-96fm-v528 ↗

  58. mediumCVE-2025-1861Published 13 Mar 2025

    Stream HTTP wrapper truncate redirect location to 1024 bytes

    Fixed in 8.1.328.2.288.3.198.4.5

    GHSA-52jp-hrpf-2jff ↗

  59. mediumCVE-2025-1734Published 13 Mar 2025

    Streams HTTP wrapper does not fail for headers with invalid name and no colon

    Fixed in 8.1.328.2.288.3.198.4.5

    GHSA-pcmh-g36c-qc44 ↗

  60. mediumCVE-2025-1217Published 13 Mar 2025

    Header parser of `http` stream wrapper does not handle folded headers

    Fixed in 8.1.328.2.288.3.198.4.5

    GHSA-v8xr-gpvj-cx9g ↗

  61. highCVE-2024-8929Published 21 Nov 2024

    [Mysqlnd] Leak partial content of the heap through heap buffer over-read

    Fixed in 8.1.318.2.268.3.14

    GHSA-h35g-vwh6-m678 ↗

  62. mediumCVE-2024-8932Published 21 Nov 2024

    OOB access in ldap_escape

    Fixed in 8.1.318.2.268.3.14

    GHSA-g665-fm4p-vhff ↗

  63. mediumCVE-2024-11234Published 21 Nov 2024

    Configuring a proxy in a stream context might allow for CRLF injection in URIs

    Fixed in 8.1.318.2.268.3.14

    GHSA-c5f2-jwm7-mmq2 ↗

  64. mediumCVE-2024-11236Published 21 Nov 2024

    Integer overflow in the firebird and dblib quoters causing OOB writes

    Fixed in 8.1.318.2.268.3.14

    GHSA-5hqh-c84r-qjcv ↗

  65. mediumCVE-2024-11233Published 21 Nov 2024

    Single byte overread with convert.quoted-printable-decode filter

    Fixed in 8.1.318.2.268.3.14

    GHSA-r977-prxv-hc43 ↗

  66. lowPublished 21 Nov 2024

    Heap-Use-After-Free in sapi_read_post_data Processing in CLI SAPI Interface

    Fixed in 8.1.318.2.268.3.14

    GHSA-4w77-75f9-2c8w ↗

  67. highCVE-2024-4577Published 28 Sept 2024

    PHP RCE: A Bypass of CVE-2012-1823, Argument Injection in PHP-CGI

    Fixed in 8.1.298.2.208.3.8

    GHSA-3qgc-jrrr-25jv ↗

  68. mediumCVE-2024-8927Published 27 Sept 2024

    cgi.force_redirect configuration is bypassable due to the environment variable collision

    Fixed in 8.1.308.2.248.3.12

    GHSA-94p6-54jq-9mwp ↗

  69. mediumCVE-2024-8926Published 27 Sept 2024

    PHP CGI Parameter Injection Vulnerability (CVE-2024-4577 bypass)

    Fixed in 8.1.308.2.248.3.12

    GHSA-p99j-rfp4-xqvq ↗

  70. lowCVE-2024-8925Published 27 Sept 2024

    Erroneous parsing of multipart form data

    Fixed in 8.1.308.2.248.3.12

    GHSA-9pqp-7h25-4f32 ↗

  71. lowCVE-2024-9026Published 27 Sept 2024

    [PHP-FPM] Logs from childrens may be altered

    Fixed in 8.1.308.2.248.3.12

    GHSA-865w-9rf3-2wh5 ↗

  72. highCVE-2024-5585Published 9 Jun 2024

    bypass CVE-2024-1874

    Fixed in 8.1.298.2.208.3.8

    GHSA-9fcc-425m-g385 ↗

  73. mediumCVE-2024-5458Published 9 Jun 2024

    Filter bypass in filter_var (FILTER_VALIDATE_URL)

    Fixed in 8.1.298.2.208.3.8

    GHSA-w8qr-v226-r27w ↗

  74. mediumCVE-2024-2408Published 6 Jun 2024

    PHP is vulnerable to the Marvin Attack

    No fixed version listed in the advisory.

    GHSA-hh26-4ppw-5864 ↗

  75. highCVE-2024-2757Published 11 Apr 2024

    mb_encode_mimeheader runs endlessly for some inputs

    Fixed in 8.3.6

    GHSA-fjp9-9hwx-59fq ↗

  76. lowCVE-2024-3096Published 11 Apr 2024

    password_verify can erroneously return true, opening ATO risk

    Fixed in 8.1.288.2.188.3.6

    GHSA-h746-cjrr-wfmr ↗

  77. criticalCVE-2024-1874Published 11 Apr 2024

    Command injection via array-ish $command parameter of proc_open even if bypass_shell option enabled on Windows

    Fixed in 8.1.288.2.188.3.6

    GHSA-pc52-254m-w9w7 ↗

  78. mediumCVE-2024-2756Published 11 Apr 2024

    __Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix

    Fixed in 8.1.288.2.188.3.6

    GHSA-wpj3-hf5j-x4v4 ↗

  79. criticalCVE-2023-3824Published 5 Aug 2023

    Buffer overflow and overread in phar_dir_read()

    Fixed in 8.0.30

    GHSA-jqcx-ccgc-xwhv ↗

  80. highCVE-2023-3823Published 5 Aug 2023

    Security issue with external entity loading in XML without enabling it

    Fixed in 8.0.30

    GHSA-3qrf-m4j2-pcrr ↗

  81. lowCVE-2023-3247Published 12 Jun 2023

    Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP

    Fixed in 8.0.298.1.208.2.7

    GHSA-76gg-c692-v2mw ↗

  82. lowCVE-2023-0567Published 15 Feb 2023

    BCrypt hashes erroneously validate if the salt is cut short by `$`

    Fixed in 8.0.288.1.168.2.3

    GHSA-7fj2-8x79-rjf4 ↗

  83. highCVE-2023-0662Published 15 Feb 2023

    DoS vulnerability when parsing multipart request body

    Fixed in 8.0.288.1.168.2.3

    GHSA-54hq-v5wp-fqgv ↗

Source: php-src security advisories. Severity and affected versions are as published by the PHP project; this page adds no assessment of its own.