Home / Bottlepy / Bottle / CVE-2022-31799
CVE-2022-31799: is it exploited, and which versions of Bottlepy Bottle are affected and fixed?
CVE-2022-31799 is an exceptional condition mishandled vulnerability in Bottlepy Bottle. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: bottle before 0.12.20 (GitHub advisory GHSA-xhp9-4947-rq78). Fixed in 0.12.20 (GitHub advisory GHSA-xhp9-4947-rq78). Severity: Critical (9.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:48 UTC.
What is CVE-2022-31799?
Bottle before 0.12.20 mishandles errors during early request binding.
From the CVE record by mitre, last updated August 3, 2024, 07:26 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | bottle | < 0.12.20 | 0.12.20 | GHSA-xhp9-4947-rq78 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 13, 2024. Summary: Denial of service in bottle.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| bottlepy | bottle | before 0.12.20 | application |
| debian | debian linux | 9.0 | operating system |
| debian | debian linux | 10.0 | operating system |
| debian | debian linux | 11.0 | operating system |
| fedoraproject | fedora | 35 | operating system |
| fedoraproject | fedora | 36 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:46 UTC.
How severe is CVE-2022-31799?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-31799 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.14% probability of exploitation activity in the next 30 days, percentile 82.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-755 Improper Handling of Exceptional Conditions
Where are the vendor advisories and references?
- https://github.com/bottlepy/bottle/commit/e140e1b54da721a660f2eb9d58a106b7b3ff2f00 x_refsource_MISC
- https://github.com/bottlepy/bottle/commit/a2b0ee6bb4ce88895429ec4aca856616244c4c4c x_refsource_MISC
- https://github.com/bottlepy/bottle/compare/0.12.19...0.12.20 x_refsource_MISC
- [debian-lts-announce] 20220608 [SECURITY] [DLA 3048-1] python-bottle security update mailing-list, x_refsource_MLIST
- DSA-5159 vendor-advisory, x_refsource_DEBIAN
- FEDORA-2022-c1e107f37f vendor-advisory, x_refsource_FEDORA
- FEDORA-2022-cc9a173168 vendor-advisory, x_refsource_FEDORA
When was it published, and where is the official record?
- Reserved
- May 29, 2022
- Published
- May 29, 2022, 21:25 UTC
- CVE record updated
- August 3, 2024, 07:26 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 04:46 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:48 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Bottle?
- Dec 16, 2016CVE-2016-9964 Bottlepy Bottle: improper Neutralization of CRLF Sequences
- Oct 25, 2014CVE-2014-3137 Bottlepy Bottle: improper input validation
Questions about CVE-2022-31799
Is CVE-2022-31799 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 2.14% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Bottlepy Bottle are affected by CVE-2022-31799?
bottle before 0.12.20, per the GitHub advisory GHSA-xhp9-4947-rq78. The tables above give every range the sources list.
Which version fixes CVE-2022-31799?
0.12.20, per the GitHub advisory GHSA-xhp9-4947-rq78. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-31799?
Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2022-31799?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.