Skip to content
Medium 8.2

httpx2にメモリを使い果たされる脆弱性、悪意あるサーバーから攻撃される恐れ

CVE-2026-142230 First seen on SecPulse

Summary

httpx2の2.17.0までには、悪意あるサーバーからの応答でクライアントのメモリを使い果たさせられる脆弱性があります。圧縮された応答を展開すると約1000対1に膨らみ、iter_lines()やaiter_lines()で読み取るクライアントが停止する恐れがあります。修正版の有無は事実に記載がないため、最新の情報を確認してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

httpx2の2.17.0までには、悪意あるサーバーからの応答でクライアントのメモリを使い果たさせられる脆弱性があります。圧縮された応答を展開すると約1000対1に膨らみ、iter_lines()やaiter_lines()で読み取るクライアントが停止する恐れがあります。修正版の有無は事実に記載がないため、最新の情報を確認してください。

Affected packages

PackageAffected → Fixed
pydantichttpx2
≤ 2.17.0→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

Pydantic httpx2 through 2.17.0 contains an unbounded memory allocation vulnerability in LineDecoder that allows malicious servers to exhaust client memory by sending decompressed bodies without newlines. Attackers can return highly compressed gzip, deflate, brotli or zstd responses that inflate roughly 1000 to 1, terminating clients reading via iter_lines() or aiter_lines().

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details