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 22 Oct 2026.

Stay on a supported branch

Fixes ship only for 8.5, 8.4, 8.3, 8.2. The latest security releases are 8.5.12, 8.4.27, 8.3.36, 8.2.35 (21 Oct 2026). Supported versions →

66 advisories

4 critical · 13 high · 36 medium · 13 low

Frameworks and CMS

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

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

  1. 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 ↗

  2. 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 ↗

  3. 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 ↗

  4. 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 ↗

  5. 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 ↗

  6. 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 ↗

  7. 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 ↗

  8. 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 ↗

  9. 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 ↗

  10. 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 ↗

  11. 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 ↗

  12. 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 ↗

  13. 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 ↗

  14. 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 ↗

  15. 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 ↗

  16. 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 ↗

  17. 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 ↗

  18. 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 ↗

  19. 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 ↗

  20. 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 ↗

  21. 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 ↗

  22. 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 ↗

  23. 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 ↗

  24. 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 ↗

  25. 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 ↗

  26. 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 ↗

  27. 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 ↗

  28. 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 ↗

  29. highCVE-2026-7263Published 7 May 2026

    DoS attack via DOMNode::C14N()

    Fixed in 8.4.218.5.6

    GHSA-4jhr-8w89-j733 ↗

  30. 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 ↗

  31. 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 ↗

  32. 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 ↗

  33. 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 ↗

  34. 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 ↗

  35. 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 ↗

  36. 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 ↗

  37. 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 ↗

  38. 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 ↗

  39. 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 ↗

  40. 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 ↗

  41. 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 ↗

  42. 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 ↗

  43. 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 ↗

  44. 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 ↗

  45. mediumCVE-2024-8932Published 21 Nov 2024

    OOB access in ldap_escape

    Fixed in 8.1.318.2.268.3.14

    GHSA-g665-fm4p-vhff ↗

  46. 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 ↗

  47. 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 ↗

  48. 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 ↗

  49. 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 ↗

  50. 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 ↗

  51. 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 ↗

  52. 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 ↗

  53. 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 ↗

  54. 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 ↗

  55. highCVE-2024-5585Published 9 Jun 2024

    bypass CVE-2024-1874

    Fixed in 8.1.298.2.208.3.8

    GHSA-9fcc-425m-g385 ↗

  56. 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 ↗

  57. mediumCVE-2024-2408Published 6 Jun 2024

    PHP is vulnerable to the Marvin Attack

    No fixed version listed in the advisory.

    GHSA-hh26-4ppw-5864 ↗

  58. highCVE-2024-2757Published 11 Apr 2024

    mb_encode_mimeheader runs endlessly for some inputs

    Fixed in 8.3.6

    GHSA-fjp9-9hwx-59fq ↗

  59. 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 ↗

  60. 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 ↗

  61. 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 ↗

  62. criticalCVE-2023-3824Published 5 Aug 2023

    Buffer overflow and overread in phar_dir_read()

    Fixed in 8.0.30

    GHSA-jqcx-ccgc-xwhv ↗

  63. 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 ↗

  64. 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 ↗

  65. 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 ↗

  66. 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.