GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [3.10] gh-149018: Use `XML_SetHashSalt16Bytes` in `pyexpat`/`_elementtree` when possible (GH-149023) by StanFromIreland · Pull Request #155611 · python/cpython

Conversation

@StanFromIreland

@StanFromIreland StanFromIreland commented Aug 12, 2026 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

(cherry picked from commit 24b8f12)

  • Issue: [CVE-2026-7210] Insufficient entropy in pyexpat with protection against hash flooding #149018

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@StanFromIreland
[3.10] pythongh-149018: Use XML_SetHashSalt16Bytes in pyexpat/`_e…
056585b
…lementtree` when possible (pythonGH-149023) (pythonGH-155345)

(cherry picked from commit e37df2a)
(cherry picked from commit 95cf26d)

Co-authored-by: Stan Ulbrych <[email protected]>
(cherry picked from commit fc9b11f)
(cherry picked from commit 24b8f12)
@StanFromIreland StanFromIreland assigned pablogsal Aug 12, 2026
@StanFromIreland
StanFromIreland requested a review from tiran as a code owner August 12, 2026 11:04
@bedevere-app bedevere-app Bot mentioned this pull request Aug 12, 2026
[CVE-2026-7210] Insufficient entropy in pyexpat with protection against hash flooding #149018
Closed
@bedevere-app bedevere-app Bot added the awaiting core review label Aug 12, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Aug 12, 2026
gh-149018: Use XML_SetHashSalt16Bytes in pyexpat/_elementtree when possible #149023
Merged
@StanFromIreland
Fix SetHashSalt16Bytes assignment in pyexpat.c
bc77688
@pablogsal
pablogsal merged commit ea70712 into python:3.10 Aug 13, 2026
15 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the awaiting core review label Aug 13, 2026
@StanFromIreland
StanFromIreland deleted the backport-95cf26d-3.10 branch August 13, 2026 09:14
icanhasmath pushed a commit to ActiveState/cpython that referenced this pull request Oct 28, 2026
@StanFromIreland @icanhasmath
[3.10] pythongh-149018: Use XML_SetHashSalt16Bytes in pyexpat/`_e…
7eda8df
…lementtree` when possible (pythonGH-149023) (python#155611)

* [3.10] pythongh-149018: Use `XML_SetHashSalt16Bytes` in `pyexpat`/`_elementtree` when possible (pythonGH-149023) (pythonGH-155345)
(cherry picked from commit e37df2a)
(cherry picked from commit 95cf26d)

Co-authored-by: Stan Ulbrych <[email protected]>
(cherry picked from commit fc9b11f)
(cherry picked from commit 24b8f12)

* Fix SetHashSalt16Bytes assignment in pyexpat.c

(cherry picked from commit ea70712)

3.9.25.x: 3.9 never received pythongh-90949 (the Expat allocation-tracker /
billion-laughs tuning API), so the PyExpat_CAPI capsule gains only the
SetHashSalt16Bytes slot, appended after SetReparseDeferralEnabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@tiran tiran Awaiting requested review from tiran

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@pablogsal pablogsal

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@StanFromIreland @pablogsal
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.