{"id":12790,"date":"2026-05-12T10:04:07","date_gmt":"2026-05-12T10:04:07","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2026\/05\/12\/critical-php-soap-extension-vulnerabilities-enables-remote-code-execution-attacks\/"},"modified":"2026-05-12T10:04:07","modified_gmt":"2026-05-12T10:04:07","slug":"critical-php-soap-extension-vulnerabilities-enables-remote-code-execution-attacks","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2026\/05\/12\/critical-php-soap-extension-vulnerabilities-enables-remote-code-execution-attacks\/","title":{"rendered":"Critical PHP SOAP Extension Vulnerabilities Enables Remote Code Execution Attacks"},"content":{"rendered":"<p>    Critical PHP SOAP Extension Vulnerabilities Enables Remote Code Execution Attacks<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>\n<p>A serious cluster of vulnerabilities has been uncovered in PHP\u2019s core string processing and ext-soap components, putting numerous web servers at immediate risk of total takeover.<\/p>\n<p>While the SOAP extension has a notorious history of memory corruption flaws, this latest discovery crosses the red line into unauthenticated Remote Code Execution (RCE).<\/p>\n<p>GitHub security teams are now locked in a race against time, as PHP maintainers deploy emergency patches to prevent attackers from turning vulnerable servers into compromised assets.<\/p>\n<p>The most critical vulnerability, tracked as CVE-2026-6722, is a <span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\">high-severity<a href=\"https:\/\/cybersecuritynews.com\/use-after-free-vulnerability\/\" target=\"_blank\" rel=\"noopener\">\u00a0use-after-free flaw<\/a><\/span> in the PHP SOAP extension.<\/p>\n<p>This vulnerability emerges from how the extension handles deduplicating objects within the XML graph using id and href attributes.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-additional-php-soap-flaws\"><strong>Additional PHP SOAP Flaws<\/strong><\/h2>\n<p>When parsing an XML document, the extension stores plain PHP objects in a global hash map but critically fails to increment their reference count.<\/p>\n<p>By leveraging the <a href=\"https:\/\/cybersecuritynews.com\/apache-dolphinscheduler\/\" target=\"_blank\" rel=\"noreferrer noopener\">Apache map mechanism<\/a>, an attacker can intentionally free these objects by overwriting existing map entries.<\/p>\n<p>This memory manipulation allows the attacker to reuse the freed memory segment, leading to dangerous memory corruption.<\/p>\n<p>As demonstrated by security researcher Brett Gervasoni, an attacker can highly control this freed memory by subsequently allocating plain strings, ultimately escalating the flaw into full Remote Code Execution.<\/p>\n<p>Alongside the RCE flaw, the PHP security team addressed four additional moderate-severity vulnerabilities through GitHub.<\/p>\n<p>Developer\u00a0iluuu1994\u00a0spearheaded remediation efforts for all the newly disclosed bugs.<\/p>\n<p>CVE-2026-7261 involves another Use-After-Free issue in the SoapServer when handling session-persisted objects<\/p>\n<p>\u00a0If a header node\u2019s handler function fails or throws an exception, the object is incorrectly freed but still written to session storage.<\/p>\n<p>CVE-2026-7262 is a <a href=\"https:\/\/cybersecuritynews.com\/macos-null-pointer-dereferences-bug\/\" target=\"_blank\" rel=\"noreferrer noopener\">NULL pointer dereference vulnerability<\/a> triggered during the decoding of Apache: Map nodes.<\/p>\n<p>By sending a specially crafted XML request missing the value node, attackers can consistently crash the PHP process, resulting in a Denial of Service.<\/p>\n<p>CVE-2026-7258 exposes an <a href=\"https:\/\/cybersecuritynews.com\/out-of-bounds-read-and-write\/\" target=\"_blank\" rel=\"noreferrer noopener\">out-of-bounds read<\/a> in the native urldecode() function.<\/p>\n<p>Due to a missing type cast when evaluating hexadecimal characters, negative byte values can cause a segmentation fault on some platforms, such as NetBSD.<\/p>\n<p>CVE-2026-6104 affects the mbstring extension: parsing encoding names containing embedded NUL bytes causes a global buffer overrun.<\/p>\n<p>This information disclosure bug can read beyond intended bounds but is not directly exploitable for code execution.<\/p>\n<p>These vulnerabilities affect multiple actively supported PHP branches for the SOAP-related flaws and the urldecode() bug.<\/p>\n<p>The affected releases include PHP versions before 8.2.31, 8.3.31, 8.4.21, and 8.5.6. The mbstring vulnerability strictly impacts versions before 8.4.21 and 8.5.6.<\/p>\n<p>Administrators are strongly advised to update their PHP environments immediately.<\/p>\n<p><a href=\"https:\/\/github.com\/php\/php-src\/security\/advisories\/GHSA-85c2-q967-79q5\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Patches contributed on GitHub by iluuu1994, iliaal, and ndossche<\/a> are now integrated into PHP versions 8.2.31, 8.3.31, 8.4.21, and 8.5.6.<\/p>\n<p>Upgrading to these patched versions securely resolves the memory mishandling and out-of-bounds read issues, defending the server against both denial-of-service and remote-code-execution attacks.<\/p>\n<p>Organizations using the SOAP extension must prioritize deploying this patch to protect critical infrastructure adequately.<\/p>\n<p class=\"has-text-align-center has-background\" style=\"background:linear-gradient(180deg,rgb(238,238,238) 91%,rgb(169,184,195) 100%)\"><strong>Follow us on\u00a0<a href=\"https:\/\/news.google.com\/publications\/CAAqMggKIixDQklTR3dnTWFoY0tGV041WW1WeWMyVmpkWEpwZEhsdVpYZHpMbU52YlNnQVAB?hl=en-IN&amp;gl=IN&amp;ceid=IN:en\" target=\"_blank\" rel=\"noreferrer noopener\">Google News<\/a>,\u00a0<a href=\"https:\/\/www.linkedin.com\/company\/cybersecurity-news\/\" target=\"_blank\" rel=\"noreferrer noopener\">LinkedIn<\/a>,\u00a0and\u00a0<a href=\"https:\/\/x.com\/cyber_press_org\" target=\"_blank\" rel=\"noreferrer noopener\">X<\/a>\u00a0to Get More Instant Updates.<\/strong><\/p>\n<p>The post <a href=\"https:\/\/cybersecuritynews.com\/php-soap-extension-vulnerabilities\/\">Critical PHP SOAP Extension Vulnerabilities Enables Remote Code Execution Attacks<\/a> appeared first on <a href=\"https:\/\/cybersecuritynews.com\/\">Cyber Security News<\/a>.<\/p>\n<\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><br \/>\n    Abinaya<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/cybersecuritynews.com\/php-soap-extension-vulnerabilities\/\">Go to cyber-security-news<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Critical PHP SOAP Extension Vulnerabilities Enables Remote Code Execution Attacks A serious cluster of vulnerabilities has been uncovered in PHP\u2019s core string processing and ext-soap components, putting numerous web servers at immediate risk of total takeover. While the SOAP extension has a notorious history of memory corruption flaws, this latest discovery crosses the red line [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,63,648],"tags":[130],"class_list":["post-12790","post","type-post","status-publish","format-standard","hentry","category-cyber-security","category-cyber-security-news","category-vulnerability-news","tag-cyber-security-news"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/12790"}],"collection":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/comments?post=12790"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/12790\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=12790"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=12790"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=12790"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}