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: Admin & Dev Tools
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)

💬 Topluluk tartışması ve yorumlar

🌐 Ana sohbete katıl

Tartışmayı başlat: Social Chat yayın akışı veya yukarıdaki ekleme formuyla uzman katkısı gönder.

Siber Tehdit İstihbaratı ve Adli Bilişim

ATT&CK Gezgini · IoC Radarı · İstismar Kanıtları
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
İstismar ve İyileştirme Yaşam Döngüsü
PoC · İstismar · Yama Aşamaları
CVE-2026-5222
Keşif ve Bildirim
Güvenlik açığı tespit edildi ve kaydedildi
Güvenlik Uyarısı
Resmi uyarı ve CVE ataması
Exploit / PoC
Öffentlicher Nachweis dokumentiert (🔒 Details nur für Community-Mitglieder)
Aktif İstismar
Yaygın istismar bildirilmedi
Yama ve Önlemler
Hersteller-Patch bzw. offizielles Sicherheits-Advisory verfügbar — Update zeitnah einspielen.
Exploit Weaponization & PoC Radarı
BT Yöneticisi Aciliyeti · Araştırmacı Saldırı Yüzeyi
ELEVATED · 43/100BT Yöneticisi Skoru: 33/100Araştırmacı Skoru: 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

Üretici Güvenlik Uyarıları ve Yama Durumu

Offizielles Hersteller-Update verfügbar
Yöneticiler için Eylem Önerisi

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

Patch-Informationen & Code-Fixes (GitHub / Git)
Doğrulanmış Referanslar ve Birincil Kaynaklar (Resmi üretici alan adları ve kurumlar için “Doğrulandı”)
Security Briefing Ücretsiz · Tek tıkla abonelikten çıkma

Zeka Digest - ücretsiz

Günlük en önemli güvenlik haberi · herhangi bir zamanda alınabilir

Community Rating &amp; Social Proof
⭐ Okuyucu Puanı
–
Ø / 5.0
Hiçbir okuyucu henüz yorum yok
Bu makale yararlı mıydı?
0
Değerlendirmenizi gönderin
Detaylı değerlendirme (isteğe bağlı)
İçerik ve Kalite
Kaynak ve Güvenilirlik
Güncellik

İlgili Story Cluster & Kaynaklar (vector AI)

6 Cluster
26 Kaynaklar
CVE-2026-99690 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 ocfs2 ocfs2_get_dentry_osb use after free
VulDB Updates 54 dakika önce
25 diğer kaynaklar
VulDB Updates54 dakika önceCVE-2026-99678 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 XFS xfs_iomap_write_direct integer overflow VulDB Updates54 dakika önceCVE-2026-99680 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 XFS xfs_fs_map_blocks allocation of resources VulDB Updates54 dakika önceCVE-2026-99688 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 sch_qfq net/sched/sch_qfq.c qfq_change_class use after free VulDB Updates54 dakika önceCVE-2026-99679 | Linux Kernel up to 7.3.4/7.4-rc1 xfs xfs_iomap_write_unwritten allocation of resources VulDB Updates54 dakika önceCVE-2026-99686 | Linux Kernel up to 6.18.63/7.3.4/7.4-rc1 vhost vhost_add_used_n_in_order integer overflow VulDB Updates54 dakika önceCVE-2026-99697 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 memcontrol high_work_func use after free VulDB Updates54 dakika önceCVE-2026-99685 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 iommu/virtio viommu_probe use after free Ubuntu security notices1 saat önceUSN-9170-4: Linux kernel (Azure) vulnerabilities Ubuntu security notices1 saat önceUSN-9165-2: Linux kernel vulnerabilities Ubuntu security notices1 saat önceUSN-9168-4: Linux kernel (Azure) vulnerabilities Ubuntu security notices1 saat önceUSN-9167-3: Linux kernel vulnerabilities Ubuntu security notices1 saat önceUSN-9174-2: Linux kernel (Low Latency NVIDIA) vulnerabilities Ubuntu security notices1 saat önceUSN-9173-3: Linux kernel (NVIDIA) vulnerabilities Ubuntu security notices1 saat önceUSN-9190-1: Linux kernel vulnerabilities Ubuntu security notices1 saat önceUSN-9191-1: Linux kernel (Azure) vulnerabilities Ubuntu security notices1 saat önceUSN-9192-1: Linux kernel (NVIDIA) vulnerabilities VulDB Updates2 saat önceCVE-2026-99669 | Linux Kernel up to 7.3.4/7.4-rc1 Huge Memory mm/huge_memory zap_huge_pmd_folio race condition VulDB Updates2 saat önceCVE-2026-99662 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 gup out-of-bounds write VulDB Updates2 saat önceCVE-2026-99672 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 CAN isotp_release use after free VulDB Updates2 saat önceCVE-2026-99676 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 refcount refcount_inc_not_zero_acquire locking VulDB Updates2 saat önceCVE-2026-99674 | Linux Kernel up to 7.3.4/7.4-rc1 CAN Device Driver net/can/dev.c can_dropped_invalid_skb len buffer overflow VulDB Updates2 saat önceCVE-2026-99668 | Linux Kernel up to 7.3.4/7.4-rc1 Huge Memory Management mm/huge_memory.c zap_huge_pmd_folio memory corruption VulDB Updates2 saat önceCVE-2026-99667 | Linux Kernel up to 6.18.63/7.3.4/7.4-rc1 khugepaged try_collapse_pte_mapped_thp race condition VulDB Updates2 saat önceCVE-2026-99659 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 TLB Flush mm/numm_gather.c __tlb_adjust_range numeric truncation error VulDB Updates2 saat önceCVE-2026-99657 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 MMU Notifier mm/mmu_notifier.c __mmu_interval_notifier_insert mm race condition
15 Kaynaklar
Anzeige: Fahrradcomputer von Garmin zum Black Friday reduziert bei Amazon
Golem.de 26 dakika önce
14 diğer kaynaklar
Update to Update
Widgets & Topics
Loading widgets…
Nächster Beitrag