CVE and update status of the FreeBSD ports tree4,526 unaddressed CVEs in 616 portsAll times are CET

Port details

lang/python3113.11.17

Interpreted object-oriented programming language

Maintainer
python@FreeBSD.org
Packages
python311 3.11.17
Upstream
up to date
CPE
python:python from the port
WWW
https://www.python.org/
Links
cgit · VuXML

Unaddressed (7) · The CVE record lists this version as affected, no VuXML entry names the CVE

Updating to 3.13.14 would fix 6 of 7 unaddressed CVEs, according to the CVE records.
Fixed up to each version, cumulative: 3.13.10 2 · 3.13.13 4 · 3.13.14 6
CVE-2026-72106.32026-05-11`xml.parsers.expat` and `xml.etree.ElementTree` use insufficient entropy for Expat hash-flooding protection, which allows a crafted XML document to trigger hash flooding…
CVE-2025-127816.32026-01-21When passing data to the b64decode(), standard_b64decode(), and urlsafe_b64decode() functions in the "base64" module the characters "+/" will always be accepted, regardl…
CVE-2026-30876.02026-04-27If `shutil.unpack_archive()` is given a ZIP archive with an absolute Windows path containing a drive (`C:\\...`) then the archive will be extracted outside the target di…
CVE-2026-36446.02026-03-16The fix for CVE-2026-0672, which rejected control characters in http.cookies.Morsel, was incomplete. The Morsel.update(), |= operator, and unpickling paths were not patc…
CVE-2026-60192.12026-04-22http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for JavaScript string context. It does not neutralize the HTML parser-sensitive seq…
CVE-2025-138372.12025-12-01When loading a plist file, the plistlib module reads data in size specified by the file itself, meaning a malicious file can cause OOM and DoS issues
CVE-2025-134622.02026-03-12The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPE_LONGNAME or GNUTYPE…

VuXML only (2) · listed, port not fixed yet

Fixed (13)

Show 13 fixed
VuXML entries whose affected range this version has left, plus CVEs whose record still lists this version although VuXML considers them fixed (usually a backported fix).
CVE-2026-45197.02026-03-20VuXML · The webbrowser.open() API would accept leading dashes in the URL which could be handled as command line options for certain web browsers. New behavior rejects leading …
CVE-2025-120846.32025-12-03VuXML · When building nested elements using xml.dom.minidom methods such as appendChild() that have a dependency on _clear_id_cache() the algorithm is quadratic. Availability ca…

Commits (80)

Charlie Li (vishwin) · 3.11.17
lang/python311: update to 3.11.17

Changelog: https://docs.python.org/3.11/whatsnew/changelog.html#python-3-11-17-final
8d8a202235
Charlie Li (vishwin)
lang/python311: fix order of divert(4) commits

Use https://github.com/python/cpython/pull/96536 directly

PR: 267648, 298106
ce879d543f
Charlie Li (vishwin)
lang/python311: fix recvfrom() and sendto() on divert(4) socket

Backport of:
https://github.com/python/cpython/pull/142993
https://github.com/python/cpython/pull/143514

PR: 298106
63f69f8fb5
Charlie Li (vishwin)
lang/python311: update to 3.11.16

Changelog: https://docs.python.org/release/3.11.16/whatsnew/changelog.html
01b8f0a48e
Charlie Li (vishwin)
lang/python311: pull in upstream commits addressing vuxml entries

Security: cf75f572-378a-11f1-a119-e36228bfe7d4
Security: b8e9f33c-375d-11f1-a119-e36228bfe7d4

Event: BSDCan 2026
71c9ccf926
Charlie Li (vishwin)
lang/python3: use textproc/expat2 for pyexpat instead of bundled

...to match lang/python314

Event: Works Must Run
b75df1fb4d
Charlie Li (vishwin)
lang/python31{0,1,2}: reroll PATCHFILES after repository growth

Each commit checksum now shows one additional character, but the
diff contents are identical.

PR: 295595
4b4b105e82
Charlie Li (vishwin)
lang/python311: pull in upstream commits addressing webbrowser.open() issue

Security: 9fdad262-2e0f-11f1-88c7-00a098b42aeb
PR: 294246
eae851578f
Tijl Coosemans (tijl)
devel/libtextstyle, devel/gettext*: Update to 1.0

devel/gettext-tools: Use external libunistring and libxml2.

lang/python*: Remove dependency on gettext-tools.  It isn't used and
it is gettext-tools that depends on python now.

PR:		293963
Exp-run by:	antoine
d7a065627c
Charlie Li (vishwin)
lang/python311: update to 3.11.15

Changelog: https://docs.python.org/release/3.11.15/whatsnew/changelog.html
f614f496b7
Charlie Li (vishwin)
lang/python311: pull in upstream commits addressing vuxml entries

