libssh2: Backport more security patches & fix source build - #62591
Open
mbauman wants to merge 2 commits into
Open
libssh2: Backport more security patches & fix source build#62591mbauman wants to merge 2 commits into
mbauman wants to merge 2 commits into
Conversation
When trying to build without BB, this was erroring:
```
$ make -n -C deps USE_BINARYBUILDER_LIBSSH2=0 configure-libssh2 2>&1 | tail -2
⎿ make: *** No rule to make target '/home/mbauman/julia-master/deps/srccache/libssh2-1.11.1/source-extracted', needed by
'/home/mbauman/julia-master/deps/srccache/libssh2-1.11.1/libssh2-CVE-2026-7598-256d04b60d80bf1190e96b0ad1e91b2174d744b1.patch-applied'. Stop.
make: Leaving directory '/home/mbauman/julia-master/deps'
```
Unlike some other recipes (on which this idiom was likely based), libssh2 is a `git-external` and thus its src paths don't include the version number
Assisted-by: Claude Fable 5 <noreply@anthropic.com>
Update LibSSH2_jll to v1.11.104+0, built by JuliaPackaging/Yggdrasil#14317, which bundles the security patches added in Debian's libssh2 1.11.1-5: - CVE-2026-66032: sftp.c: prevent dangling pointer by nullifying data after free - CVE-2026-66033: openssl: fix potential OOB read/write with AES-GCM in ssh2_cipher_crypt() - CVE-2026-66034: publickey: fix potential OOB read in libssh2_publickey_list_fetch() - CVE-2026-66035: transport: fix potential heap overflow on ETM decrypt Apply the same patches to the source build as well. Assisted-by: Claude Fable 5 <noreply@anthropic.com>
mbauman
requested review from
eschnett and
giordano
and removed request for
giordano
July 31, 2026 13:39
eschnett
approved these changes
Jul 31, 2026
giordano
approved these changes
Aug 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Following JuliaPackaging/Yggdrasil#14317, this uses Debian's backported patches for four more CVEs.
Claude tried building both with- and without binary builder; that's how it identified the need for the first commit here.