Skip to content

Commit 26badd8

Browse files
committed
Python 3.11.18
1 parent 26ee788 commit 26badd8

10 files changed

Lines changed: 75 additions & 31 deletions

‎Include/patchlevel.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
/*--start constants--*/
1919
#define PY_MAJOR_VERSION 3
2020
#define PY_MINOR_VERSION 11
21-
#define PY_MICRO_VERSION 17
21+
#define PY_MICRO_VERSION 18
2222
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
2323
#define PY_RELEASE_SERIAL 0
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.11.17+"
26+
#define PY_VERSION "3.11.18"
2727
/*--end constants--*/
2828

2929
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.

‎Lib/pydoc_data/topics.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Thu Oct 1 01:48:37 2026
2+
# Autogenerated by Sphinx on Sun Oct 25 19:41:15 2026
33
# as part of the release process.
44
topics = {'assert': 'The "assert" statement\n'
55
'**********************\n'

‎Misc/NEWS.d/3.11.18.rst‎

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
.. date: 2026-10-22-08-04-33
2+
.. gh-issue: 160300
3+
.. nonce: q7Zk2B
4+
.. release date: 2026-10-25
5+
.. section: Security
6+
7+
Fix :class:`http.cookiejar.DefaultCookiePolicy` accepting and returning
8+
cookies with a negative ``Version`` attribute without checking their domain
9+
against the request host. Such cookies are now ignored.
10+
11+
..
12+
13+
.. cve: CVE-2026-114583
14+
.. date: 2026-10-21-19-58-53
15+
.. gh-issue: 160097
16+
.. nonce: -opfAL
17+
.. section: Security
18+
19+
:func:`tarfile.tar_filter` now rejects link members whose path resolves to
20+
the destination directory itself, as :func:`tarfile.data_filter` already
21+
did.
22+
23+
..
24+
25+
.. cve: CVE-2026-115557
26+
.. date: 2026-10-21-16-55-07
27+
.. gh-issue: 160040
28+
.. nonce: 9PjFjC
29+
.. section: Security
30+
31+
:mod:`ssl` now rejects TLS certificate chains that contain any of a set of
32+
compromised eMudhra intermediate CA keys. This is an extraordinary measure
33+
and a last line of defense: removing trust is primarily the job of the
34+
platform root store, and the built-in denylist only blocks connections while
35+
that update has not yet reached the OS, a container image, or a bundled
36+
trust store in various Python packages. Entries are added to the denylist
37+
only under a very high threshold. The denylist matches on the public key
38+
(the SHA-256 digest of the :rfc:`5280` ``SubjectPublicKeyInfo``), so it also
39+
covers the cross-signed certificates that reuse one of the distrusted keys.
40+
41+
..
42+
43+
.. date: 2026-10-15-03-47-08
44+
.. gh-issue: 159428
45+
.. nonce: XHRKwY
46+
.. section: Security
47+
48+
:mod:`mimetypes` no longer reads the files listed in
49+
:data:`mimetypes.knownfiles` by default on Windows, and uses only the
50+
registry.
51+
52+
..
53+
54+
.. date: 2026-08-31-16-47-33
55+
.. gh-issue: 157953
56+
.. nonce: KxCFSN
57+
.. section: Security
58+
59+
Update bundled `libexpat <https://libexpat.github.io/>`_ to version 2.9.0.
60+
61+
..
62+
63+
.. date: 2026-10-08-16-18-43
64+
.. gh-issue: 87720
65+
.. nonce: Elqdl9
66+
.. section: Library
67+
68+
Fixed error in :mod:`email` new policies where header folding failed to
69+
detect the need to re-quote text obtained from encoded words in certain
70+
cases.

‎Misc/NEWS.d/next/Library/2026-10-08-16-18-43.gh-issue-87720.Elqdl9.rst‎

Lines changed: 0 additions & 3 deletions
This file was deleted.

‎Misc/NEWS.d/next/Security/2026-08-31-16-47-33.gh-issue-157953.KxCFSN.rst‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎Misc/NEWS.d/next/Security/2026-10-15-03-47-08.gh-issue-159428.XHRKwY.rst‎

Lines changed: 0 additions & 2 deletions
This file was deleted.

‎Misc/NEWS.d/next/Security/2026-10-21-16-55-07.gh-issue-160040.9PjFjC.rst‎

Lines changed: 0 additions & 12 deletions
This file was deleted.

‎Misc/NEWS.d/next/Security/2026-10-21-19-58-53.gh-issue-160097.-opfAL.rst‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎Misc/NEWS.d/next/Security/2026-10-22-08-04-33.gh-issue-160300.q7Zk2B.rst‎

Lines changed: 0 additions & 3 deletions
This file was deleted.

‎README.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
This is Python version 3.11.17+
2-
===============================
1+
This is Python version 3.11.18
2+
==============================
33

44
.. image:: https://github.com/python/cpython/workflows/Tests/badge.svg
55
:alt: CPython build status on GitHub Actions

0 commit comments

Comments
 (0)