Zum Hauptinhalt springen
Intelligence View
⚡ tsecurity.de Intelligence

The Rust Programming Language Blog: Announcing Rust 1.96.0

The Rust team is happy to announce a new version of Rust, 1.96.0. Rust is a programming language empowering everyone to build reliable and efficient software.…

Beitrag
0
Seite
0
↗ Quelle (blog.rust-lang.org)
CVE & Threat-Kontext · 4 Min. Lesezeit
Quelle: blog.rust-lang.org
Rubrik: Outils Admin & Dev
CVE-2026-5223 CVSS 6.5 EPSS 0.5%

The Rust team is happy to announce a new version of Rust, 1.96.0. Rust is a programming language empowering everyone to build reliable and efficient software.


If you have a previous version of Rust installed via rustup, you can get 1.96.0 with:


$ rustup update stable

If you don't have it already, you can get rustup from the appropriate page on our website, and check out the detailed release notes for 1.96.0.


If you'd like to help us out by testing future releases, you might consider updating locally to use the beta channel (rustup default beta) or the nightly channel (rustup default nightly). Please report any bugs you might come across!



What's in 1.96.0 stable



New Range* types


Many users expect Range and related core::ops types to be Copy, but this is not the case: they implement Iterator directly, and it is a footgun to implement both Iterator and Copy on the same type so this has been avoided. RFC3550 proposed a set of replacement range types that implement IntoIterator rather than Iterator, meaning they can also be Copy. The standard library portion of that RFC is now stable, introducing:



  • core::range::Range

  • core::range::RangeFrom

  • core::range::RangeInclusive

  • Associated iterators


A Rust version in the near future will also add core::range::RangeFull and core::range::RangeTo as re-exports from core::ops (these do not implement Iterator and already implement Copy), and core::range::legacy::* as the new home for the current ranges. Range syntax like 0..1 still produces the legacy types for now, but will be updated to core::range types in a future edition.


With these stabilizations, it is now possible to store slice accessors in Copy types without splitting start and end:


use core::range::Range;

#[derive(Clone, Copy)]
pub struct Span(Range<usize>);

impl Span {
pub fn of(self, s: &str) -> &str {
&s[self.0]
}
}

The new RangeInclusive also makes its fields public, unlike the legacy version which avoided exposing the exhausted iterator state. This isn't a concern with the new type since it must be converted to begin iteration.


Library authors should consider making use of impl RangeBounds in public API, which accepts both legacy and new range types. If a concrete type is needed, prefer using new ranges as this will eventually become the default.



Assert matching patterns


The new macros assert_matches! and debug_assert_matches! check that a value matches a given pattern, panicking with a Debug representation of the value otherwise. These are essentially the same as assert!(matches!(..)) and debug_assert!(matches!(..)), but the printed value improves the possibility of diagnosing the failure.


These new macros have not been added to the standard prelude, because they would collide with popular third-party crates that provide macros with the same name. Instead, they should be manually imported from core or std before use.


use core::assert_matches;

/// [Random Number](https://xkcd.com/221/)
fn get_random_number() -> u32 {
// chosen by a fair dice roll.
// guaranteed to be random.
4
}

fn main() {
assert_matches!(get_random_number(), 1..=6);
}


Changes to WebAssembly targets


WebAssembly targets no longer pass --allow-undefined to the linker which means that undefined symbols when linking are now a linker error instead of being converted to WebAssembly imports from the "env" module. This change prevents modules from linking unless all linking-related symbols are defined to catch bugs earlier and prevent accidental issues with symbol naming or similar.


Undefined linking-related symbols are often indicative of build-time related bugs or misconfiguration. If, however, the old behavior is intended then it can be re-enabled with RUSTFLAGS=-Clink-arg=--allow-undefined or by editing the source code and using #[link(wasm_import_module = "env")] on the block defining the symbol.


This change was previously announced on this blog, and now takes effect in Rust 1.96.



Stabilized APIs




Two Cargo advisories


Rust 1.96 contains fixes for two vulnerabilities for users of third-party registries.




  • CVE-2026-5223 is a medium severity vulnerability regarding extraction of crate tarballs with symlinks.




  • CVE-2026-5222 is a low severity vulnerability regarding authentication with normalized URLs.




Users of crates.io are not affected by either vulnerability.



Other changes


Check out everything that changed in Rust, Cargo, and Clippy.



Contributors to 1.96.0


Many people came together to create Rust 1.96.0. We couldn't have done it without all of you. Thanks!

Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:
✏️ Information ergänzen
🛡️ Versioniert via CMS-Revisions-Engine (Freigabe-Queue für Gäste)

💬 Discussion communautaire et commentaires

🌐 Rejoindre le chat principal

Lancez la discussion dans le flux diffusé du Social Chat ou proposez ci-dessus une contribution experte via le formulaire de complément.

Renseignement sur les menaces & Forensique

