{"id":4467,"date":"2026-11-20T06:34:25","date_gmt":"2026-11-20T14:34:25","guid":{"rendered":"https:\/\/cyber.mag212.com\/ruby2shell-cve-2026-132825-php-security-release-november-2026\/"},"modified":"2026-11-20T06:34:25","modified_gmt":"2026-11-20T14:34:25","slug":"ruby2shell-cve-2026-132825-php-security-release-november-2026","status":"publish","type":"post","link":"https:\/\/cyber.mag212.com\/fr\/ruby2shell-cve-2026-132825-php-security-release-november-2026\/","title":{"rendered":"Ruby2Shell (CVE-2026-132825) et la mise \u00e0 jour de s\u00e9curit\u00e9 PHP de novembre\u00a0: quelles mises \u00e0 jour effectuer et pourquoi une simple mise \u00e0 jour group\u00e9e ne suffit pas\u00a0?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><em>From the <a href=\"https:\/\/cyber.mag212.com\/the-keys-to-vsphere-mag212-cyber-daily-november-20-2026\/\">MAG212 CYBER Daily, 20 November 2026<\/a>. Every command is copied from official documentation or the cited analysis and was <strong>not tested by MAG212<\/strong>; run it only on systems you are authorised to administer.<\/em><\/p>\n\n\n\n<p class=\"m2-status wp-block-paragraph\"><strong>Status:<\/strong> <strong>Ruby fixed on 18 November 2026<\/strong> (4.0.10, 3.4.13, 3.3.14); Ruby 3.2 and older get no fix. <strong>PHP fixed on 19 November<\/strong> (8.6.0, 8.5.13, 8.4.28, 8.3.37, 8.2.36). <strong>No exploitation reported<\/strong> for either. Ruby2Shell&#8217;s severity varies by source: CVSS 7.4 per SecurityWeek, &#8220;critical&#8221; per The Hacker News. <sup><a href=\"#src-1\">[1]<\/a><\/sup><sup><a href=\"#src-2\">[2]<\/a><\/sup><sup><a href=\"#src-3\">[3]<\/a><\/sup><sup><a href=\"#src-4\">[4]<\/a><\/sup><sup><a href=\"#src-6\">[6]<\/a><\/sup><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ruby: what happened<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">On 18 November the Ruby project fixed seven memory-safety flaws in Regexp and String case conversion and warned it was &#8220;aware of PoCs&#8221; showing that some can lead to remote code execution. The most discussed is Ruby2Shell, CVE-2026-132825 (GHSA-34m4-m9fh-gqp5), credited to Stephan Lipp of Ada Logics and Anthropic. The name comes from Veria Labs&#8217; research. <sup><a href=\"#src-1\">[1]<\/a><\/sup><sup><a href=\"#src-3\">[3]<\/a><\/sup><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why this matters<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">These bugs live in the language runtimes themselves, which sit under huge numbers of web applications. Updating application dependencies does nothing; the interpreter in every server, worker and container image has to be replaced. Proofs of concept exist for some of the Ruby flaws, and attackers have targeted PHP heavily this year. <em>(MAG212 analysis)<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/cyber.mag212.com\/wp-content\/uploads\/2026\/11\/runtimes-20nov-diagram.png\"><img decoding=\"async\" src=\"https:\/\/cyber.mag212.com\/wp-content\/uploads\/2026\/11\/runtimes-20nov-diagram.png\" alt=\"Update the interpreter, not the app. Diagram by MAG212 CYBER.\"\/><\/a><figcaption class=\"wp-element-caption\">Table from the MAG212 CYBER Daily, 20 November 2026. Sources are listed below.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">The Ruby bug<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In some single-byte encodings, such as ISO-8859-1 and Windows-1252, changing the case of a string can write one byte past the output buffer. Upcasing &#8220;\u00df&#8221; produces &#8220;SS&#8221;: Ruby checks there is room for one byte but writes two. Researchers say it can be reached in some web applications that change the case of incoming text. <sup><a href=\"#src-2\">[2]<\/a><\/sup><sup><a href=\"#src-3\">[3]<\/a><\/sup><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exploitation is not easy. watchTowr says turning it into code execution in production needs a non-glibc memory allocator, specific runtime configuration and application logic, plus a way around address-space randomisation. SecurityWeek expects malformed requests most likely to cause crashes. Veria Labs plans to publish its proof of concept about a week after disclosure. <sup><a href=\"#src-2\">[2]<\/a><\/sup><sup><a href=\"#src-3\">[3]<\/a><\/sup><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Ruby branch<\/th><th>Vulnerable<\/th><th>Fixed<\/th><\/tr><\/thead><tbody><tr><td>4.0<\/td><td>4.0.0\u20134.0.9<\/td><td>4.0.10<\/td><\/tr><tr><td>3.4<\/td><td>3.4.0\u20133.4.12<\/td><td>3.4.13<\/td><\/tr><tr><td>3.3<\/td><td>3.3.13 and earlier<\/td><td>3.3.14<\/td><\/tr><tr><td>3.2 and older<\/td><td>end of life<\/td><td>no fix<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Source: ruby-lang.org. The advisory lists no workaround. GitHub Enterprise Server is affected; GitLab and others have patched. <sup><a href=\"#src-1\">[1]<\/a><\/sup><sup><a href=\"#src-2\">[2]<\/a><\/sup><sup><a href=\"#src-3\">[3]<\/a><\/sup><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">PHP: what happened<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">On 19 November PHP released 8.6.0 and 8.5.13, fixing 7 critical and 10 high or medium bugs. Most fixes also landed in 8.4.28, 8.3.37 and 8.2.36. Highlights: <sup><a href=\"#src-4\">[4]<\/a><\/sup><sup><a href=\"#src-5\">[5]<\/a><\/sup><sup><a href=\"#src-6\">[6]<\/a><\/sup><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>CVE-2026-129289:<\/strong> request smuggling in PHP-FPM and LSAPI, CVSS 9.2. <sup><a href=\"#src-6\">[6]<\/a><\/sup><\/li>\n\n<li><strong>CVE-2026-115560:<\/strong> a session deserialization bug that can lead to code execution, but only where <code>session.serialize_handler<\/code> is changed at runtime. Aikido&#8217;s stop-gap is to set <code>session.upload_progress.enabled=0<\/code>. <sup><a href=\"#src-5\">[5]<\/a><\/sup><\/li>\n\n<li><strong>CVE-2026-129481 and CVE-2026-129182:<\/strong> related to PHP2Shell, the widely exploited October bug. <sup><a href=\"#src-6\">[6]<\/a><\/sup><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How to check<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">These are standard version checks, a MAG212 suggestion to compare with the fixed releases above. They were <strong>not tested by MAG212<\/strong>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ruby -v<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>bundle exec ruby -v<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>docker run --rm IMAGE ruby -v<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>php -v<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>php -i | grep upload_progress.enabled<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace IMAGE with each of your container images.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why &#8220;bundle update&#8221; is not enough<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Ruby2Shell lives in the interpreter binary. Updating gems or Rails does not touch it.<\/li>\n\n<li>Rebuild base images, redeploy and restart long-running workers such as Sidekiq.<\/li>\n\n<li>For PHP, update the PHP-FPM or mod_php package and restart the pool; application code changes do not help.<\/li>\n\n<li>On managed platforms (PaaS, hosted CI), confirm the provider has rolled out the new runtime.<\/li>\n\n<li>Ruby 3.2 apps get no fix: plan the upgrade now.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Related on MAG212 CYBER<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/cyber.mag212.com\/the-keys-to-vsphere-mag212-cyber-daily-november-20-2026\/\">MAG212 CYBER Daily, 20 November 2026: The keys to vSphere<\/a> (full issue and PDF)<\/li>\n\n<li><a href=\"https:\/\/cyber.mag212.com\/a-ten-year-old-counter-mag212-cyber-daily-november-19-2026\/\">MAG212 CYBER Daily, 19 November 2026: A ten-year-old counter<\/a><\/li>\n\n<li><a href=\"https:\/\/cyber.mag212.com\/one-equals-sign-too-many-mag212-cyber-daily-november-18-2026\/\">MAG212 CYBER Daily, 18 November 2026: One equals sign too many<\/a><\/li>\n\n<li><a href=\"https:\/\/cyber.mag212.com\/the-keys-were-already-inside-mag212-cyber-weekly-november-14-2026\/\">MAG212 CYBER Weekly, 14 November 2026<\/a><\/li>\n\n<li><a href=\"https:\/\/cyber.mag212.com\/subscribe-free\/\">Subscribe free to MAG212 CYBER<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Sources<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><span id=\"src-1\">[1]<\/span> ruby-lang.org, &#8220;<a href=\"https:\/\/www.ruby-lang.org\/en\/news\/2026\/11\/18\/multiple-vulnerabilities-in-regexp-and-string\/\" rel=\"noopener\" target=\"_blank\">Multiple vulnerabilities in Regexp and String case conversion<\/a>&#8220;, 18 Nov 2026.<\/li>\n\n<li><span id=\"src-2\">[2]<\/span> SecurityWeek, &#8220;<a href=\"https:\/\/www.securityweek.com\/ruby-patches-ruby2shell-vulnerability-that-could-lead-to-rce\/\" rel=\"noopener\" target=\"_blank\">Ruby patches Ruby2Shell vulnerability that could lead to RCE<\/a>&#8220;, 19 Nov 2026.<\/li>\n\n<li><span id=\"src-3\">[3]<\/span> The Hacker News, &#8220;<a href=\"https:\/\/thehackernews.com\/2026\/11\/ruby-releases-fixes-for-7-regex-and.html\" rel=\"noopener\" target=\"_blank\">Ruby releases fixes for 7 regex and string flaws<\/a>&#8220;, 19 Nov 2026.<\/li>\n\n<li><span id=\"src-4\">[4]<\/span> PHP, &#8220;<a href=\"https:\/\/www.php.net\/ChangeLog-8.php\" rel=\"noopener\" target=\"_blank\">PHP 8 ChangeLog<\/a>&#8220;, 19 Nov 2026.<\/li>\n\n<li><span id=\"src-5\">[5]<\/span> Aikido, &#8220;<a href=\"https:\/\/www.aikido.dev\/blog\/php-security-release-19-november-2026-cve-2026-115560\" rel=\"noopener\" target=\"_blank\">PHP security release, 19 November 2026 (CVE-2026-115560)<\/a>&#8220;, 19 Nov 2026.<\/li>\n\n<li><span id=\"src-6\">[6]<\/span> SecurityWeek, &#8220;<a href=\"https:\/\/www.securityweek.com\/php-patches-seven-critical-rce-vulnerabilities\/\" rel=\"noopener\" target=\"_blank\">PHP patches seven critical RCE vulnerabilities<\/a>&#8220;, 19 Nov 2026.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Written and edited by El Mostafa Ouchen for MAG212 CYBER. Facts checked against the sources above as of 20 November 2026, 6:00 AM PT.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ruby fixed seven Regexp and String flaws, including Ruby2Shell (CVE-2026-132825), on 18 November, and PHP shipped fixes for 7 critical bugs on 19 November. No attacks are reported. Fixed versions, what the bugs do, how to check, and why updating gems does not fix the interpreter.<\/p>","protected":false},"author":1,"featured_media":4465,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[530,529,527,107,32,528,498,508],"class_list":["post-4467","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-critical-cves","tag-application-security","tag-cve-2026-129289","tag-cve-2026-132825","tag-patch-management","tag-php","tag-php-fpm","tag-ruby","tag-ruby2shell"],"_links":{"self":[{"href":"https:\/\/cyber.mag212.com\/fr\/wp-json\/wp\/v2\/posts\/4467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyber.mag212.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cyber.mag212.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cyber.mag212.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cyber.mag212.com\/fr\/wp-json\/wp\/v2\/comments?post=4467"}],"version-history":[{"count":0,"href":"https:\/\/cyber.mag212.com\/fr\/wp-json\/wp\/v2\/posts\/4467\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cyber.mag212.com\/fr\/wp-json\/wp\/v2\/media\/4465"}],"wp:attachment":[{"href":"https:\/\/cyber.mag212.com\/fr\/wp-json\/wp\/v2\/media?parent=4467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cyber.mag212.com\/fr\/wp-json\/wp\/v2\/categories?post=4467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cyber.mag212.com\/fr\/wp-json\/wp\/v2\/tags?post=4467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}