Security: bfe9adc8-0224-11f1-8790-c5fb948922ad
84e04bed41
Charlie Li (vishwin)
lang/python311: pull in upstream commits addressing vuxml entries

Security: 613d0f9e-d477-11f0-9e85-03ddfea11990

Event: Winter Field Day 2026
PR: 291609
89f079e097
Antoine Brodin (antoine)
Revert "Reapply "lang/python31[012]: deprecate 2026-03-31""

This reverts commit a132acab8736bad2fa59e941d5d77da4ea7688a0.
This commit is disrespectful for people trying to make the ports tree work with version 3.12

With hat:	pkgmgr
ac6809aadf
Matthias Andree (mandree)
Reapply "lang/python31[012]: deprecate 2026-03-31"

This reverts commit 666108a04abc08a18791425f967b26357dd4d96d.
a132acab87
Charlie Li (vishwin)
Revert "lang/python31[012]: deprecate 2026-03-31"

The latest 3.12 release contains the referenced security fixes. The
other two branches are not EOL.

PR: 291609
With hat: python
Requested by: antoine

This reverts commit 66173037774d8648a59e30b424692ae80dbc20b3.
666108a04a
Matthias Andree (mandree)
lang/python31[012]: deprecate 2026-03-31

Since the current Python upstream maintainers have not yet released
security fix releases to match 3.14.2 and 3.13.11, meaning that we have
about three unfixed security issues per 3.12/3.11/3.10 release, and the
current FreeBSD python@ team is unwilling to take approved upstream
patches individually (see PR), we need to expedite the removal of
vulnerable versions and the transition to 3.13/3.14.  Deprecate all
"security support" releases of Python that are not in the bugfix phase.

PR:		291609
6617303777
Wen Heping (wen)
lang/python311: Update to 3.11.14

PR:		290159
Exp-run by:	antoine@
d67eef9c30
Piotr Kubaj (pkubaj)
lang/python31{1,2}: enable LTO on powerpc64le

The crash doesn't happen anymore
e787c6603f
Matthias Andree (mandree)
*: Update comment references to e2fsprogs-libuuid to libuuid.

PR:		251489
169ac0b938
Charlie Li (vishwin)
python.mk: rename PYTHON_EXT_SUFFIX to PYTHON_TAG, document, etc

EXT_SUFFIX, according to PEP 3149, refers to the full tag and
extension for compiled extension module objects, eg .cpython-311.so,
.cpython-313t.so, etc. We do not use the correct semantic meaning,
and this usage becomes ambiguous and confusing when tags do not
match between bytecode and compiled extension module objects.

Rename our PYTHON_EXT_SUFFIX to PYTHON_TAG to align with PEP 3147's
specification of a magic tag, which consists of implementation name
and shorthand version only. This is meant for bytecode and other
files containing this tag in their filename that do not depend on
a specific Python ABI for the same version. Chase all existing
consumers.

Introduce PYTHON_SOABI to align with PEP 3149's specification of a
tag, which consists of implementation name, shorthand version and
any ABI flags present (this and PYTHON_TAG are identical without
ABI flags). This is meant for compiled extension module objects and
other files that depend on a specific Python ABI for the same
version.

Add documentation for these variables that our PYTHON_EXT_SUFFIX
never had.

PR: 274671
Event: Kitchener-Waterloo Hackathon 202506
4f0eba1efd
Wen Heping (wen)
lang/python311: Update to 3.11.13

PR:		287313
Reported by:	wen <wenheping2000@hotmail.com>
Exp-run by:	antoine@
a7f52edcb0
Charlie Li (vishwin)
lang/python311: pull in upstream commit addressing CVE-2025-4516

Reference: https://github.com/python/cpython/pull/134341

PR: 287009
5e57ff8453
Wen Heping (wen)
lang/python311: Update to 3.11.12

PR:		285971
Reported by:	wen@
Exp-run by:	antoine@
a1292020e6
Wen Heping (wen)
lang/python311: Update to 3.11.11

PR:		283139
Reported by:	wen@
Exp-run by:	antoine@
63676c96dd
Wen Heping (wen)
lang/python311: Update to 3.11.10

PR:		281379
Reported by:	wen@
Exp-run by:	antoine@
b148c3ab99
Vladimir Druzenko (vvd)
lang/python311: fix stage with DEBUG option ON
a6e3b850c2
Piotr Kubaj (pkubaj)
lang/python311: disable LTO on powerpc64le

While LTOized python seems mostly fine, it crashes during build of x11/mate-terminal:
pid 71560 (python3.11), jid 151, uid 65534: exited on signal 11 (core dumped)

After disabling LTO, x11/mate-terminal builds fine.
961bbfc94b
Charlie Li (vishwin)
lang/python311: refresh LibreSSL patches

