Repository navigation
Description
Why
The outgoing HTTP calls were pinned to Accept-Encoding: gzip, deflate in
place of "" as a stop-gap for the Brotli decoder flaw CVE-2026-111497
(private advisory: GHSA-c2vc-wwm8-6gx9). The empty string makes libcurl
advertise every encoding it was built with — br included — and our curl
builds link Brotli 1.2.0, inside the vulnerable range (Google Brotli
1.0.3 through 1.2.0, out-of-bounds write in c/dec/decode.c).
Disabling brotli on outgoing calls costs a little bandwidth on three paths
and buys us not parsing attacker-shaped brotli until the fix is everywhere.
This issue exists so the stop-gap has an expiry date instead of becoming the
answer.
The three places (revert all three together)
| Site | Path |
|---|---|
| file-updater | shared/file-updater/file-updater/file-updater.c.h |
| remote text (GET) | frontend/utility/RemoteTextThread.cpp.hpp |
| remote text (request) | frontend/utility/RemoteTextThread.cpp.hpp |
Each currently reads curl_easy_setopt(..., CURLOPT_ACCEPT_ENCODING, "gzip, deflate")
with a comment pointing at the advisory; restoring means going back to "".
Preconditions — all of them, verified, not assumed
- The Brotli linked into our shipped binaries is past the vulnerable
range (or carries the backported patch). Check the actual shipped
artifacts, not the source:curl -V/lddon the AppImage runtime,
the CI image inventory (libbrotli1:amd64 1.2.0-3build1today), the
Windows/macOS dependency bundles, and whatever CEF/Qt pull in. - The distro/upstream advisory for our floor (glibc 2.28 AppImage base)
lists a fixed package we can require. - CVE-2026-111497 is fixed in that package (fix version recorded here).
Definition of done
- All three
setoptcalls go back to""in one PR, with the
linked-library evidence in the PR body (version output, not a claim). - The cmocka test
test_file_updater_failure(which asserts the request
does not listbron the wire) is updated in the same PR — it is
supposed to fail after the revert; flip the assertion to expect brotli
is again advertised, or retire it with a comment saying why. - The comments in the three files are removed in that same PR.
- GHSA-c2vc-wwm8-6gx9 is updated/closed only after the revert is merged
and the linked Brotli on the shipped artifacts is verified fixed.
Related: private advisory GHSA-c2vc-wwm8-6gx9. Reported alongside a Discord
thread where Volker flagged "brotli enabled for outgoing calls" and suggested
exactly this disable-then-restore sequence.
Metadata
Metadata
Assignees
Type
Projects
- StatusShow more project fieldsDone
Activity
[-]restore: brotli back on outgoing calls (Accept_ENCODING empty string) once CVE-2026-111497 is fixed[/-][+]restore: brotli back on outgoing calls (CURLOPT_ACCEPT_ENCODING "") once CVE-2026-111497 is fixed[/+]zackees commentedon Oct 24, 2026
Fix landed in PR #2213 (all three call sites pinned to
gzip, deflate, wire-level assertion added). This issue stays open as the restore gate: nothing here reverts until the linked Brotli on the shipped artifacts is verified past the vulnerable range.outgoing calls: stop advertising br on Accept-Encoding (CVE-2026-111497…
zackees commentedon Oct 25, 2026
Triage: a restore gate, deliberately open. The stop-gap merged (#2213, all three call sites pinned to
gzip, deflatewith a wire-level assertion). Ready to act on only when its dependency is met: the Brotli that ships on every platform (obs-deps, obs-studio-libs, the Flatpak runtime) is outside the vulnerable range. Acceptance: that version pinned and confirmed per platform, thenCURLOPT_ACCEPT_ENCODING ""restored with the assertion updated. P3, size:S. Leaving it un-/ready until then.zackees commentedon Oct 27, 2026
Coordinator triage (2026-10-27). The work is well specified; what stops it being Ready is the issue's own precondition block, which is unverified rather than unmet.
"Brotli linked into our shipped binaries is past the vulnerable range" is the gate, and it cannot be checked from here: this is a property of the artifacts we ship (the AppImage runtime, the Windows/macOS bundles, what CEF and Qt pull in), not of this checkout. Today the CI image inventory records
libbrotli1:amd64 1.2.0-3build1, which is inside the vulnerable range 1.0.3-1.2.0 unless that build carries the backport.Concrete next step, small enough to claim: one task that runs
curl -V/lddon a current AppImage release plus the Windows and macOS bundles and records the Brotli version each one reports, and checks the glibc-2.28 base's advisory for a fixed package version. Its result is the precondition itself - either "still vulnerable, keep the stop-gap and revisit when X ships" or "fixed in version Y, the revert is unblocked". Then this issue's own Definition of done applies unchanged.Until that evidence exists, the three
setoptcalls stay atgzip, deflateand this issue stays out ofready.zackees commentedon Oct 27, 2026
/investigate
The stop-gap is in and this issue is still the right place for its expiry, but it cannot be worked as written: the code it names has changed, and its one real gate cannot be checked from this repository.
The three call sites no longer pass a literal.
shared/file-updater/file-updater/file-updater.c.h:115andfrontend/utility/RemoteTextThread.cpp.hpp:70and:155all callobs_curl_accept_encoding(curl_version_info(CURLVERSION_NOW)), fromshared/file-updater/file-updater/curl-accept-encoding.h:22. So "go back to""" is no longer a three-line revert ofCURLOPT_ACCEPT_ENCODINGvalues.""alone is also now wrong, for a second reason. That header forbids it because the linked Brotli has CVE-2026-111497, but also because a libcurl built without zlib (Windows/Schannel) cannot decode gzip and asking for it broke the service list, capture list and YouTube calls (#2453). The helper therefore returnsidentityin that case. A restore has to keep that branch and addbronly where the linked Brotli is fixed and the build still decodes what it advertises.Precondition 1 cannot be evaluated here. Nothing in the tree pins Brotli:
git grep -i brotli origin/master -- build-auxreturns nothing, and the AppImage's libcurl is rebuilt from AlmaLinux 8's own curl source package (build-aux/appimage/manylinux/Dockerfile:32-43), not from the Ubuntu image. Line 44 rebuilds its BuildRequires withdnf builddepon that SRPM, so whatever Brotli the shipped libcurl links is the onerpm -q libbrotlireports inside the manylinux image — record that number, not the CI image's. Thelibbrotli1:amd64=1.2.0-3build1entries indocs/ci-evidence/are the Ubuntu CI build image, not a shipped AppImage, so they do not answer it either.What is missing, concretely:
curl -Vandldd(orreadelf -d) output from a released AppImage, the Windows zip, the macOS bundle and the Flatpak, each showing the Brotli version actually loaded by the shipped libcurl.brfrom a version it can read at runtime. Either way theidentitybranch for no-zlib builds stays.Tests that must change with the revert, once the above exists:
test/cmocka/test_curl_accept_encoding.c:29and:55assert"gzip, deflate"andassert_false(lists_coding(enc, "br")), andtest/cmocka/test_file_updater_failure.c:217-218asserts on the wire thatbris not advertised.Labels: no change —
P3andsize:Sstill fit. This stays out ofreadyuntil the per-artifact Brotli version is recorded on the issue.zackees commentedon Oct 27, 2026
Artifact check for precondition 1 (per-artifact Brotli versions), run against the latest release
obs-studio-rust-v0.1.0-beta.20261023(published 2026-10-23).Linux .deb —
obs-studio-rust-guiandobs-modules/core/rtmp-services.solinklibcurl.so.4, but the package bundles no libcurl and no Brotli (extracted and searched the whole package: nolibcurl*, nolibbrotli*). The Brotli version on this path is the host distro's, so the .deb cannot pin it.Linux AppImage — bundles its own:
usr/lib/libcurl.so.4→libcurl 7.61.1,NEEDED libbrotlidec.so.1,libz.so.1usr/lib/libbrotlicommon.so.1→ build stringlibbrotlicommon.so.1.0.6-1.0.6-4.el8_10.x86_64.debugSo the AppImage ships Brotli 1.0.6-4.el8_10 from AlmaLinux 8, inside the vulnerable range 1.0.3–1.2.0. As of 2026-10-27 the AlmaLinux fix for this CVE is published for EL9 (
brotli-1.0.9-10.el9_8.1, ALSA-2026:90495) and EL10 (brotli-1.1.0-8.el10_2.1, ALSA-2026:90449); I found no EL8 fixed package — EL8's current errata entry ALSA-2026:2389 still ships1.0.6-4.el8_10, the same build as this AppImage. The shipped AppImage is therefore still vulnerable, and the stop-gap stays until AlmaLinux 8 publishes a fixedbrotli.Windows x64 zip —
bin/64bit/libcurl.dllislibcurl 8.12.1-DEV; no Brotli DLL is shipped and the DLL contains no Brotli symbols. This build does not advertisebrat all, so the no-zlib branch already covers it.macOS dmg — not checked (cannot mount on this Linux host); still needs a run on macOS.
Net: the gate in precondition 1 is not met for the AppImage (and the .deb cannot meet it by construction), so this stays out of
ready; the concrete unblock is an AppImage rebuild after AlmaLinux 8 ships the fixed brotli. The restore-form decision in the third bullet is still open and still needs the maintainer.zackees commentedon Oct 27, 2026
Artifact evidence for the two platforms the earlier check left open (same release,
obs-studio-rust-v0.1.0-beta.20261023; assets verified against the release'sSHA256SUMS):bin/64bit/libcurl.dll,libcurl/8.12.1-DEV*brotli*.dll; the DLL has zero Brotli/zlib/zstd strings and imports none — its only decoders areidentity/none/usr/lib/libcurl.4.dylib*brotli*dylib in the bundle, zerobrotlistrings in the executableusr/lib/libcurl.so.47.61.1libbrotlicommon.so.1→ build string1.0.6-4.el8_10Two gaps remain that the artifact check cannot close: the Brotli copy vendored inside CEF (
libcef.dll/Chromium Embedded Framework.framework) carries no version string, and the macOS dmg delegates to the host's libcurl so its Brotli version needsotool -Lon a macOS host. Neither changes the net: the shipped Linux AppImage is still inside the vulnerable range and AlmaLinux 8 has no fixedbrotlipackage yet (EL8's current errata still ships1.0.6-4.el8_10), so precondition 1 stays unmet and thegzip, deflatestop-gap stays in place. Unblock is external: rebuild the AppImage once AlmaLinux 8 publishes the fixed package.zackees commentedon Oct 28, 2026
Blocked: external — waits on AlmaLinux 8 shipping a fixed brotli.
The artifact check above closes the question for the platforms it can reach: the shipped Linux AppImage bundles brotli 1.0.6 (
1.0.6-4.el8_10), inside the vulnerable 1.0.3–1.2.0 range, and EL8's current errata still ships that package; the Windows zip bundles no brotli at all; the macOS dmg delegates to the host's libcurl, and CEF's vendored copy carries no version string, so neither can be pinned from the release. None of that changes the net: thegzip, deflatestop-gap stays until a fixed brotli package exists and the AppImage is rebuilt.Marking
claim-blockedso this stops re-listing as an open investigation. It is claimable again when the package is published, or sooner if a maintainer decides to bundle a patched brotli instead of waiting for EL8.18 remaining items
test(curl): expect brotli on outgoing calls again (#2211)
curl: ask for brotli again where the decoder is pinned (#2211)
docs(features): ledger line for the brotli restore (#2211, #2906)
build(cmake): gate the Apple Brotli stop-gap without a host condition…
test(curl): expect brotli on outgoing calls again (#2211)
curl: ask for brotli again where the decoder is pinned (#2211)
docs(features): ledger line for the brotli restore (#2211, #2906)
build(cmake): gate the Apple Brotli stop-gap without a host condition…
test(curl): expect brotli on outgoing calls again (#2211)
curl: ask for brotli again where the decoder is pinned (#2211)
docs(features): ledger line for the brotli restore (#2211, #2906)
build(cmake): gate the Apple Brotli stop-gap without a host condition…
curl: ask for brotli again where the decoder is pinned (obs-rust#2211) (