KeygraphLabs · CVE MCP

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.

CVSS
6.5
medium, from NVD
EPSS
1.76%
percentile 78.8%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

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-16Published
2016-12-16Package advisory PYSEC-2016-24
2022-05-17Package advisory GHSA-j6f7-hghw-g437
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 1.76%
2026-12-02Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-j6f7-hghw-g437bottle (PyPI)0.12.11
PYSEC-2016-24bottle (PyPI)0.12.11

Also known as: GHSA-j6f7-hghw-g437, PYSEC-2016-24

Related

CVEPublishedCVSSSummary
CVE-2022-317992022-06-029.8same package: bottle (PyPI)
CVE-2020-284732021-01-185.8Web Cache Poisoning
CVE-2014-31372014-10-256.8same package: bottle (PyPI)
CVE-2026-1147202026-10-227.1same weakness (CWE-93) from the same CNA (mitre)
CVE-2026-1133862026-10-207.1same weakness (CWE-93) from the same CNA (mitre)
CVE-2026-940572026-09-195.3same weakness (CWE-93) from the same CNA (mitre)
CVE-2026-502922026-06-049.8same weakness (CWE-93) from the same CNA (mitre)
CVE-2025-560072025-10-236.5same 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.

NVD · CVE.org