Skip to content

gh-156723: Update bundled libexpat to version 2.8.4 - #156724

Merged
StanFromIreland merged 1 commit into
python:mainfrom
StanFromIreland:expat-2.8.4
Aug 31, 2026
Merged

StanFromIreland merged 1 commit into
python:mainfrom
StanFromIreland:expat-2.8.4

Conversation

@StanFromIreland

@StanFromIreland StanFromIreland commented Aug 31, 2026 •

Copy link
Copy Markdown
Member

Considering this includes fixes for three CVEs marked as High severity, I'm tagging this as a release blocker.

Verification action passes: https://github.com/python/cpython/actions/runs/33410740425/job/99549376852?pr=156724

@StanFromIreland
StanFromIreland merged commit 287b7cf into python:main Aug 31, 2026
121 of 123 checks passed
@StanFromIreland
StanFromIreland deleted the expat-2.8.4 branch August 31, 2026 18:16
@miss-islington-app

Copy link
Copy Markdown

Thanks @StanFromIreland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11, 3.12, 3.13, 3.14, 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Aug 31, 2026

Copy link
Copy Markdown

GH-156731 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Aug 31, 2026
@miss-islington-app

Copy link
Copy Markdown

Sorry, @StanFromIreland, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 287b7cffb79d443614be51b48eaf085d663aeecd 3.12
@bedevere-app

bedevere-app Bot commented Aug 31, 2026

Copy link
Copy Markdown

GH-156732 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Aug 31, 2026
@miss-islington-app

Copy link
Copy Markdown

Sorry, @StanFromIreland, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 287b7cffb79d443614be51b48eaf085d663aeecd 3.11
@bedevere-app

bedevere-app Bot commented Aug 31, 2026

Copy link
Copy Markdown

GH-156733 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label Aug 31, 2026
@miss-islington-app

Copy link
Copy Markdown

Sorry, @StanFromIreland, I could not cleanly backport this to 3.10 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 287b7cffb79d443614be51b48eaf085d663aeecd 3.10
StanFromIreland added a commit that referenced this pull request Aug 31, 2026
#156733)

(cherry picked from commit 287b7cf)

Co-authored-by: Stan Ulbrych <stan@python.org>
hugovk pushed a commit that referenced this pull request Aug 31, 2026
#156731)

gh-156723: Update bundled libexpat to version 2.8.4 (GH-156724)
(cherry picked from commit 287b7cf)

Co-authored-by: Stan Ulbrych <stan@python.org>
StanFromIreland added a commit that referenced this pull request Aug 31, 2026
#156732)

(cherry picked from commit 287b7cf)

Co-authored-by: Stan Ulbrych <stan@python.org>
@bedevere-app

bedevere-app Bot commented Sep 1, 2026

Copy link
Copy Markdown

GH-156785 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.12 only security fixes label Sep 1, 2026
@bedevere-app

bedevere-app Bot commented Sep 1, 2026

Copy link
Copy Markdown

GH-156786 is a backport of this pull request to the 3.11 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.11 only security fixes label Sep 1, 2026
@bedevere-app

bedevere-app Bot commented Sep 1, 2026

Copy link
Copy Markdown

GH-156787 is a backport of this pull request to the 3.10 branch.

@bedevere-bot

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot aarch64 RHEL8 Refleaks 3.11 (tier-2) has failed when building commit d98834e.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/932/builds/59) and take a look at the build logs.
  4. Check if the failure is related to this commit (d98834e) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/932/builds/59

Failed tests:

  • test_httpservers
  • test_typing

Failed subtests:

  • test_large_content_length_truncated - test.test_httpservers.CGIHTTPServerTestCase.test_large_content_length_truncated

Test leaking resources:

  • test_httpservers: memory blocks
  • test_typing: memory blocks

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-RHEL8-aarch64/3.11.cstratak-RHEL8-aarch64.refleak/build/Lib/test/test_httpservers.py", line 906, in test_large_content_length_truncated
    res = self.request('/cgi-bin/file1.py', 'POST', b'x', headers)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-RHEL8-aarch64/3.11.cstratak-RHEL8-aarch64.refleak/build/Lib/test/test_httpservers.py", line 85, in request
    self.connection.request(method, uri, body, headers)
  File "/var/lib/buildbot/worker/cstratak-RHEL8-aarch64/3.11.cstratak-RHEL8-aarch64.refleak/build/Lib/http/client.py", line 1351, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/var/lib/buildbot/worker/cstratak-RHEL8-aarch64/3.11.cstratak-RHEL8-aarch64.refleak/build/Lib/http/client.py", line 1397, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/var/lib/buildbot/worker/cstratak-RHEL8-aarch64/3.11.cstratak-RHEL8-aarch64.refleak/build/Lib/http/client.py", line 1346, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/var/lib/buildbot/worker/cstratak-RHEL8-aarch64/3.11.cstratak-RHEL8-aarch64.refleak/build/Lib/http/client.py", line 1145, in _send_output
    self.send(chunk)
  File "/var/lib/buildbot/worker/cstratak-RHEL8-aarch64/3.11.cstratak-RHEL8-aarch64.refleak/build/Lib/http/client.py", line 1067, in send
    self.sock.sendall(data)
BrokenPipeError: [Errno 32] Broken pipe
icanhasmath pushed a commit to ActiveState/cpython that referenced this pull request Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants