Skip to content

[AutoPR- Security] Patch rsyslog for CVE-2026-19654 [MEDIUM] - #18467

Open
Azure Linux Security Servicing Account (azurelinux-security) wants to merge 2 commits into
microsoft:3.0-devfrom
azurelinux-security:azure-autosec/rsyslog/3.0/1183641
Open

[AutoPR- Security] Patch rsyslog for CVE-2026-19654 [MEDIUM]#18467
Azure Linux Security Servicing Account (azurelinux-security) wants to merge 2 commits into
microsoft:3.0-devfrom
azurelinux-security:azure-autosec/rsyslog/3.0/1183641

Conversation

@azurelinux-security

@azurelinux-security Azure Linux Security Servicing Account (azurelinux-security) commented Aug 16, 2026

Copy link
Copy Markdown

Auto Patch rsyslog for CVE-2026-19654.

Autosec pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=1183641&view=results

CVE-2026-19654 : Single Patch Backporter Pipeline Run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=1183645&view=results

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

What does the PR accomplish, why was it needed?

  • Auto Patch rsyslog for CVE-2026-19654 (MEDIUM).
Change Log
  • CVE-2026-19654
Does this affect the toolchain?

YES/NO

Associated issues
  • N/A
Links to CVEs
Test Methodology

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@VijayenderReddyPutta

VijayenderReddyPutta commented Aug 17, 2026

Copy link
Copy Markdown

CVE-2026-19654:
AI patch matches upstream patch.
Backport: Yes (AI-generated backport of upstream fix)

Summary:
1.This PR applies a security patch to rsyslog 8.2308.0 to address CVE-2026-19654 (MEDIUM).
2.Backports the upstream imptcp fix so regex framing matches are only honored when iCurrLine > 0, i.e. after a valid non-zero line offset.
3.Prevents incorrect framing behavior when a regex match occurs at the very start of a received message (iCurrLine == 0).
4.Adds CVE-2026-19654.patch to the rsyslog package and bumps the release from 8.2308.0-5 to 8.2308.0-6.
5.Verified: local rebuild completed successfully (CHECK DONE rsyslog. EXIT STATUS 0), all subpackages (rsyslog, rsyslog-doc, rsyslog-mmsnmptrapd, rsyslog-snmp, rsyslog-debuginfo) built and moved to output without errors.

Patch application:
image
Due to a circular dependency involving a toolchain package, the PR [Pipelines - Run PR-18467+rsyslog+unknown] could not be completed successfully. Therefore, I am attesting the local build results for validation.

image

Comment thread SPECS/rsyslog/rsyslog.spec Outdated
# Unpack the code source tarball
%setup -q
%patch 1 -p1
%patch 0 -p1

@akhila-guruju Akhila Guruju (akhila-guruju) Aug 18, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The patch application needs to be reordered, as they are currently out of sequence. %autosetup -p1 can be used.

# Unpack the code source tarball
%autosetup -p1

@VijayenderReddyPutta

Copy link
Copy Markdown

Patch application:
image

@Kanishk-Bansal
Kanishk Bansal (Kanishk-Bansal) marked this pull request as ready for review August 18, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants