PHPの一覧に戻る

脆弱性の詳細

PHP:脆弱性情報

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

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

どんな危険?

影響と攻撃の成立条件は、リンク先の公式情報で確認してください。

対象
PHP 8.2系 / php-src:< 8.2.31(修正版 8.2.31 に対応する系列。旧系列の影響は原文確認)PHP 8.3系 / php-src:< 8.3.31(修正版 8.3.31 に対応する系列。旧系列の影響は原文確認)PHP 8.4系 / php-src:< 8.4.21(修正版 8.4.21 に対応する系列。旧系列の影響は原文確認)PHP 8.5系 / php-src:< 8.5.6(修正版 8.5.6 に対応する系列。旧系列の影響は原文確認)
修正版
8.2.318.3.318.4.218.5.6

どうすればいい?

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

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

情報の出典と更新日時

原文と条件を確認

Consider the following snippet within `php_url_decode_ex()` at `ext/standard/url.c`, called from PHPs `urldecode()` function: https://github.com/php/php-src/blob/dcf653339c245e25ea319248d0fc071a9405d688/ext/standard/url.c#L592-L593 According to the C11 specification, `isxdigit()`'s (and all other `ctype.h` functions') only argument is of type `int`, and any value passed to it must be representable by `unsigned char`, i.e. 0-255. §7.4: > The header <ctype.h> declares several functions useful for classifying and mapping characters. In all cases the argument is an int, the value of which shall be representable as an unsigned char or shall equal the value of the macro EOF. If the argument has any other value, the behavior is undefined. On platforms where plain `char` is signed (which is most), passing a `char` with a value <0 to `int` (or casting to `int` explicitly as in this case) will lead to signed integer extension, leading to a negative `int` value. Instead, the `char` value should be cast to `unsigned char`, so that no sign extension occurs. Most platforms account for this common mistake. However, on NetBSD passing negative values to `isxdigit()` lead to an out-of-bounds read, leading to a segfault. ```php urldecode("%\x80"); ```

この情報をAIに渡す

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

JSONを見る

このサービスを共有

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

Xで共有