Skip to content

chore(deps): update dependency pyopenssl to v26 [security] - #756

Merged
renovate[bot] merged 2 commits into
mainfrom
renovate/pypi-pyopenssl-vulnerability
Mar 21, 2026
Merged

renovate[bot] merged 2 commits into
mainfrom
renovate/pypi-pyopenssl-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
pyOpenSSL (source) ==25.3.0 → ==26.0.0 age confidence

GitHub Vulnerability Alerts

CVE-2026-27448

If a user provided callback to set_tlsext_servername_callback raised an unhandled exception, this would result in a connection being accepted. If a user was relying on this callback for any security-sensitive behavior, this could allow bypassing it.

Unhandled exceptions now result in rejecting the connection.

Credit to Leury Castillo for reporting this issue.

CVE-2026-27459

If a user provided callback to set_cookie_generate_callback returned a cookie value greater than 256 bytes, pyOpenSSL would overflow an OpenSSL provided buffer.

Cookie values that are too long are now rejected.


Release Notes

pyca/pyopenssl (pyOpenSSL)

v26.0.0

Compare Source

Backward-incompatible changes:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  • Dropped support for Python 3.7.
  • The minimum cryptography version is now 46.0.0.

Deprecations:
^^^^^^^^^^^^^

Changes:
^^^^^^^^

  • Added support for using aws-lc instead of OpenSSL.
  • Properly raise an error if a DTLS cookie callback returned a cookie longer than DTLS1_COOKIE_LENGTH bytes. Previously this would result in a buffer-overflow. Credit to dark_haxor for reporting the issue. CVE-2026-27459
  • Added OpenSSL.SSL.Connection.get_group_name to determine which group name was negotiated.
  • Context.set_tlsext_servername_callback now handles exceptions raised in the callback by calling sys.excepthook and returning a fatal TLS alert. Previously, exceptions were silently swallowed and the handshake would proceed as if the callback had succeeded. Credit to Leury Castillo for reporting this issue. CVE-2026-27448

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot enabled auto-merge (squash) March 16, 2026 18:18
@renovate
renovate Bot force-pushed the renovate/pypi-pyopenssl-vulnerability branch from 2eadfc4 to 78071da Compare March 17, 2026 06:47
@renovate
renovate Bot force-pushed the renovate/pypi-pyopenssl-vulnerability branch from 78071da to e0f68ad Compare March 17, 2026 08:35
@renovate
renovate Bot force-pushed the renovate/pypi-pyopenssl-vulnerability branch from e0f68ad to 7c97afe Compare March 18, 2026 12:47
@renovate
renovate Bot force-pushed the renovate/pypi-pyopenssl-vulnerability branch from 7c97afe to 2137e52 Compare March 19, 2026 07:42
@renovate
renovate Bot force-pushed the renovate/pypi-pyopenssl-vulnerability branch from 2137e52 to 30e1024 Compare March 20, 2026 11:15
@renovate
renovate Bot force-pushed the renovate/pypi-pyopenssl-vulnerability branch from 30e1024 to 89c6045 Compare March 20, 2026 11:44
@renovate
renovate Bot force-pushed the renovate/pypi-pyopenssl-vulnerability branch from 89c6045 to f62e754 Compare March 20, 2026 12:55
@renovate
renovate Bot force-pushed the renovate/pypi-pyopenssl-vulnerability branch from f62e754 to 8e7141c Compare March 20, 2026 13:44
@renovate
renovate Bot force-pushed the renovate/pypi-pyopenssl-vulnerability branch from 8e7141c to 0a6e11f Compare March 20, 2026 20:19
@renovate

renovate Bot commented Mar 21, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@renovate
renovate Bot merged commit ab645ca into main Mar 21, 2026
84 of 99 checks passed
@renovate
renovate Bot deleted the renovate/pypi-pyopenssl-vulnerability branch March 21, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant