{"id":"CVE-2025-13836","state":"PUBLISHED","title":"Excessive read buffering DoS in http.client","description":"When reading an HTTP response from a server, if no read amount is specified, the default behavior will be to use Content-Length. This allows a malicious server to cause the client to read large amounts of data into memory, potentially causing OOM or other DoS.","publishedAt":"2025-12-01T18:02:38.483Z","updatedAt":"2026-03-03T14:41:48.702Z","severity":{"score":6.3,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L","source":"PSF"},"assigner":"PSF","products":["Python Software Foundation CPython"],"affected":[{"vendor":"Python Software Foundation","product":"CPython","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.10.20","versionType":"python"},{"version":"3.11.0","status":"affected","lessThan":"3.11.15","versionType":"python"},{"version":"3.12.0","status":"affected","lessThan":"3.12.13","versionType":"python"},{"version":"3.13.0","status":"affected","lessThan":"3.13.11","versionType":"python"},{"version":"3.14.0","status":"affected","lessThan":"3.14.1","versionType":"python"},{"version":"3.15.0a1","status":"affected","lessThan":"3.15.0a3","versionType":"python"}],"modules":["http.client"],"repo":"https://github.com/python/cpython"}],"references":["https://github.com/python/cpython/issues/119451","https://github.com/python/cpython/pull/119454","https://github.com/python/cpython/commit/4ce27904b597c77d74dd93f2c912676021a99155","https://github.com/python/cpython/commit/5a4c4a033a4a54481be6870aa1896fad732555b5","https://mail.python.org/archives/list/security-announce@python.org/thread/OQ6G7MKRQIS3OAREC3HNG3D2DPOU34XO/","https://github.com/python/cpython/commit/289f29b0fe38baf2d7cb5854f4bb573cc34a6a15","https://github.com/python/cpython/commit/14b1fdb0a94b96f86fc7b86671ea9582b8676628","https://github.com/python/cpython/commit/5dc101675fd22918facbbe0fecdc821502beaaf0","https://github.com/python/cpython/commit/afc40bdd3dd71f343fd9016f6d8eebbacbd6587c"],"weaknesses":["CWE-400"],"ingestedAt":"2026-10-29T20:08:31.050Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/13xxx/CVE-2025-13836.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-13836","state":"PUBLISHED","datePublished":"2025-12-01T18:02:38.483Z","dateUpdated":"2026-03-03T14:41:48.702Z","assignerShortName":"PSF","assignerOrgId":"28c92f92-d60d-412d-b760-e73465c3df22","dateReserved":"2025-12-01T17:54:40.759Z"},"containers":{"cna":{"title":"Excessive read buffering DoS in http.client","descriptions":[{"lang":"en","value":"When reading an HTTP response from a server, if no read amount is specified, the default behavior will be to use Content-Length. This allows a malicious server to cause the client to read large amounts of data into memory, potentially causing OOM or other DoS."}],"affected":[{"vendor":"Python Software Foundation","product":"CPython","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.10.20","versionType":"python"},{"version":"3.11.0","status":"affected","lessThan":"3.11.15","versionType":"python"},{"version":"3.12.0","status":"affected","lessThan":"3.12.13","versionType":"python"},{"version":"3.13.0","status":"affected","lessThan":"3.13.11","versionType":"python"},{"version":"3.14.0","status":"affected","lessThan":"3.14.1","versionType":"python"},{"version":"3.15.0a1","status":"affected","lessThan":"3.15.0a3","versionType":"python"}],"modules":["http.client"],"repo":"https://github.com/python/cpython"}],"references":[{"url":"https://github.com/python/cpython/issues/119451","tags":["issue-tracking"]},{"url":"https://github.com/python/cpython/pull/119454","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/4ce27904b597c77d74dd93f2c912676021a99155","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/5a4c4a033a4a54481be6870aa1896fad732555b5","tags":["patch"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/OQ6G7MKRQIS3OAREC3HNG3D2DPOU34XO/","tags":["vendor-advisory"]},{"url":"https://github.com/python/cpython/commit/289f29b0fe38baf2d7cb5854f4bb573cc34a6a15","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/14b1fdb0a94b96f86fc7b86671ea9582b8676628","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/5dc101675fd22918facbbe0fecdc821502beaaf0","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/afc40bdd3dd71f343fd9016f6d8eebbacbd6587c","tags":["patch"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":6.3,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"providerMetadata":{"shortName":"PSF","orgId":"28c92f92-d60d-412d-b760-e73465c3df22","dateUpdated":"2026-03-03T14:41:48.702Z"},"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.5.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-12-01T18:32:37.506031Z","id":"CVE-2025-13836","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","type":"CWE","lang":"en","description":"CWE-400 Uncontrolled Resource Consumption"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-12-02T18:29:21.886Z"}}]}}}