Search

Find a vulnerability

Search criteria

    7 vulnerabilities found for httpx by encode

    CVE-2026-142229 (GCVE-0-2026-142229)

    Vulnerability from nvd – Published: 2026-12-02 16:50 – Updated: 2026-12-02 22:37
    VLAI
    Title
    Encode httpx through 0.29.0 Resource Exhaustion via Unlimited Content-Encoding Decoder Chain
    Summary
    Encode httpx through 0.29.0 contains a resource exhaustion vulnerability in Response._get_content_decoder that allows malicious servers to exhaust client CPU and memory via unlimited Content-Encoding codings. Attackers can send a Content-Encoding header listing thousands of codings, forcing allocation of thousands of decompressor objects and amplified decompression of nested bodies.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-12-02 22:37 UTC
    CWE
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Assigner
    VulnCheck CNA under the mitre root
    CNA scorecard B 85/100 over 10234 records in the last 180 days details
    Impacted products
    Vendor Product Version
    encode httpx Affected: 0 , ≤ 0.29.0 (semver)
        cpe:2.3:a:encode:httpx:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-142229",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-12-02T22:37:44.740303Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-12-02T22:37:58.860Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "packageURL": "pkg:pypi/httpx",
              "product": "httpx",
              "repo": "https://github.com/encode/httpx",
              "vendor": "encode",
              "versions": [
                {
                  "lessThanOrEqual": "0.29.0",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:encode:httpx:*:*:*:*:*:*:*:*",
                      "versionEndIncluding": "0.29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Zachariah Mithani (AploSec)"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Encode httpx through 0.29.0 contains a resource exhaustion vulnerability in Response._get_content_decoder that allows malicious servers to exhaust client CPU and memory via unlimited Content-Encoding codings. Attackers can send a Content-Encoding header listing thousands of codings, forcing allocation of thousands of decompressor objects and amplified decompression of nested bodies."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "attackComplexity": "HIGH",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "vectorString": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "LOW",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE"
              },
              "format": "CVSS"
            },
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "LOW",
                "baseScore": 3.7,
                "baseSeverity": "LOW",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L",
                "version": "3.1"
              },
              "format": "CVSS"
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-12-02T16:50:15.196Z",
            "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
            "shortName": "VulnCheck"
          },
          "references": [
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/encode/httpx/blob/0.29.0/httpx/_models.py#L699-L722"
            },
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/encode/httpx/blob/0.29.0/httpx/_decoders.py#L203-L226"
            },
            {
              "name": "VulnCheck Advisory: Encode httpx through 0.29.0 Resource Exhaustion via Unlimited Content-Encoding Decoder Chain",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://www.vulncheck.com/advisories/encode-httpx-through-0.29.0-resource-exhaustion-via-unlimited-content-encoding-decoder-chain"
            }
          ],
          "title": "Encode httpx through 0.29.0 Resource Exhaustion via Unlimited Content-Encoding Decoder Chain",
          "x_generator": {
            "engine": "vulncheck-endgame"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "assignerShortName": "VulnCheck",
        "cveId": "CVE-2026-142229",
        "datePublished": "2026-12-02T16:50:15.196Z",
        "dateReserved": "2026-12-02T15:28:49.639Z",
        "dateUpdated": "2026-12-02T22:37:58.860Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-142228 (GCVE-0-2026-142228)

    Vulnerability from nvd – Published: 2026-12-02 16:50 – Updated: 2026-12-03 16:14
    VLAI
    Title
    Encode httpx through 0.29.0 Memory Exhaustion via Unbounded Response Decompression
    Summary
    Encode httpx through 0.29.0 contains an unbounded decompression vulnerability that allows malicious servers to exhaust client memory by returning highly compressed response bodies. Attackers can stack Content-Encoding layers so each 64 KB network read expands to tens of megabytes, bypassing iter_bytes chunk limits and terminating the process.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-12-03 15:10 UTC
    CWE
    • CWE-409 - Improper Handling of Highly Compressed Data (Data Amplification)
    Assigner
    VulnCheck CNA under the mitre root
    CNA scorecard B 85/100 over 10234 records in the last 180 days details
    Impacted products
    Vendor Product Version
    encode httpx Affected: 0 , ≤ 0.29.0 (semver)
        cpe:2.3:a:encode:httpx:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-142228",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-12-03T15:10:47.656873Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-12-03T16:14:39.609Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "packageURL": "pkg:pypi/httpx",
              "product": "httpx",
              "repo": "https://github.com/encode/httpx",
              "vendor": "encode",
              "versions": [
                {
                  "lessThanOrEqual": "0.29.0",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:encode:httpx:*:*:*:*:*:*:*:*",
                      "versionEndIncluding": "0.29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Zachariah Mithani (AploSec)"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Encode httpx through 0.29.0 contains an unbounded decompression vulnerability that allows malicious servers to exhaust client memory by returning highly compressed response bodies. Attackers can stack Content-Encoding layers so each 64 KB network read expands to tens of megabytes, bypassing iter_bytes chunk limits and terminating the process."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "attackComplexity": "HIGH",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 8.2,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "vectorString": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE"
              },
              "format": "CVSS"
            },
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 5.9,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "format": "CVSS"
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-409",
                  "description": "Improper Handling of Highly Compressed Data (Data Amplification)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-12-02T16:50:16.350Z",
            "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
            "shortName": "VulnCheck"
          },
          "references": [
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/encode/httpx/blob/0.29.0/httpx/_decoders.py#L56-L105"
            },
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/encode/httpx/blob/0.29.0/httpx/_models.py#L883-L903"
            },
            {
              "name": "VulnCheck Advisory: Encode httpx through 0.29.0 Memory Exhaustion via Unbounded Response Decompression",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://www.vulncheck.com/advisories/encode-httpx-through-0.29.0-memory-exhaustion-via-unbounded-response-decompression"
            }
          ],
          "title": "Encode httpx through 0.29.0 Memory Exhaustion via Unbounded Response Decompression",
          "x_generator": {
            "engine": "vulncheck-endgame"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "assignerShortName": "VulnCheck",
        "cveId": "CVE-2026-142228",
        "datePublished": "2026-12-02T16:50:16.350Z",
        "dateReserved": "2026-12-02T15:28:49.287Z",
        "dateUpdated": "2026-12-03T16:14:39.609Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2021-41945 (GCVE-0-2021-41945)

    Vulnerability from nvd – Published: 2022-04-28 13:22 – Updated: 2026-07-09 00:15
    VLAI
    Summary
    Encode OSS httpx < 0.23.0 is affected by improper input validation in `httpx.URL`, `httpx.Client` and some functions using `httpx.URL.copy_with`.
    Severity
    No CVSS data available.
    CWE
    • n/a
    Assigner
    mitre CNA under the mitre root
    CNA scorecard E 30/100 over 1916 records in the last 180 days details
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2026-07-09T00:15:07.517Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/encode/httpx"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/encode/httpx/discussions/1831"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/encode/httpx/issues/2184"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/encode/httpx/releases/tag/0.23.0"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "n/a",
              "vendor": "n/a",
              "versions": [
                {
                  "status": "affected",
                  "version": "n/a"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Encode OSS httpx \u003c 0.23.0 is affected by improper input validation in `httpx.URL`, `httpx.Client` and some functions using `httpx.URL.copy_with`."
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "description": "n/a",
                  "lang": "en",
                  "type": "text"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-07-04T23:44:15.777Z",
            "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
            "shortName": "mitre"
          },
          "references": [
            {
              "url": "https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571"
            },
            {
              "url": "https://github.com/encode/httpx"
            },
            {
              "url": "https://github.com/encode/httpx/discussions/1831"
            },
            {
              "url": "https://github.com/encode/httpx/issues/2184"
            },
            {
              "url": "https://github.com/encode/httpx/releases/tag/0.23.0"
            }
          ],
          "x_legacyV4Record": {
            "CVE_data_meta": {
              "ASSIGNER": "cve@mitre.org",
              "ID": "CVE-2021-41945",
              "STATE": "PUBLIC"
            },
            "affects": {
              "vendor": {
                "vendor_data": [
                  {
                    "product": {
                      "product_data": [
                        {
                          "product_name": "n/a",
                          "version": {
                            "version_data": [
                              {
                                "version_value": "n/a"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "vendor_name": "n/a"
                  }
                ]
              }
            },
            "data_format": "MITRE",
            "data_type": "CVE",
            "data_version": "4.0",
            "description": {
              "description_data": [
                {
                  "lang": "eng",
                  "value": "Encode OSS httpx \u003c 0.23.0 is affected by improper input validation in `httpx.URL`, `httpx.Client` and some functions using `httpx.URL.copy_with`."
                }
              ]
            },
            "problemtype": {
              "problemtype_data": [
                {
                  "description": [
                    {
                      "lang": "eng",
                      "value": "n/a"
                    }
                  ]
                }
              ]
            },
            "references": {
              "reference_data": [
                {
                  "name": "http://encode.com",
                  "refsource": "MISC",
                  "url": "http://encode.com"
                },
                {
                  "name": "https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571",
                  "refsource": "MISC",
                  "url": "https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571"
                },
                {
                  "name": "https://github.com/encode/httpx",
                  "refsource": "MISC",
                  "url": "https://github.com/encode/httpx"
                },
                {
                  "name": "https://github.com/encode/httpx/discussions/1831",
                  "refsource": "MISC",
                  "url": "https://github.com/encode/httpx/discussions/1831"
                },
                {
                  "name": "https://github.com/encode/httpx/issues/2184",
                  "refsource": "MISC",
                  "url": "https://github.com/encode/httpx/issues/2184"
                },
                {
                  "name": "https://github.com/encode/httpx/releases/tag/0.23.0",
                  "refsource": "MISC",
                  "url": "https://github.com/encode/httpx/releases/tag/0.23.0"
                }
              ]
            }
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2021-41945",
        "datePublished": "2022-04-28T13:22:10.000Z",
        "dateReserved": "2021-10-04T00:00:00.000Z",
        "dateUpdated": "2026-07-09T00:15:07.517Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-142228 (GCVE-0-2026-142228)

    Vulnerability from cvelistv5 – Published: 2026-12-02 16:50 – Updated: 2026-12-03 16:14
    VLAI
    Title
    Encode httpx through 0.29.0 Memory Exhaustion via Unbounded Response Decompression
    Summary
    Encode httpx through 0.29.0 contains an unbounded decompression vulnerability that allows malicious servers to exhaust client memory by returning highly compressed response bodies. Attackers can stack Content-Encoding layers so each 64 KB network read expands to tens of megabytes, bypassing iter_bytes chunk limits and terminating the process.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-12-03 15:10 UTC
    CWE
    • CWE-409 - Improper Handling of Highly Compressed Data (Data Amplification)
    Assigner
    VulnCheck CNA under the mitre root
    CNA scorecard B 85/100 over 10234 records in the last 180 days details
    Impacted products
    Vendor Product Version
    encode httpx Affected: 0 , ≤ 0.29.0 (semver)
        cpe:2.3:a:encode:httpx:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-142228",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-12-03T15:10:47.656873Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-12-03T16:14:39.609Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "packageURL": "pkg:pypi/httpx",
              "product": "httpx",
              "repo": "https://github.com/encode/httpx",
              "vendor": "encode",
              "versions": [
                {
                  "lessThanOrEqual": "0.29.0",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:encode:httpx:*:*:*:*:*:*:*:*",
                      "versionEndIncluding": "0.29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Zachariah Mithani (AploSec)"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Encode httpx through 0.29.0 contains an unbounded decompression vulnerability that allows malicious servers to exhaust client memory by returning highly compressed response bodies. Attackers can stack Content-Encoding layers so each 64 KB network read expands to tens of megabytes, bypassing iter_bytes chunk limits and terminating the process."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "attackComplexity": "HIGH",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 8.2,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "vectorString": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE"
              },
              "format": "CVSS"
            },
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 5.9,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "format": "CVSS"
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-409",
                  "description": "Improper Handling of Highly Compressed Data (Data Amplification)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-12-02T16:50:16.350Z",
            "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
            "shortName": "VulnCheck"
          },
          "references": [
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/encode/httpx/blob/0.29.0/httpx/_decoders.py#L56-L105"
            },
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/encode/httpx/blob/0.29.0/httpx/_models.py#L883-L903"
            },
            {
              "name": "VulnCheck Advisory: Encode httpx through 0.29.0 Memory Exhaustion via Unbounded Response Decompression",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://www.vulncheck.com/advisories/encode-httpx-through-0.29.0-memory-exhaustion-via-unbounded-response-decompression"
            }
          ],
          "title": "Encode httpx through 0.29.0 Memory Exhaustion via Unbounded Response Decompression",
          "x_generator": {
            "engine": "vulncheck-endgame"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "assignerShortName": "VulnCheck",
        "cveId": "CVE-2026-142228",
        "datePublished": "2026-12-02T16:50:16.350Z",
        "dateReserved": "2026-12-02T15:28:49.287Z",
        "dateUpdated": "2026-12-03T16:14:39.609Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-142229 (GCVE-0-2026-142229)

    Vulnerability from cvelistv5 – Published: 2026-12-02 16:50 – Updated: 2026-12-02 22:37
    VLAI
    Title
    Encode httpx through 0.29.0 Resource Exhaustion via Unlimited Content-Encoding Decoder Chain
    Summary
    Encode httpx through 0.29.0 contains a resource exhaustion vulnerability in Response._get_content_decoder that allows malicious servers to exhaust client CPU and memory via unlimited Content-Encoding codings. Attackers can send a Content-Encoding header listing thousands of codings, forcing allocation of thousands of decompressor objects and amplified decompression of nested bodies.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-12-02 22:37 UTC
    CWE
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Assigner
    VulnCheck CNA under the mitre root
    CNA scorecard B 85/100 over 10234 records in the last 180 days details
    Impacted products
    Vendor Product Version
    encode httpx Affected: 0 , ≤ 0.29.0 (semver)
        cpe:2.3:a:encode:httpx:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-142229",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-12-02T22:37:44.740303Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-12-02T22:37:58.860Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "packageURL": "pkg:pypi/httpx",
              "product": "httpx",
              "repo": "https://github.com/encode/httpx",
              "vendor": "encode",
              "versions": [
                {
                  "lessThanOrEqual": "0.29.0",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:encode:httpx:*:*:*:*:*:*:*:*",
                      "versionEndIncluding": "0.29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Zachariah Mithani (AploSec)"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Encode httpx through 0.29.0 contains a resource exhaustion vulnerability in Response._get_content_decoder that allows malicious servers to exhaust client CPU and memory via unlimited Content-Encoding codings. Attackers can send a Content-Encoding header listing thousands of codings, forcing allocation of thousands of decompressor objects and amplified decompression of nested bodies."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "attackComplexity": "HIGH",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "vectorString": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "LOW",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE"
              },
              "format": "CVSS"
            },
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "LOW",
                "baseScore": 3.7,
                "baseSeverity": "LOW",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L",
                "version": "3.1"
              },
              "format": "CVSS"
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-12-02T16:50:15.196Z",
            "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
            "shortName": "VulnCheck"
          },
          "references": [
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/encode/httpx/blob/0.29.0/httpx/_models.py#L699-L722"
            },
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/encode/httpx/blob/0.29.0/httpx/_decoders.py#L203-L226"
            },
            {
              "name": "VulnCheck Advisory: Encode httpx through 0.29.0 Resource Exhaustion via Unlimited Content-Encoding Decoder Chain",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://www.vulncheck.com/advisories/encode-httpx-through-0.29.0-resource-exhaustion-via-unlimited-content-encoding-decoder-chain"
            }
          ],
          "title": "Encode httpx through 0.29.0 Resource Exhaustion via Unlimited Content-Encoding Decoder Chain",
          "x_generator": {
            "engine": "vulncheck-endgame"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "assignerShortName": "VulnCheck",
        "cveId": "CVE-2026-142229",
        "datePublished": "2026-12-02T16:50:15.196Z",
        "dateReserved": "2026-12-02T15:28:49.639Z",
        "dateUpdated": "2026-12-02T22:37:58.860Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2021-41945 (GCVE-0-2021-41945)

    Vulnerability from cvelistv5 – Published: 2022-04-28 13:22 – Updated: 2026-07-09 00:15
    VLAI
    Summary
    Encode OSS httpx < 0.23.0 is affected by improper input validation in `httpx.URL`, `httpx.Client` and some functions using `httpx.URL.copy_with`.
    Severity
    No CVSS data available.
    CWE
    • n/a
    Assigner
    mitre CNA under the mitre root
    CNA scorecard E 30/100 over 1916 records in the last 180 days details
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2026-07-09T00:15:07.517Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/encode/httpx"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/encode/httpx/discussions/1831"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/encode/httpx/issues/2184"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/encode/httpx/releases/tag/0.23.0"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "n/a",
              "vendor": "n/a",
              "versions": [
                {
                  "status": "affected",
                  "version": "n/a"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Encode OSS httpx \u003c 0.23.0 is affected by improper input validation in `httpx.URL`, `httpx.Client` and some functions using `httpx.URL.copy_with`."
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "description": "n/a",
                  "lang": "en",
                  "type": "text"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-07-04T23:44:15.777Z",
            "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
            "shortName": "mitre"
          },
          "references": [
            {
              "url": "https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571"
            },
            {
              "url": "https://github.com/encode/httpx"
            },
            {
              "url": "https://github.com/encode/httpx/discussions/1831"
            },
            {
              "url": "https://github.com/encode/httpx/issues/2184"
            },
            {
              "url": "https://github.com/encode/httpx/releases/tag/0.23.0"
            }
          ],
          "x_legacyV4Record": {
            "CVE_data_meta": {
              "ASSIGNER": "cve@mitre.org",
              "ID": "CVE-2021-41945",
              "STATE": "PUBLIC"
            },
            "affects": {
              "vendor": {
                "vendor_data": [
                  {
                    "product": {
                      "product_data": [
                        {
                          "product_name": "n/a",
                          "version": {
                            "version_data": [
                              {
                                "version_value": "n/a"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "vendor_name": "n/a"
                  }
                ]
              }
            },
            "data_format": "MITRE",
            "data_type": "CVE",
            "data_version": "4.0",
            "description": {
              "description_data": [
                {
                  "lang": "eng",
                  "value": "Encode OSS httpx \u003c 0.23.0 is affected by improper input validation in `httpx.URL`, `httpx.Client` and some functions using `httpx.URL.copy_with`."
                }
              ]
            },
            "problemtype": {
              "problemtype_data": [
                {
                  "description": [
                    {
                      "lang": "eng",
                      "value": "n/a"
                    }
                  ]
                }
              ]
            },
            "references": {
              "reference_data": [
                {
                  "name": "http://encode.com",
                  "refsource": "MISC",
                  "url": "http://encode.com"
                },
                {
                  "name": "https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571",
                  "refsource": "MISC",
                  "url": "https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571"
                },
                {
                  "name": "https://github.com/encode/httpx",
                  "refsource": "MISC",
                  "url": "https://github.com/encode/httpx"
                },
                {
                  "name": "https://github.com/encode/httpx/discussions/1831",
                  "refsource": "MISC",
                  "url": "https://github.com/encode/httpx/discussions/1831"
                },
                {
                  "name": "https://github.com/encode/httpx/issues/2184",
                  "refsource": "MISC",
                  "url": "https://github.com/encode/httpx/issues/2184"
                },
                {
                  "name": "https://github.com/encode/httpx/releases/tag/0.23.0",
                  "refsource": "MISC",
                  "url": "https://github.com/encode/httpx/releases/tag/0.23.0"
                }
              ]
            }
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2021-41945",
        "datePublished": "2022-04-28T13:22:10.000Z",
        "dateReserved": "2021-10-04T00:00:00.000Z",
        "dateUpdated": "2026-07-09T00:15:07.517Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    FKIE_CVE-2021-41945

    Vulnerability from fkie_nvd - Published: 2022-04-28 14:15 - Updated: 2026-07-09 01:17
    Summary
    Encode OSS httpx < 0.23.0 is affected by improper input validation in `httpx.URL`, `httpx.Client` and some functions using `httpx.URL.copy_with`.
    Impacted products
    Vendor Product Version
    encode httpx *

    {
      "affected": [
        {
          "affectedData": [
            {
              "product": "n/a",
              "vendor": "n/a",
              "versions": [
                {
                  "status": "affected",
                  "version": "n/a"
                }
              ]
            }
          ],
          "source": "cve@mitre.org"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:encode:httpx:*:*:*:*:*:python:*:*",
                  "matchCriteriaId": "984D81ED-5C7E-493D-9CDD-8F4B0A85BFD1",
                  "versionEndExcluding": "0.23.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "value": "Encode OSS httpx \u003c 0.23.0 is affected by improper input validation in `httpx.URL`, `httpx.Client` and some functions using `httpx.URL.copy_with`."
        },
        {
          "lang": "es",
          "value": "Encode OSS httpx anterior a la versi\u00f3n 0.23.0 se ve afectado por una validaci\u00f3n de entrada inadecuada en `httpx.URL`, `httpx.Client` y algunas funciones que utilizan `httpx.URL.copy_with`."
        }
      ],
      "id": "CVE-2021-41945",
      "lastModified": "2026-07-09T01:17:04.390",
      "metrics": {
        "cvssMetricV2": [
          {
            "acInsufInfo": false,
            "baseSeverity": "MEDIUM",
            "cvssData": {
              "accessComplexity": "LOW",
              "accessVector": "NETWORK",
              "authentication": "NONE",
              "availabilityImpact": "NONE",
              "baseScore": 6.4,
              "confidentialityImpact": "PARTIAL",
              "integrityImpact": "PARTIAL",
              "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:N",
              "version": "2.0"
            },
            "exploitabilityScore": 10.0,
            "impactScore": 4.9,
            "obtainAllPrivilege": false,
            "obtainOtherPrivilege": false,
            "obtainUserPrivilege": false,
            "source": "nvd@nist.gov",
            "type": "Primary",
            "userInteractionRequired": false
          }
        ],
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 9.1,
              "baseSeverity": "CRITICAL",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
              "version": "3.1"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 5.2,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      },
      "published": "2022-04-28T14:15:07.617",
      "references": [
        {
          "source": "cve@mitre.org",
          "tags": [
            "Exploit",
            "Third Party Advisory"
          ],
          "url": "https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571"
        },
        {
          "source": "cve@mitre.org",
          "tags": [
            "Product",
            "Third Party Advisory"
          ],
          "url": "https://github.com/encode/httpx"
        },
        {
          "source": "cve@mitre.org",
          "tags": [
            "Exploit",
            "Issue Tracking",
            "Third Party Advisory"
          ],
          "url": "https://github.com/encode/httpx/discussions/1831"
        },
        {
          "source": "cve@mitre.org",
          "tags": [
            "Exploit",
            "Issue Tracking",
            "Third Party Advisory"
          ],
          "url": "https://github.com/encode/httpx/issues/2184"
        },
        {
          "source": "cve@mitre.org",
          "tags": [
            "Release Notes",
            "Third Party Advisory"
          ],
          "url": "https://github.com/encode/httpx/releases/tag/0.23.0"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Exploit",
            "Third Party Advisory"
          ],
          "url": "https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Product",
            "Third Party Advisory"
          ],
          "url": "https://github.com/encode/httpx"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Exploit",
            "Issue Tracking",
            "Third Party Advisory"
          ],
          "url": "https://github.com/encode/httpx/discussions/1831"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Exploit",
            "Issue Tracking",
            "Third Party Advisory"
          ],
          "url": "https://github.com/encode/httpx/issues/2184"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Release Notes",
            "Third Party Advisory"
          ],
          "url": "https://github.com/encode/httpx/releases/tag/0.23.0"
        }
      ],
      "sourceIdentifier": "cve@mitre.org",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-20"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    }