Skip to content

Use openssl 3.5.7 - #106844

Merged
thevar1able merged 1 commit into
masterfrom
bump-openssl-3.5.7
Jun 10, 2026
Merged

thevar1able merged 1 commit into
masterfrom
bump-openssl-3.5.7

Conversation

@thevar1able

@thevar1able thevar1able commented Jun 9, 2026 •

Copy link
Copy Markdown
Member

Bumps openssl from 3.5.6 to 3.5.7.

3.5.7 is a security patch release. Highlights from upstream CHANGES.md / NEWS.md:

  • Fix possible use-after-free in PKCS7_verify (test for CVE-2026-45447)
  • Fix potential NULL dereference in OSSL_CRMF_ENCRYPTEDVALUE_decrypt
  • Fix potential NULL dereference processing CMS PasswordRecipientInfo
  • Fix NULL dereference in QUIC address validation
  • Reject potentially forged encrypted CMS AuthEnvelopedData messages
  • Enforce implicit rejection for CMS/PKCS#7 decryption
  • Limit number of PATH_CHALLENGE frames the QUIC stack processes on RX
  • pkcs12: verify that the pbmac1 key length is safe
  • Fix out-of-bounds read in cms kek_unwrap_key check-byte validation
  • Avoid length truncation in ASN1_STRING_set; reject oversized inputs in ASN1_mbstring_ncopy
  • Fix handling of empty-ciphertext messages in AES-GCM-SIV and AES-SIV
  • Apply the buffered IV on the AES-OCB EVP_Cipher path

The ClickHouse fork carries the same patch stack as 3.5.6, rebased onto upstream openssl-3.5.7 (see ClickHouse/openssl-3.5.7). The only conflict during rebase was in crypto/bio/bss_dgram.c, where upstream changed preprocessor indentation; the semantic of "Remove dependency on glibc 2.14 sendmmsg/recvmmsg" was preserved.

Mirrored in contrib/openssl-cmake/common/include/openssl/:

  • opensslv.h — version bumped to 3.5.7, release date 9 Jun 2026
  • x509_acert.h — add extern "C" guards to match the upstream .h.in template fix

Changelog category (leave one):

  • Build/Testing/Packaging Improvement

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Bump openssl to 3.5.7.

Version info

  • Merged into: 26.6.1.605 (included in 26.6 and later)
  • Backported to: 26.5.6.85, 26.3.17.86, 25.8.29.39

@clickhouse-gh

clickhouse-gh Bot commented Jun 9, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [f9ffb12]

Summary: ✅


AI Review

Summary

This PR bumps the vendored openssl submodule to 3.5.7 and updates the generated CMake headers for the reported version plus the upstream x509_acert.h C++ linkage guard. I found no actionable correctness, packaging, or metadata issues in the changed surface.

Final Verdict

Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added pr-build Pull request with build/testing/packaging improvement submodule changed At least one submodule changed in this PR. labels Jun 9, 2026
@thevar1able thevar1able changed the title Bump openssl from 3.5.6 to 3.5.7 Use openssl 3.5.7 Jun 9, 2026
@thevar1able
thevar1able marked this pull request as ready for review June 9, 2026 14:00
@scanhex12 scanhex12 self-assigned this Jun 9, 2026
@thevar1able
thevar1able added this pull request to the merge queue Jun 10, 2026
Merged via the queue into master with commit 9b8eed6 Jun 10, 2026
327 of 328 checks passed
@thevar1able
thevar1able deleted the bump-openssl-3.5.7 branch June 10, 2026 16:37
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-synced-to-cloud The PR is synced to the cloud repo label Jun 10, 2026
@Revertionist

Copy link
Copy Markdown
Contributor

@thevar1able is it possible to backport this PR to 25.8? there are a couple of CVEs we'd like fixed

@thevar1able thevar1able added the pr-must-backport Pull request should be backported intentionally. Use this label with great care! label Jul 29, 2026
@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR label Jul 29, 2026
@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Jul 29, 2026
thevar1able added a commit that referenced this pull request Jul 29, 2026
thevar1able added a commit that referenced this pull request Jul 29, 2026
@thevar1able

Copy link
Copy Markdown
Member Author

@Revertionist Done.

thevar1able added a commit that referenced this pull request Jul 29, 2026
joelynch pushed a commit to aiven/ClickHouse that referenced this pull request Aug 17, 2026
kewin-robetti pushed a commit to viasoftkorp/ClickHouse that referenced this pull request Aug 24, 2026
kewin-robetti pushed a commit to viasoftkorp/ClickHouse that referenced this pull request Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-build Pull request with build/testing/packaging improvement pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR pr-synced-to-cloud The PR is synced to the cloud repo submodule changed At least one submodule changed in this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants