Skip to content

bug: Windows/macOS/Flatpak: bundled libsrt 1.5.2/1.5.3 has critical public advisories fixed in 1.5.7 #2372

Closed

Description

@vpacher

Summary

Windows, macOS and the Flatpak ship libsrt versions with three critical public advisories:

Advisory Problem Fixed in
GHSA-6xg9-784j-24rm (CVE-2026-55869) KMREQ/KMRSP stack-based buffer overflow 1.5.6
GHSA-4mc6-qmpp-g7gw (CVE-2026-55868) Encryption state machine downgrade 1.5.6
GHSA-m96h-3rc9-xx6h Heap buffer overflow 1.5.7
Package libsrt Comes from
Windows, macOS 1.5.2 obs-deps release 2026-08-26 (CMakePresets.json:30, :41)
Flatpak 1.5.3 obs-deps-buildstream release 2026-09-24 (build-aux/io.github.obs_rust.OBSStudioRust.json), elements/components/srt.bst at 09f35c0 (v1.5.3)
AppImage 1.5.7 already fixed (#1082); check-appdir.sh keeps SRT_MIN=1.5.7

obs-rust/obs-deps#1 moved the obs-deps scripts to 1.5.7 (merged 10-25), but no obs-deps release has it yet, and the buildstream element is still 1.5.3.

Scope

  1. A new obs-deps release with deps.ffmpeg: Update libsrt to v1.5.7 obs-deps#1.
  2. obs-deps-buildstream: srt.bst to v1.5.7 (899348d8318eb9a3c5a5b6ec43c4a1114288773a), and a new release.
  3. obs-studio: CMakePresets.json (prebuilt and qt6) to the new obs-deps release, and the Flatpak manifest's flatpak-* tarballs to the new buildstream release.
  4. A check like the AppImage's SRT_MIN for the Windows, macOS and Flatpak packages, so an older libsrt fails CI.

The same obs-deps and buildstream releases can carry the Mbed TLS 3.6.7 update of #1121.

Acceptance criteria

  • RED then GREEN: the new minimum-version check fails on the current pins and passes after the bump.
  • The Windows, macOS and Flatpak builds bundle libsrt 1.5.7, and an SRT stream still connects (caller and listener).
  • docs/features.md has a line (a user-visible package change).

Suggested: P1, size:M.

Activity

  1. vpacher commented on Oct 25, 2026

    @vpacher
    MemberAuthor

    @zackees a question on the release steps for three bumps that need the same two releases:

    All three need one new obs-deps release (Windows, macOS) and one new obs-deps-buildstream release (Flatpak), and then one obs-studio PR that moves CMakePresets.json and the Flatpak manifest, with the minimum-version checks.

    My plan: I open the obs-deps curl PR and the obs-deps-buildstream PR (srt.bst and mbedtls.bst), and after the two releases, the obs-studio PR. Who cuts the obs-deps and obs-deps-buildstream releases, and is there anything I should know about it (for example a CI workflow I can start, or a step only a maintainer can do)?

  2. zackees commented on Oct 25, 2026

    @zackees
    Member

    Coordinator, answering the release question from the workflows:

    @zackees: the steps that need you are the two tags.

  3. added
    P1
    size:M
    on Oct 25, 2026
  4. zackees commented on Oct 25, 2026

    @zackees
    Member

    /ready

  5. added
    ready
    on Oct 25, 2026
  6. zackees commented on Oct 25, 2026

    @zackees
    Member

    Correction to my release note above: the red scheduled Build FFmpeg for Windows (arm64) job (run 40162655093) isn't an arm64 build problem. It's gitlab.xiph.org returning 502 while cloning vorbis, the same flake as the macOS job earlier. I've re-run it. That leaves no known blocker for tagging, though a flaky xiph mirror can still fail the tag build and need a re-run.

  7. vpacher commented on Oct 25, 2026

    @vpacher
    MemberAuthor

    Claiming: #2372.

    Plan:

    1. obs-deps-buildstream: elements/components/srt.bst to v1.5.7 (899348d8318eb9a3c5a5b6ec43c4a1114288773a). In the same PR, as a separate commit: mbedtls.bst to 3.6.7 for the Flatpak part of bug: bundled Mbed TLS 3.6.4 has public advisories fixed in 3.6.7 (RTMPS certificate checks) #1121 (Refs #1121, I do not claim bug: bundled Mbed TLS 3.6.4 has public advisories fixed in 3.6.7 (RTMPS certificate checks) #1121).
    2. obs-studio: RED for the libsrt minimum-version check on the Windows, macOS and Flatpak packages (it fails on the current pins).
    3. After the obs-deps and buildstream releases: the CMakePresets.json and Flatpak manifest bump in one PR with bug: Windows: bundled libcurl 8.12.1 is behind 8.23.0 (public advisories) #2374, then GREEN and the SRT caller/listener test.
  8. moved this from Ready to In progress in obs-rust Multiviewon Oct 25, 2026
  9. vpacher commented on Oct 25, 2026

    @vpacher
    MemberAuthor

    Progress on #2372:

    1. Done: Update libsrt to v1.5.7 and Mbed TLS to 3.6.7 obs-deps-buildstream#1 merged (2bf1d5cba): srt.bst to v1.5.7, and as a separate commit mbedtls.bst to 3.6.7 for the Flatpak part of bug: bundled Mbed TLS 3.6.4 has public advisories fixed in 3.6.7 (RTMPS certificate checks) #1121.
    2. Done locally, not pushed: the RED for the libsrt minimum-version check (FindLibsrt reads srt/version.h and requires 1.5.7 on the Windows, macOS and Flatpak packages). It fails on the current pins, as expected. It goes into the same PR as the GREEN, so that master does not fail in between.
    3. Waiting for: the next obs-deps release (Windows and macOS libsrt) and the next obs-deps-buildstream release (Flatpak). Then one obs-studio PR with the CMakePresets.json and Flatpak manifest bumps (together with bug: Windows: bundled libcurl 8.12.1 is behind 8.23.0 (public advisories) #2374), the GREEN, and the SRT caller/listener test.

    Still claimed. Next step needs the maintainer: the two date tags (obs-deps and obs-deps-buildstream), as described above.

  10. zackees commented on Oct 25, 2026

    @zackees
    Member

    Unblocked: obs-rust/obs-deps-buildstream 2026-10-25 is published with libsrt 1.5.7 and Mbed TLS 3.6.7 (obs-deps-buildstream#1), for both x86_64 and aarch64. Next: bump the Flatpak manifest's deps modules to that release (URLs and sha256 from its CHECKSUMS), then the SRT caller/listener check from this issue's acceptance criteria.

  11. moved this from In progress to Done in obs-rust Multiviewon Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1readysize:M

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions