CVE-2016-9015 · mitre
CVE-2016-9015
Versions 1.17 and 1.18 of the Python urllib3 library suffer from a vulnerability that can cause them, in certain configurations, to not correctly validate TLS certificates. This places users of the library with those configurations at risk of man-in-the-middle and information leakage attacks. This vulnerability affects users using versions 1.17 and 1.18 of the urllib3 library, who are using the optional PyOpenSSL support for TLS instead of the regular standard library TLS backend, and who are using OpenSSL 1.1.0 via PyOpenSSL. This is an extremely uncommon configuration, so the security impact of this vulnerability is low.
Published 2017-01-11, last changed 2026-06-17. Weakness: CWE-295.
How to fix
Upgrade to a fixed version: urllib3 1.18.1 (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 urllib3/urllib3 by c32cdbc16a. Functions changed by the fix: verify_mode, ssl_wrap_socket. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2017-01-11 | Published |
| 2017-01-11 | Package advisory PYSEC-2017-98 |
| 2022-05-17 | Package advisory GHSA-v4w5-p2hg-8fh6 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.75% |
| 2026-12-04 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-v4w5-p2hg-8fh6 | urllib3 (PyPI) | 1.18.1 |
| PYSEC-2017-98 | urllib3 (PyPI) | 1.18.1 |
Also known as: GHSA-v4w5-p2hg-8fh6, PYSEC-2017-98
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-97689 | 2026-09-29 | 7.5 | urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory |
| CVE-2026-97688 | 2026-09-29 | 5.3 | urllib3: Chunked Deflate streaming can enter an infinite loop |
| CVE-2026-97687 | 2026-09-29 | 8.1 | urllib3: HTTPS proxy TLS configuration may be ignored or overridden |
| CVE-2026-44432 | 2026-05-13 | 7.5 | urllib3: Decompression-bomb safeguards bypassed in parts of the streaming API |
| CVE-2026-44431 | 2026-05-13 | 5.3 | urllib3: Sensitive headers forwarded across origins in proxied low-level redirects |
| CVE-2026-21441 | 2026-01-07 | 7.5 | urllib3 vulnerable to decompression-bomb safeguard bypass when following HTTP redirects (streaming API) |
| CVE-2025-66471 | 2025-12-05 | 7.5 | urllib3 Streaming API improperly handles highly compressed data |
| CVE-2025-66418 | 2025-12-05 | 7.5 | urllib3 allows an unbounded number of links in the decompression chain |
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-9015, or call /api/v1/vulnerabilities/CVE-2016-9015. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.