# CVE-2022-40899: Python Charmers Future denial of service vulnerability

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.93%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-12-22T00:00:00.000Z
- Modified: 2026-06-17T05:02:13.347Z
- Also known as: GHSA-v3c5-jqr6-7qm8, PYSEC-2022-42991
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## Description

An issue discovered in Python Charmers Future 0.18.2 and earlier allows remote attackers to cause a denial of service via crafted Set-Cookie header from malicious web server.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- future (PyPI): before 0.18.3
- pythoncharmers python-future: up to 0.18.2

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/python/cpython/pull/17157> (exploit, evidence, fix, patch, third-party-advisory, web)
- <https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/> (exploit, advisory, evidence, vendor-advisory)
- <https://pypi.org/project/future/> (package, product, third-party-advisory)
- <https://github.com/PythonCharmers/python-future/blob/master/src/future/backports/http/cookiejar.py#L215> (third-party-advisory, web)
- <https://github.com/PythonCharmers/python-future/pull/610> (issue-tracking, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-40899> (advisory)
- <https://github.com/PythonCharmers/python-future/commit/c91d70b34ef0402aef3e9d04364ba98509dca76f> (web)
- <https://github.com/PythonCharmers/python-future> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/future/PYSEC-2022-42991.yaml> (web)
- <https://pypi.org/project/future> (web)
- <https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages> (web)
- <https://github.com/advisories/GHSA-v3c5-jqr6-7qm8> (advisory)

## Sources

- CVE List: [CVE-2022-40899](https://www.cve.org/CVERecord?id=CVE-2022-40899), CVE Terms of Use, modified 2025-04-15
- GitHub Advisory Database: [GHSA-v3c5-jqr6-7qm8](https://github.com/advisories/GHSA-v3c5-jqr6-7qm8), CC-BY-4.0, modified 2025-04-15
- NVD: [CVE-2022-40899](https://nvd.nist.gov/vuln/detail/CVE-2022-40899), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-42991](https://osv.dev/vulnerability/PYSEC-2022-42991), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2022-40899 · Whole record: https://cve.day/CVE-2022-40899.json · Rebuilt by cve.day 2026-11-25T22:58:17.830Z