Navigateur ATT&CK · Radar IoC · Preuves d’exploitation
MITRE ATT&CK Matrix Navigator
0 belegte Techniken · 1 CAPEC-Ansatz
CAPEC-27Angriffsansatz
Leveraging Race Conditions via Symbolic Links
Ansatz über die CWE➔CAPEC-Kette belegt — ATT&CK dokumentiert hierfür keine Technik-Zuordnung.
IoC Intelligence
2 Indikatoren · Defanged · STIX 2.1
CVE-2026-5223CVE-2026-5222
Cycle de vie Exploit & Remédiation
PoC · Exploitation · Correctifs
CVE-2026-5222
Découverte & Divulgation
Vulnérabilité identifiée et enregistrée
Avis de sécurité
Alerte officielle et attribution CVE
Exploit / PoC
Öffentlicher Nachweis dokumentiert (🔒 Details nur für Community-Mitglieder)
Exploitation active
Aucune exploitation massive signalée
Correctif & Protection
Hersteller-Patch bzw. offizielles Sicherheits-Advisory verfügbar — Update zeitnah einspielen.
Radar d’armement & PoC
Urgence Admin IT · Surface d’attaque Chercheur · Preuves
ELEVATED · 43/100Score Admin IT: 33/100Score Chercheur: 43/100
Exploit-DB
Kein EDB-Eintrag
Interaktion
Interaktion nötig
Authentifizierung
Nicht erforderlich

CWE-Schwachstellen-Taxonomie & Defensive Architektur

Schwachstellen-Klassen · Root Cause · Mitigation
MITRE CWE Matrix
CWE-647 Software-Schwachstellen-Klasse CWE-647
Allgemeine Sicherheitsarchitektur
Wurzelursache (Root Cause)
Spezifische Schwachstelle gemäß MITRE CWE-Katalog.
Exploitation-Mechanik
Potenzielle Beeinträchtigung von Vertraulichkeit, Integrität oder Verfügbarkeit.
Defensive Architektur
Upstream-Advisory und herstellerspezifische Richtlinien für sichere Programmierung prüfen.

Compliance, SLA & Vendor Adherence

Advisory-Prüfung · Score-Einordnung · Fristen
CISA-SSVC-Triage (vulnrichment)CVE-2026-5223
Exploitation: none (Keine bekannte Ausnutzung)Automatable: no (Nicht automatisierbar)Technical Impact: partial (Teilweise)
Quelle: CISA-ADP vulnrichment · Stand 2026-05-26T14:36:37.949868Z · CISA Coordinator
Advisory Radar

Avis des éditeurs & Statut des correctifs

Offizielles Hersteller-Update verfügbar
Recommandation pour les administrateurs

Hersteller hat ein verifiziertes Patch-Release herausgegeben. Sofortiges Rollout auf Test- und Produktivsystemen empfohlen.

Patch-Informationen & Code-Fixes (GitHub / Git)
Références vérifiées & sources primaires (« Vérifié » pour les domaines éditeurs et autorités officielles)
Briefing sécurité Gratuit · désabonnement en 1 clic

Intelligence Digest — gratuit

Chaque jour, les principales actualités sécurité · résiliable à tout moment

Évaluation communautaire &amp; preuve sociale
⭐ Avis des lecteurs
–
Ø / 5.0
Pas encore d'évaluation des lecteurs
Cet article vous a-t-il été utile ?
0
Donner votre évaluation
Évaluation détaillée (facultatif)
Contenu & qualité
Source & fiabilité
Actualité

Groupes d’histoires apparentées & sources (IA vectorielle)

6 Cluster
13 sources
ZDI-26-1078: llama.cpp GGUF File Parsing MINICPM-V Heap-based Buffer Overflow Remote Code Execution Vulnerability
ZDI: Published Advisories il y a 14 h
12 autres sources
ZDI: Published Advisoriesil y a 14 hZDI-26-1071: llama.cpp GGUF File Parsing Integer Overflow Remote Code Execution Vulnerability ZDI: Published Advisoriesil y a 14 hZDI-26-1077: llama.cpp GGUF File Parsing HunyuanVL Heap-based Buffer Overflow Remote Code Execution Vulnerability ZDI: Published Advisoriesil y a 14 hZDI-26-1076: llama.cpp Multimodal GGUF File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability ZDI: Published Advisoriesil y a 14 hZDI-26-1075: llama.cpp GGUF File Parsing set_swa_pattern Heap-based Buffer Overflow Remote Code Execution Vulnerability ZDI: Published Advisoriesil y a 14 hZDI-26-1073: llama.cpp MTMD Multimodal GGUF File Parsing Out-Of-Bounds Read Denial-of-Service Vulnerability ZDI: Published Advisoriesil y a 14 hZDI-26-1074: llama.cpp GGUF File Parsing GEMMA4A Heap-based Buffer Overflow Remote Code Execution Vulnerability ZDI: Published Advisoriesil y a 14 hZDI-26-1072: llama.cpp GGUF File Parsing Integer Overflow Denial-of-Service Vulnerability ZDI: Published Advisoriesil y a 14 hZDI-26-1056: (0Day) PyTorch Foundation PyTorch PT2 File Parsing Exposed Dangerous Method Remote Code Execution Vulnerability ZDI: Published Advisoriesil y a 14 hZDI-26-1048: (0Day) Soda PDF Desktop PDF File Parsing Memory Corruption Remote Code Execution Vulnerability ZDI: Published Advisoriesil y a 14 hZDI-26-1050: (0Day) Soda PDF Desktop PDF File Parsing Memory Corruption Remote Code Execution Vulnerability ZDI: Published Advisoriesil y a 14 hZDI-26-1052: (0Day) PyTorch Foundation PyTorch PT2 File Parsing Code Injection Remote Code Execution Vulnerability ZDI: Published Advisoriesil y a 14 hZDI-26-1049: (0Day) Soda PDF Desktop PDF File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability
Sentinel CTI: ONLINE
Tirer pour actualiser
Widgets & Topics
Loading widgets…
Nächster Beitrag