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.15] gh-160898: Reject null bytes in `socket.getaddrinfo()` host and port (GH-160899) by sethmlarson · Pull Request #160925 · python/cpython

Conversation

@sethmlarson

@sethmlarson sethmlarson commented Oct 29, 2026 •
edited by bedevere-app Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

(cherry picked from commit 131a3a6)

  • Issue: Null bytes are accepted within socket.getaddrinfo() #160898

Sorry, something went wrong.

Uh oh!

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

All reactions
@sethmlarson @StanFromIreland
[3.15] pythongh-160898: Reject null bytes in socket.getaddrinfo() h…
ee60d5d
…ost and port (pythonGH-160899)

(cherry picked from commit 131a3a6)

Co-authored-by: Seth Larson <[email protected]>
Co-authored-by: Stan Ulbrych <[email protected]>
@bedevere-app bedevere-app Bot added the awaiting core review label Oct 29, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Oct 29, 2026
Null bytes are accepted within socket.getaddrinfo() #160898
Open
@bedevere-app bedevere-app Bot added topic-socket Related to the socket, socketserver and selectors modules type-security A security issue labels Oct 29, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Oct 29, 2026
gh-160898: Reject null bytes in socket.getaddrinfo() host and port #160899
Merged
@read-the-docs-community

read-the-docs-community Bot commented Oct 29, 2026

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #35509039 | 📁 Comparing ee60d5d against main (386d9d0)

  🔍 Preview build  

160 files changed · + 1 added · ± 154 modified · - 5 deleted

+ Added

  • library/asyncio-policy.html

± Modified

  • index.html
  • license.html
  • py-modindex.html
  • builtins/exceptions.html
  • builtins/functions.html
  • builtins/stdtypes.html
  • c-api/bytes.html
  • c-api/capsule.html
  • c-api/complex.html
  • c-api/conversion.html
  • and 144 more...

- Deleted

  • deprecations/pending-removal-in-3.21.html
  • library/tkinter.dialogs.html
  • library/tkinter.fontchooser.html
  • library/tkinter.systray.html
  • whatsnew/3.16.html
All reactions

Sorry, something went wrong.

Uh oh!

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

@sethmlarson sethmlarson added the release-blocker label Oct 30, 2026
@github-project-automation github-project-automation Bot added this to Release and Deferred blockers 🚫 Oct 30, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Release and Deferred blockers 🚫 Oct 30, 2026
This was referenced Nov 5, 2026
ci(grype): ignore CPython socket.getaddrinfo CVE-2026-116566 until a fix ships jkreileder/cf-ips-to-hcloud-fw#1599
Merged
Scanner suppressions: remove each when its condition holds jkreileder/cf-ips-to-hcloud-fw#1584
Open
jkreileder added a commit to jkreileder/cf-ips-to-hcloud-fw that referenced this pull request Nov 5, 2026
@jkreileder
ci(grype): ignore CPython socket.getaddrinfo CVE-2026-116566 until a …
4e0a2ed
…fix ships (#1599)

Grype matches CVE-2026-116566 (null bytes accepted in socket.getaddrinfo()
host and port, medium) against the python 3.15.2 binary in the base image
and lists a fix only in 3.16.0. The fix is merged on main
(python/cpython#160899); the backports to 3.15 (python/cpython#160925) and
older branches are still open, so no 3.15.x release clears it yet.

The rule is pinned to python 3.15.2 so a base-image bump re-checks it.

Refs #1584

Signed-off-by: Jürgen Kreileder <[email protected]>
@hugovk
hugovk merged commit 85736ac into python:3.15 Nov 6, 2026
106 of 108 checks passed

Uh oh!

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

@github-project-automation github-project-automation Bot moved this from Todo to Done in Release and Deferred blockers 🚫 Nov 6, 2026
@bedevere-app bedevere-app Bot removed the awaiting core review label Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

No one assigned

Labels

release-blocker topic-socket Related to the socket, socketserver and selectors modules type-security A security issue

Projects

Release and Deferred blockers 🚫
Status: Done

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

@sethmlarson @hugovk
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.