PHPの一覧に戻る

脆弱性の詳細

PHP:サービス停止

PHP 本体CVE-2026-7263重要度:高悪用状況:未確認修正版情報あり

PHPにサービス停止に関する脆弱性情報があります。影響を受ける条件を確認してください。

どんな危険?

処理の停止や過大な負荷により、サービスを利用できなくなる可能性があります。

対象
PHP 8.4系 / ext-dom:< 8.4.21(修正版 8.4.21 に対応する系列。旧系列の影響は原文確認)PHP 8.5系 / ext-dom:< 8.5.6(修正版 8.5.6 に対応する系列。旧系列の影響は原文確認)
修正版
8.4.218.5.6

どうすればいい?

  1. 使っている製品名・バージョン・構成を、影響を受ける条件と照合してください。
  2. 公式の修正版を確認し、バックアップと動作確認のうえで更新してください。
  3. 更新後は稼働中のバージョンと動作を確認してください。管理を委託している場合は、提供元に対応状況を確認してください。
情報源の原文を確認

悪用状況の「未確認」は、悪用されていないことを意味しません。対策は製品・バージョン・利用条件によって異なります。適用前に情報源とご自身の環境を確認してください。

情報の出典と更新日時

原文と条件を確認

**Researcher: Nikita Sveshnikov (Positive Technologies)** In `DOMNode::C14N()`, improper removal of a `xmlns` libxml2 attribute from a doubly linked list can lead to a corrupt, circular linked list. The linked list is iterated in many places in PHP and libxml2, leading to DoS through segfaults, or temporal and spatial resource starvation. ```php $doc = Dom\HTMLDocument::createFromString('<svg foo="foo" xmlns="" bar="bar">'); $doc->C14N(); // Segfault on cleanup // Or $doc = Dom\HTMLDocument::createFromString('<svg foo="foo" xmlns="" bar="bar">'); $doc->C14N(); $svg = $doc->documentElement->childNodes[1]->childNodes[0]; foreach ($svg->attributes as $prop) {} // This will loop forever ``` The attribute is removed incorrectly here: https://github.com/php/php-src/blob/f0f28b763c8696511c3b80fb8b25ae8765b2d94b/ext/dom/node.c#L2134-L2141 Notice the `attr->prev = attr->next;` instead of `attr->prev->next = attr->next;`. The attribute is later (correctly) restored here: https://github.com/php/php-src/blob/f0f28b763c8696511c3b80fb8b25ae8765b2d94b/ext/dom/node.c#L2182-L2189 After both procedures, the following graph: ```mermaid flowchart TD A -- "Next" --> xmlns xmlns -- "Prev" --> A xmlns -- "Next" --> B B -- "Prev" --> xmlns ``` Would result in this graph: ```mermaid flowchart TD A -- "Next" --> xmlns xmlns -- "Prev" --> B xmlns -- "Next" --> B B -- "Prev" --> xmlns B -- "Next" --> xmlns ``` Continuously following `next` will result in an infinite loop.

この情報をAIに渡す

対象・リスク・対策・出典を同じ内容で取得

JSONを見る

このサービスを共有

脆弱性を確認する入口を、チームや知り合いに。

Xで共有