LibreSSL 3.9 introduced X509_STORE_get1_objects(3) so modify the
preprocessor guard to account. Prior to LibreSSL < 3.9 becoming
EOL, an additional conditional was needed to copy LibreSSL 3.9's
X509_STORE_get1_objects(3) as the included implementation for
OpenSSL < 3.3 clashed with LibreSSL.

Event: ARRL/RAC Field Day 2024
PR: 279390
3f76bb7c6f
Daniel Engberg (diizzy)
lang/python311: Improve build times

Don't generate debug symbols by default, we discard these anyway and on my
Tigerlake laptop it reduces build time roughly by 25% with LTO enabled
Switch from -flto=thin to (fat)lto, there's no parallization so it's
actually slower and produces slightly larger binaries

PR:		279585
Approved by:	portmgr (maintainer timeout, 2+ weeks)
a7cf5f2a3a
Po-Chuan Hsieh (sunpoet)
lang/python*: Remove GNU_CONFIGURE_MANPREFIX=${PREFIX}/share after 9fd7ee1cdf6cbd5528159b58a966e1a40e2909a9
c7a4a4f1ea
Po-Chuan Hsieh (sunpoet)
lang/python311: Update to 3.11.9

Changes:	https://docs.python.org/release/3.11.9/whatsnew/changelog.html
21c517c039
Robert Clausecker (fuz)
lang/python3*: bump PORTREVISION following mpdecimal update

The mpdecimal update changes the soname; bump dependent ports.

PR:		276444
df1de8ec4a
Charlie Li (vishwin)
lang/python311: update to 3.11.8

Changelog: https://docs.python.org/3.11/whatsnew/changelog.html#python-3-11-8-final
ef91b5d1eb
Charlie Li (vishwin)
lang/python311: Fix build on armv7 with LLVM 17

Reported by: brd
PR: 276249
5b0b801228
Muhammad Moinur Rahman (bofh)
lang/python311: Impelled to share/man

Approved by:    portmgr (blanket)
8a740a6538
Muhammad Moinur Rahman (bofh)
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree

- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
bbab7f59e9
Wen Heping (wen)
lang/python311: Update to 3.11.7
faa230236d
Bernard Spil (brnrd)
www/vaultwarden-web_vault: Revert borked git add

This reverts commit 3a3fbae18157d39b68c43c590fa9e977fed9cef4.
8269bdb998
Bernard Spil (brnrd)
www/vaultwarden-web_vault: Update to 2023.8.2

PR:		274304
Approved by:	maintainer time-out
3a3fbae181
Po-Chuan Hsieh (sunpoet)
lang/python311: Clean up unnecessary PLIST_SUB

- Remove XY: Replace .cpython-%%XY%% with %%PYTHON_EXT_SUFFIX%%
- Remove XYDOT:
  - Replace lib/python%%XYDOT%% with %%PYTHON_LIBDIR%%
  - Replace %%XYDOT%% with %%PYTHON_VER%%
- Rename XYZDOT to DISTVERSION
a10b8f757c
Wen Heping (wen)
lang/python311: Update to 3.11.6
954a8cc5d0
Wen Heping (wen)
lang/python311: Update to 3.11.5
1d2d633366
Po-Chuan Hsieh (sunpoet)
lang/python311: Sort PLIST
2c318bc97e
Po-Chuan Hsieh (sunpoet)
lang/python311: Revert unrelated changes in c4d9557b0830c8d4028737d25344456002760586
73ad0c0f75
Bernard Spil (brnrd)
www/nextcloud: Update to 26.0.2
c4d9557b08
Wen Heping (wen)
lang/python311: Update to 3.11.4
ad947a9de4
Wen Heping (wen)
lang/python311: Update to 3.11.3
0e98e07399
Charlie Li (vishwin)
lang/python311: add LibreSSL support

LibreSSL 3.6 and later are fully compatible with PEP-644 for the
ssl and hmac modules, but not hashlib due to missing SHA-3/SHAKE,
BLAKE2 and scrypt. Partially reverts
https://github.com/python/cpython/commit/39258d3595300bc7b952854c915f63ae2d4b9c3e
for _hashopenssl.c only and void the configure check so that hashlib
builds on LibreSSL.
53de41c33d
Charlie Li (vishwin)
lang/python: restore USES=python variables and SUB_LIST (no-op)

Has been a to do item for time. These are independent from but used
by the bytecode trigger.
922e7f4145
Matthias Andree (mandree)
lang/python: Revert "add bytecode trigger"

This reverts commit c17ddfbf66e2801ec620d49979aca3d7077d7002.

This causes breakage on several ports, and the next iteration
requires a full exp-run. See:

Differential Revision: https://reviews.freebsd.org/D34739
a9d9d3a427