-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Fix musl's CVE-2025-26519 #137127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix musl's CVE-2025-26519 #137127
Conversation
rustbot has assigned @Mark-Simulacrum. Use |
@bors p=100 Security fix, I want to land this on master as soon as possible, so that we can consider applying it to the upcoming 1.85.0 release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I double-checked:
- The linked advisory itself
- The two patches; I manually double-checked that they match with the PR changes
Thanks. You can r=me unless this specifically needs T-infra review or you want to run some try-job.
@bors r=jieyouxu p=100 |
This comment has been minimized.
This comment has been minimized.
@bors r- Groan tidy is being annoying. |
I would slap a Footnotes |
ba4bcc1
to
6ee3949
Compare
Added tidy ignores. @bors r=jieyouxu p=100 |
… r=jieyouxu Fix musl's CVE-2025-26519 The musl project [announced CVE-2025-26519](https://www.openwall.com/lists/musl/2025/02/13/1), which could result in out-of-bounds writes when calling the `iconv` function. There is no musl release available with the fixes at this point in time (and we're using an older version of musl anyway), so this PR applies the provided patches on top of the musl source tarball we download.
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
Hm...
|
6ee3949
to
a6ee2f4
Compare
Ok tested locally again (and this time tested running the script multiple times too). |
Let's try this again 🙏 |
☀️ Test successful - checks-actions |
Finished benchmarking commit (5bc6231): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (primary 2.5%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 790.819s -> 790.255s (-0.07%) |
(Wearing my security response hat...) @rustup label stable-accepted beta-accepted |
Oops... @rustbot label stable-accepted beta-accepted |
Prepare Rust 1.85.0 stable release This includes a relnotes sync and a few last-minute backports: - change `literal_string_with_formatting_args` lint category to nursery rust-lang#136982 - Update the reference for reverted `extended_varargs_abi_support` rust-lang#136934 - fix musl's CVE-2025-26519 rust-lang#137127 r? cuviper
[beta] Prepare Rust 1.86.0 This includes one backport: - fix musl's CVE-2025-26519 rust-lang#137127 r? cuviper
The musl project announced CVE-2025-26519, which could result in out-of-bounds writes when calling the
iconv
function. There is no musl release available with the fixes at this point in time (and we're using an older version of musl anyway), so this PR applies the provided patches on top of the musl source tarball we download.