Title: Issue · GitHub
Open Graph Title: Issue · python/cpython
X Title: Issue · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
X Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Opengraph URL: https://github.com/python/cpython
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[CVE-2026-7210] Insufficient entropy in `pyexpat` with protection against hash flooding","articleBody":"Hi!\n\npyexpat calls `XML_SetHashSalt` which only passes 4 to 8 bytes of entropy to protect against hash flooding. Expat 2.8.0 introduced a new API function [`XML_SetHashSalt16Bytes`](https://libexpat.github.io/doc/api/latest/#XML_SetHashSalt16Bytes) that allows CPython to pass sufficient entropy (16 bytes). Please make pyexpat call `XML_SetHashSalt16Bytes` when compiled against recent enough Expat to fix what is known as CVE-2026-41080 to Expat itself for CPython. The [change log of Expat 2.8.0](https://github.com/libexpat/libexpat/blob/R_2_8_0/expat/Changes) has more details.\n\nThanks and best, Sebastian\n\nCVE-2026-7210\n\nCC #149017\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-149023\n* gh-149645\n* gh-149646\n* gh-151160\n* gh-152188\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/hartwork","@type":"Person","name":"hartwork"},"datePublished":"2026-04-26T16:35:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/149018/cpython/issues/149018"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:8fabb28f-45fd-fdbe-fae7-9a71f2326beb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A2B8:39E76C:136D28:1B2AB2:6A536745 |
| html-safe-nonce | 447fa1ad73723f96ca2e8c117c09cba2067dfc7212647978fce25900b65e1ee4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkI4OjM5RTc2QzoxMzZEMjg6MUIyQUIyOjZBNTM2NzQ1IiwidmlzaXRvcl9pZCI6IjM4MzkzODQ1ODE4MDA0MjExODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | caf49a539e4fe51d002ed8e1528106f2781e0b7570b31ae9243f48017078685e |
| hovercard-subject-tag | repository:81598961 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/issues/149018 |
| twitter:image | https://opengraph.githubassets.com/9d68e37a3c3619757714f89ed2c8aff8af856a5924ad24bc532668590ec428dc/python/cpython |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9d68e37a3c3619757714f89ed2c8aff8af856a5924ad24bc532668590ec428dc/python/cpython |
| og:image:alt | The Python programming language. Contribute to python/cpython development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width