You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CVE-2026-50012 (src/peer_digest.cc) — ❌ Does not compile against squid 6.13 — this is what fails the buddy build. The changed lines are byte-identical to upstream 19fcfe92, and the bounds-check placement (before the memcpy in peerDigestSwapInMask) is correct. But the inserted code calls finishAndDeleteFetch(fetch, "peer digest mask data too large", true), a function that does not exist in 6.13 (0 occurrences in 6.13; 13 on master — it was introduced by a later digest-fetch refactor). 6.13 still uses the older API (peerDigestFetchAbort() / peerDigestFetchStop()). The patch applies cleanly only because the surrounding context lines are comments — then it fails at compile time, on both AMD64 and ARM64.
This is a verbatim copy of the upstream master fix that wasn't backported to the 6.13 digest-fetch API. It needs adaptation, roughly:
assert(size >= 0); // or ensure base/Assure.h is included if keeping Assure()if (fetch->mask_offset+size>static_cast<ssize_t>(pd->cd->mask_size)) {
peerDigestFetchAbort(fetch, buf, "peer digest mask data too large");
return-1;
}
(Assure is also risky here — base/Assure.h exists in 6.13 but isn't included in this file; assert is the safe 6.13-native choice. finishAndDeleteFetch is the hard blocker.)
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
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.
Auto Patch squid for CVE-2026-50012, CVE-2026-47729.
Autosec pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=1161817&view=results
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
*-staticsubpackages, etc.) have had theirReleasetag incremented../cgmanifest.json,./toolkit/scripts/toolchain/cgmanifest.json,.github/workflows/cgmanifest.json)./LICENSES-AND-NOTICES/SPECS/data/licenses.json,./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md,./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)*.signatures.jsonfilessudo make go-tidy-allandsudo make go-test-coveragepassSummary
What does the PR accomplish, why was it needed?
Change Log
Does this affect the toolchain?
YES/NO
Associated issues
Links to CVEs
Test Methodology