Repository navigation
Description
The glibc-2.28 AppImage bundles three libraries that are past their support life, and one of them is now a security gate: libbrotlidec 1.0.6, libcurl 7.61.1 (2018) and OpenSSL 1.1.1k — all inherited from the AlmaLinux 8 base, none of them pinned or rebuilt by this repo.
Evidence (from the released artifact, obs-studio-rust-v0.1.0-beta.20261028, sha256 817338ae…d9d752b7)
Unpacked with --appimage-extract, then read the binaries:
usr/bin/obs-studio-rust-gui→NEEDED libcurl.so.4,RPATH $ORIGIN/../lib.usr/lib/libcurl.so.4→libcurl/7.61.1 OpenSSL/1.1.1k zlib/1.2.11 brotli/1.0.6 …, hostx86_64-redhat-linux-gnu,NEEDED libbrotlidec.so.1.usr/lib/libbrotlidec.so.1→BrotliDecoderVersion()=0x1000006= 1.0.6.
Neither brotli nor curl has a recipe in obs-rust/obs-studio-libs (recipes/linux/ has fdk-aac, ffmpeg, glib, headers, libdatachannel, libvpl, pipewire, qrcodegen, qt6). The base supplies them: build-aux/appimage/manylinux/Dockerfile installs libcurl-devel/openssl-devel from AlmaLinux 8 and rebuilds libcurl from AlmaLinux's own source RPM (so that it is --with-ca-fallback), which keeps the default --with-brotli and its 1.0.6 libbrotlidec.
Why it matters
- It blocks restore: brotli back on outgoing calls (CURLOPT_ACCEPT_ENCODING "") once CVE-2026-111497 is fixed #2211. Brotli 1.0.6 is inside CVE-2026-111497's range (1.0.3–1.2.0), so the stop-gap that pins outgoing calls to
Accept-Encoding: gzip, deflate(shared/file-updater/file-updater/curl-accept-encoding.h) cannot be reverted for the AppImage. restore: brotli back on outgoing calls (CURLOPT_ACCEPT_ENCODING "") once CVE-2026-111497 is fixed #2211's own gate ("the Brotli on every shipped artifact is past the vulnerable range") is therefore unreachable while this base is in use. - curl 7.61.1 and OpenSSL 1.1.1k are EOL, and both are what every AppImage user's update check, service list and remote-text fetch go through.
- The glibc 2.28 floor is deliberate (appimage: target glibc 2.28 (manylinux_2_28 base) and stop bundling glibc #926), so this is not "bump the base":
manylinux_2_28is the newest image that keeps glibc 2.28, and moving past it drops the oldest supported distros. The fix has to keep the floor.
Suggested scope
- Add
brotli.shandcurl.shrecipes toobs-studio-libsrecipes/linux/(pinned sources: brotli ≥ 1.2.1, curl 8.x), built against the glibc-2.28 toolchain — the same way Qt/FFmpeg/PipeWire arrive — and drop the Dockerfile's AlmaLinux source-RPM rebuild in favour of the pinned prefix (--with-brotliagainst the pinned brotli,--with-ca-fallbackkept). - Verify in the AppImage:
curl_version()reports the pinned build,BrotliDecoderVersion()is out of the vulnerable range,check-glibc-floor.pystill passes (the floor is aboutGLIBC_symbols the files require), andtest-appimage.shpasses across the stock containers (AlmaLinux 8, Ubuntu 22.04/24.04, Arch). - Then restore: brotli back on outgoing calls (CURLOPT_ACCEPT_ENCODING "") once CVE-2026-111497 is fixed #2211 can revert its three call sites in one PR with this issue's version output as the evidence.
Not in scope: the macOS build (it links the OS /usr/lib/libcurl.4.dylib) and the .deb (the distro's libcurl4t64).
Activity
brotli 1.2.1: catalog and root Index entry (obs-rust/obs-studio#2774)
zackees commentedon Oct 28, 2026
Progress: the brotli half is built, published and in a PR — obs-rust/obs-studio-libs#22 (
build/2774-brotli-1.2.1).recipes/linux/brotli.shpins brotli 1.2.1 (first release past CVE-2026-111497's 1.0.3–1.2.0 range) and builds it into/opt/obs-deps/brotliin the digest-pinned manylinux_2_28 image.build.shbuilds it by default, andsummaries.jsongains its one-line summary.brotli-1.2.1-linux-x86_64-glibc2.28-release.tar.zst, 443,768 bytes, sha256eb4f2214dbc91eb1529e4a61499fce26ae03c06dde10935cdc6e8cf0d1b0793d;BrotliDecoderVersion()from the extracted artifact is0x1002001= 1.2.1 (the base's 1.0.6 is0x1000006), glibc floor still 2.28. Published as releasebrotli-1.2.1(uploaded asset digest matches) and recorded inbrotli/manifest.jsonplus the root Index on theassetsbranch (dad22f7), resolving over plain HTTPS.tests/test_brotli_recipe.pykeeps the pin out of the vulnerable range and the recipe inbuild.sh's default list.uv run --group dev pytest28 passed;ruff checkandruff format --checkclean.Remaining on this issue, in order:
--with-ca-fallback's effect — or, since the RPM spec is what sets the RHEL CA-bundle path, build upstream without--with-ca-bundleso OpenSSL's default verify paths (andSSL_CERT_FILE) are used; that needs verifying against AppRun's host-bundle behaviour before the RPM rebuild is dropped. OpenSSL 1.1.1k is the third EOL library and its replacement is a separate, larger change./opt/obs-deps/brotli, expose it onPKG_CONFIG_PATH/CMAKE_PREFIX_PATHwhen the libcurl RPM is rebuilt, and bundle the resultinglibbrotli*.soin the AppImage; then verifycurl_version()/BrotliDecoderVersion()in the artifact and runtest-appimage.shacross AlmaLinux 8/Ubuntu 22.04/24.04/Arch. That needs an appimage image rebuild, which is why it is not in libobs: Preserve extensions and UTF-8 boundaries in generated filenames #22.I am not claiming the rest of this issue; #22 is the brotli slice only.
build: add a pinned brotli 1.2.1 recipe for the AppImage (#2774) (#22)
zackees commentedon Oct 28, 2026
Merged: obs-rust/obs-studio-libs#22 landed on
mainas48369d8at 11:54Z —recipes/linux/brotli.sh(brotli 1.2.1),build.sh's default tool list,summaries.json, andtests/test_brotli_recipe.py. The artifact it built is published as releasebrotli-1.2.1(sha256eb4f2214…b0793d,BrotliDecoderVersion()= 1.2.1) and catalogued on theassetsbranch (dad22f7).The consumer wiring is now tracked as #2782 and this issue is blocked on it, so the remaining AppImage verification has a home. Still open here: the pinned curl 8.x recipe (the other half of the suggested scope).
zackees commentedon Oct 28, 2026
/ready
Triage: Ready, for the remaining half only (the pinned curl 8.x recipe); the brotli half and the #2782 consumer wiring are already merged.
recipes/linux/curl.shpinned to curl 8.x against the pinned brotli 1.2.1, plus droppingbuild-aux/appimage/manylinux/Dockerfile's AlmaLinux source-RPM rebuild in favour of that prefix (--with-ca-fallbackkept), inobs-rust/obs-studio-libsmain— the same shape as the mergedrecipes/linux/brotli.sh(libobs: Preserve extensions and UTF-8 boundaries in generated filenames #22).curl_version()in the built AppImage reports the pinned build,BrotliDecoderVersion()is out of CVE-2026-111497's 1.0.3–1.2.0 range,check-glibc-floor.pystill passes, andtest-appimage.shpasses on AlmaLinux 8 / Ubuntu 22.04 / Ubuntu 24.04 / Arch.P2(EOL curl/OpenSSL shipping to users; the brotli security gate itself is already fixed) andsize:M(one recipe, one Dockerfile change, cross-container verification).zackees commentedon Oct 28, 2026
Claiming: pinned curl 8.x recipe (AppImage EOL curl/brotli)
Plan (one PR per repo, in order):
obs-rust/obs-studio-libsmain: addrecipes/linux/curl.shpinned to a curl 8.x tarball (--with-brotliagainst the published brotli 1.2.1 prefix,--with-ca-fallbackkept), wire it intobuild.sh's default tool list +summaries.json, build it in the linux stack image, publish the labeledrNartifact and theassetsindex entry.obs-rust/obs-studio: dropbuild-aux/appimage/manylinux/Dockerfile's AlmaLinux source-RPM rebuild in favour of the pinned prefix, and consume both pins throughdeps.lock.json.curl_version()reports the pinned 8.x build,BrotliDecoderVersion()is outside CVE-2026-111497's 1.0.3-1.2.0 range,check-glibc-floor.pystill passes, andtest-appimage.shpasses on AlmaLinux 8 / Ubuntu 22.04 / Ubuntu 24.04 / Arch (anappimage.yamlplatform_tests=truedispatch, since PR CI builds no app).Both PRs stay unmerged for the maintainer. First PR (the recipe) expected this tick; the consumer PR follows once the artifact is published and resolved through the repo's own lock parser.
build: add pinned curl 8.23.0 + OpenSSL 3.5.9 recipes for the AppImag…
curl 8.23.0 + OpenSSL 3.5.9: catalog and root Index entries (obs-rust…
zackees commentedon Oct 28, 2026
Progress (worker tick, obs-studio3): the pinned curl is built, published and wired; the AppImage lane on the consumer PR is running now.
Part 1 —
obs-rust/obs-studio-libs(recipes/linux): merged as0c6b4401c(PR #23)curl.shpins 8.23.0 (2026-10-14) and keeps the bug: AppImage (glibc 2.28 base): HTTPS requests fail on non-RHEL hosts because the bundled libcurl looks for /etc/pki/tls/certs/ca-bundle.crt #1085 contract:--with-ca-fallback+--without-ca-bundle --without-ca-path, so no RHEL/etc/pki/tls/certs/ca-bundle.crtis compiled in and theSSL_CERT_FILEAppRun points at is honoured. Brotli is--with-brotli=/opt/obs-deps/brotli(the pinned 1.2.1, not the base's 1.0.6).openssl.shpins 3.5.9 (the LTS line) because curl 8.18+ refuses OpenSSL older than 3.0 — the base's EOL 1.1.1k cannot back a pinned libcurl. That is one finding beyond the issue's scope text, which said "pinned sources: brotli ≥ 1.2.1, curl 8.x": the newest usable-with-1.1.1 curl is 8.17.0 (2025-11), so the honest choice was OpenSSL 3.5 + current curl rather than an 11-month-old curl. Both libs are symbol-versioned (OPENSSL_3.0.0/OPENSSL_1_1_0), so the base's 1.1.1k that Qt Network still links can coexist in one process.Artifacts published and asserted in the
manylinux_2_28image (glibc 2.28):curl-8.23.0-linux-x86_64-glibc2.28-release.tar.zsta4f803b5…81335b1openssl-3.5.9-linux-x86_64-glibc2.28-release.tar.zstd8fe8a82…3b41958fcurl_version()from the built prefix:curl 8.23.0 (x86_64-pc-linux-gnu) libcurl/8.23.0 OpenSSL/3.5.9 zlib/1.3.2 brotli/1.2.1; soname stilllibcurl.so.4;NEEDED libssl.so.3 libcrypto.so.3 libbrotlidec.so.1. GitHub's computed asset digests match the local sha256s, and the rootassetsindex + both tool manifests are live over raw HTTPS.Part 2 —
obs-rust/obs-studio: PR #2802 (draft)deps.lock.jsongains both tools;build-aux/appimage/manylinux/Dockerfiledeletes the source-RPM rebuild and puts the two prefixes first onCMAKE_PREFIX_PATH/PKG_CONFIG_PATH/LD_LIBRARY_PATH, with an in-image assertion (pkg-config --modversion libcurl= 8.23.0,lddresolves both prefixes, no RHEL CA path inlibcurl.so.4).9f7d13cc1(ci/test_appimage_curl_deps.py+ the reworked brotli pin) fails 6 ways on master; GREEN509274cb7is the lock/Dockerfile change and the threeci/test_appimage_*modules pass (10 tests).appimage.yamlplatform_tests=truedispatch on the branch — run 40702201374, started 14:03Z. It must showcurl_version()reporting the pinned build,BrotliDecoderVersion()out of 1.0.3–1.2.0,check-glibc-floor.pystill 2.28, andtest-appimage.shgreen on AlmaLinux 8 / Ubuntu 22.04 / 24.04 / Arch. The PR stays a draft until that run's job table is pasted there.Still open after this: the AppImage's other OpenSSL consumer (Qt Network) stays on the base's 1.1.1k, so 1.1.1k is the last EOL library in the artifact and the #2211 gate is unaffected by it. Reported separately if the maintainer wants it pinned.
appimage: fix the libssl assertion's escaping in the image check (#2774)
appimage: put the pinned curl CLI on PATH, not just its library (#2774)
zackees commentedon Oct 28, 2026
Landed. The AppImage now ships a supported libcurl and TLS runtime; the artifact itself was unpacked and read after the green lane.
Merged / published
obs-rust/obs-studio-libs#23→0c6b4401c:recipes/linux/curl.sh(curl 8.23.0,--with-ca-fallbackwith--without-ca-bundle --without-ca-path,--with-brotli=/opt/obs-deps/brotli) andrecipes/linux/openssl.sh(3.5.9 LTS). Releasescurl-8.23.0andopenssl-3.5.9, plus theassetsindex entries, verified over raw HTTPS.obs-rust/obs-studio#2802: the manylinux Dockerfile consumes both throughdeps.lock.json; the AlmaLinux source-RPM rebuild is gone. Queued for merge.App lane —
appimage.yamlplatform_tests=true, run 40704567551: success. Image, Configure, Build, AppDir, AppImage, host-library loader, NixOS andalmalinux:8/ubuntu:22.04/ubuntu:24.04/archlinux:latestall pass.Measured from the built AppImage (downloaded the run's artifact,
--appimage-extract, read the libraries' own symbols):So scope items 1 and 2 of this issue are done for libcurl: pinned build, pinned brotli, CA-fallback contract intact, glibc floor still 2.28, all four stock containers green.
What is left, and why this issue stays open: the AppImage still contains the base's EOL
libssl.so.1.1/libcrypto.so.1.1—ls squashfs-root/usr/libnow shows both pairs (libssl.so.1.1+libssl.so.3). Those 1.1 libraries are Qt Network's, not libcurl's. Replacing them means rebuilding Qt 6 against a pinned OpenSSL 3 prefix (and re-checking anything else that links 1.1), which is materially bigger than this unit — I have not attempted it. Anyone picking it up should start from the pinnedopensslprefix that now exists inobs-studio-libs, since Qt's recipe would consume it the same way curl does.Note for #2211: its gate ("the Brotli on every shipped artifact is past the vulnerable range") is now satisfied by the artifact above —
BrotliDecoderVersion()is 1.2.1 in the AppImage. I have commented there with this evidence, but the revert of theAccept-Encodingstop-gap is that issue's call, not mine.zackees commentedon Oct 28, 2026
Releasing: the curl/TLS half — landed in obs-studio-libs#23 and obs-studio#2802 (merged 14:45Z, app lane run 40704567551 green).
The issue stays open for the remaining unit only: the AppImage still bundles the base's EOL libssl.so.1.1/libcrypto.so.1.1 for Qt Network. Releasing the claim so another worker can take that unit (start from the pinned openssl 3.5.9 prefix in obs-studio-libs).
zackees commentedon Oct 28, 2026
Claiming: #2774 remaining unit (the AppImage still ships EOL OpenSSL 1.1.1)
Evidence from the AppImage built for #2802 (artifact of run 40704567551, unpacked with
--appimage-extract):usr/lib/libssl.so.1.1/libcrypto.so.1.1are still in the bundle:OpenSSL 1.1.1k FIPS 25 Mar 2021.libssl.so.3/libcrypto.so.3(3.5.9) are there too, for the pinned libcurl 8.23.0.readelf -d usr/lib/libdatachannel.so.0.24listsNEEDED libssl.so.1.1andlibcrypto.so.1.1. No other ELF in the bundle needs 1.1.1, andlibqopensslbackend.so/libQt6Network.so.6link no OpenSSL (theydlopenit, so they take the 3.5.9 in the same directory once 1.1.1 is gone). The remaining unit is therefore the libdatachannel recipe, not the Qt side.Plan (one PR per repo, in order):
obs-rust/obs-studio-libsmain: buildrecipes/linux/libdatachannel.shagainst the pinned/opt/obs-deps/openssl(3.5.9) prefix instead of the base image's 1.1.1, with a recipe test that fails while the recipe still takes the base OpenSSL. Republish thelibdatachannel-0.24.6artifact and itsassetsindex entry.obs-rust/obs-studio: bump the libdatachannel pin inbuild-aux/appimage/manylinux/deps.lock.json, add a check that the built AppDir contains nolibssl.so.1.1/libcrypto.so.1.1(RED against the current pin), and verify on anappimage.yamldispatch that the bundle ships only OpenSSL 3.5.9,test-appimage.shstill passes, andcheck-glibc-floor.pystill passes.Both PRs stay unmerged for the maintainer. First PR (the recipe) expected this tick.
zackees commentedon Oct 28, 2026
Progress (worker tick, obs-studio4): the 1.1.1 source is not Qt itself but the libraries around it; the libdatachannel half is fixed and published, the krb5 half is filed as #2815.
Root cause (from the artifact of run 40704567551, unpacked with
--appimage-extract)usr/lib/libssl.so.1.1/libcrypto.so.1.1are the base'sOpenSSL 1.1.1k.readelf -d usr/lib/libdatachannel.so.0.24->NEEDED libssl.so.1.1,libcrypto.so.1.1.readelf -d usr/lib/libQt6Network.so.6->NEEDED libgssapi_krb5.so.2, and the base'slibkrb5/libk5crypto/libkrb5supportneedlibcrypto.so.1.1. Qt Network itself links no OpenSSL (itdlopens it and takes the first versioned soname), so with 1.1.1 present it stayed on it.Landed / open
obs-rust/obs-studio-libs#24: the libdatachannel recipe builds against/opt/obs-deps/openssl(3.5.9) and assertslibssl.so.3and nolibssl.so.1at build time;build.shbuilds openssl first.uv run pytest: 43 passed.libdatachannel-0.24.6(1114574 bytes, sha25698f2536522f69c8e3abe8dfa2564b460f65a056a8c744cb34f91d07627a2f129),assetscatalog updated (913c520).readelf -don the unpacked artifact:NEEDED libssl.so.3,libcrypto.so.3.#2814: bumps thedeps.lock.jsonpin to that sha (one-line consumer change, evidence in the PR).#2815: the remaining 1.1.1 sources — Qt Network's GSSAPI/krb5 chain. Proposed fix: build Qt with-DFEATURE_gssapi=OFF(OBS never uses Negotiate auth), which drops krb5 and with it the 1.1.1 TLS libraries; thecheck_appdir.pygate that fails a bundle containing any 1.1.1 soname lands with that fix (drafted, held so it does not fail every AppImage build in the meantime).#2774 closes with #2814; the last 1.1.1 source is tracked in #2815.
zackees commentedon Oct 28, 2026
Closing: both halves this issue tracked are now dispatched to their own fixes, and neither is left in the AppImage base.
Fixed and merged
#2802(5fd1c516d) took libcurl 8.23.0 and OpenSSL 3.5.9 from the lock, so the bundle no longer runs the AlmaLinux 8 7.61.1 or its 1.1.1k OpenSSL.libbrotlidecto curl (same PR); the restore: brotli back on outgoing calls (CURLOPT_ACCEPT_ENCODING "") once CVE-2026-111497 is fixed #2211 stop-gap that pinsAccept-Encoding: gzip, deflatecan be revisited on its own issue with the CVE range in hand.NEEDED libssl.so.1.1:#2814(967414b1d, merged 2026-10-28 15:37Z) pins libdatachannel against the OpenSSL 3.5.9 build (obs-studio-libs#24), which is the reasonlibssl.so.1.1was still in the bundle after appimage: take libcurl 8.23.0 and OpenSSL 3.5.9 from the lock (#2774) #2802.Split out, not lost
libQt6Network.so.6'sNEEDED libgssapi_krb5.so.2: filed as#2815with thereadelfevidence and the preferred fix (-DFEATURE_gssapi=OFFinobs-studio-libsrecipes/linux/qt6.sh). That issue also holds thecheck_appdir.pyguard, which stays unlanded until the bundle is actually clean so it does not fail every AppImage build.What is not verified here
#2814merged, so the "nolibssl.so.1.*in the bundle" observation is expected from the dependency graph (readelfshowed libdatachannel as the only 1.1.1 consumer) rather than measured on a new artifact. The next AppImage run is the check; a failure there belongs to#2815, not to this issue.appimage: take libcurl 8.23.0 and OpenSSL 3.5.9 from the lock (obs-ru…
build(appimage): pin libdatachannel against the OpenSSL 3.5.9 build (o…