CVE-2016-9964 · mitre
CVE-2016-9964
redirect() in bottle.py in bottle 0.12.10 doesn't filter a "\r\n" sequence, which leads to a CRLF attack, as demonstrated by a redirect("233\r\nSet-Cookie: name=salt") call.
Published 2016-12-16, last changed 2026-06-17. Weakness: CWE-93.
How to fix
Upgrade to a fixed version: bottle 0.12.11 (PyPI). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in bottlepy/bottle by 6d7e13da0f, 78f67d5196. Functions changed by the fix: _hkey, _hval, __setitem__, append, replace, filter. Regression tests: test/test_environ.py. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2016-12-16 | Published |
| 2016-12-16 | Package advisory PYSEC-2016-24 |
| 2022-05-17 | Package advisory GHSA-j6f7-hghw-g437 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 1.76% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-j6f7-hghw-g437 | bottle (PyPI) | 0.12.11 |
| PYSEC-2016-24 | bottle (PyPI) | 0.12.11 |
Also known as: GHSA-j6f7-hghw-g437, PYSEC-2016-24
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2022-31799 | 2022-06-02 | 9.8 | same package: bottle (PyPI) |
| CVE-2020-28473 | 2021-01-18 | 5.8 | Web Cache Poisoning |
| CVE-2014-3137 | 2014-10-25 | 6.8 | same package: bottle (PyPI) |
| CVE-2026-114720 | 2026-10-22 | 7.1 | same weakness (CWE-93) from the same CNA (mitre) |
| CVE-2026-113386 | 2026-10-20 | 7.1 | same weakness (CWE-93) from the same CNA (mitre) |
| CVE-2026-94057 | 2026-09-19 | 5.3 | same weakness (CWE-93) from the same CNA (mitre) |
| CVE-2026-50292 | 2026-06-04 | 9.8 | same weakness (CWE-93) from the same CNA (mitre) |
| CVE-2025-56007 | 2025-10-23 | 6.5 | same weakness (CWE-93) from the same CNA (mitre) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2016-9964, or call /api/v1/vulnerabilities/CVE-2016-9964. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.