[AutoPR- Security] Patch glibc for CVE-2025-15281 [MEDIUM]#15561
Merged
Kanishk-Bansal merged 2 commits intomicrosoft:3.0-devfrom Jan 27, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR applies a security patch to glibc for CVE-2025-15281 (MEDIUM severity), which addresses a use-after-free vulnerability in the wordexp implementation when using the WRDE_REUSE flag. The glibc package version is bumped from 2.38-17 to 2.38-18, and all dependent packages that rely on glibc-static are rebuilt with the updated version.
Changes:
- Patches glibc to fix CVE-2025-15281 by properly resetting wordexp_t fields when WRDE_REUSE is used
- Updates toolchain and pkggen_core manifests for both x86_64 and aarch64 architectures
- Rebuilds 13 dependent packages (tini, supermin, rust, qemu, libguestfs, libcap, kubevirt, kubernetes, flannel, busybox, podman, dyninst, crun, catatonit, buildah) with the updated glibc-static
Reviewed changes
Copilot reviewed 22 out of 22 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| SPECS/glibc/glibc.spec | Bumps release from 17 to 18, adds CVE-2025-15281.patch, updates changelog |
| SPECS/glibc/CVE-2025-15281.patch | New patch file that fixes wordexp WRDE_REUSE vulnerability by resetting we_wordc fields |
| toolkit/resources/manifests/package/toolchain_x86_64.txt | Updates glibc and libcap package versions for x86_64 toolchain |
| toolkit/resources/manifests/package/toolchain_aarch64.txt | Updates glibc and libcap package versions for aarch64 toolchain |
| toolkit/resources/manifests/package/pkggen_core_x86_64.txt | Updates glibc and libcap package versions for x86_64 core |
| toolkit/resources/manifests/package/pkggen_core_aarch64.txt | Updates glibc and libcap package versions for aarch64 core |
| SPECS/tini/tini.spec | Bumps release to 28, updates glibc-static BuildRequires to 2.38-18 |
| SPECS/supermin/supermin.spec | Bumps release to 13, updates glibc-static BuildRequires to 2.38-18 |
| SPECS/rust/rust.spec | Bumps release to 3, updates glibc-static BuildRequires to 2.38-18 |
| SPECS/rust/rust-1.75.spec | Bumps release to 24, updates glibc-static BuildRequires to 2.38-18 |
| SPECS/qemu/qemu.spec | Bumps release to 27, updates glibc-static BuildRequires to 2.38-18 |
| SPECS/libguestfs/libguestfs.spec | Bumps release to 20, updates glibc-static BuildRequires to 2.38-18 |
| SPECS/libcap/libcap.spec | Bumps release from 11 to 12, updates glibc-static BuildRequires to 2.38-18 |
| SPECS/kubevirt/kubevirt.spec | Bumps release to 3, updates glibc-static BuildRequires to 2.38-18 |
| SPECS/kubernetes/kubernetes.spec | Bumps release to 20, updates glibc-static BuildRequires to 2.38-18 |
| SPECS/flannel/flannel.spec | Bumps release to 24, updates glibc-static BuildRequires to 2.38-18 |
| SPECS/busybox/busybox.spec | Bumps release to 21, updates glibc-static BuildRequires to 2.38-18 |
| SPECS-EXTENDED/podman/podman.spec | Bumps release to 7, updates glibc-static BuildRequires to 2.38-18 |
| SPECS-EXTENDED/dyninst/dyninst.spec | Bumps release to 28, updates glibc-static BuildRequires to 2.38-18 |
| SPECS-EXTENDED/crun/crun.spec | Bumps release to 3, updates glibc-static BuildRequires to 2.38-18 |
| SPECS-EXTENDED/catatonit/catatonit.spec | Bumps release to 26, updates glibc-static BuildRequires to 2.38-18 |
| SPECS-EXTENDED/buildah/buildah.spec | Bumps release to 6, updates glibc-static BuildRequires to 2.38-18 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
|
/azurepipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Contributor
|
Full Build passed |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 glibc for CVE-2025-15281.
Autosec pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=1032826&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