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: Herramientas Admin y 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)

💬 Debate de la comunidad y comentarios

🌐 Unirse al chat principal

Inicia el debate en el stream de difusión del Social Chat o envía arriba una contribución experta mediante el formulario de ampliación.

Inteligencia de Ciberamenazas y Forense

Navegador ATT&CK · Radar IoC · Evidencias de Exploit
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
Ciclo de Vida de Exploit y Remediación
PoC · Explotación · Etapas de Parche
CVE-2026-5222
Descubrimiento y Divulgación
Vulnerabilidad identificada y registrada
Aviso de Seguridad
Alerta oficial y asignación CVE
Exploit / PoC
Öffentlicher Nachweis dokumentiert (🔒 Details nur für Community-Mitglieder)
Explotación Activa
Sin explotación masiva reportada
Parche y Protección
Hersteller-Patch bzw. offizielles Sicherheits-Advisory verfügbar — Update zeitnah einspielen.
Radar de Armamento y PoC
Urgencia Admin TI · Superficie de Ataque · Evidencias
ELEVATED · 43/100Puntuación Admin TI: 33/100Puntuación Investigador: 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

Avisos de Fabricantes y Estado de Parches

Offizielles Hersteller-Update verfügbar
Recomendación para Administradores

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

Patch-Informationen & Code-Fixes (GitHub / Git)
Referencias verificadas y fuentes primarias («Verificado» para dominios de fabricante y organismos oficiales)
Briefing de seguridad Gratis · baja en 1 clic

Intelligence Digest — gratis

Cada día las noticias de seguridad más importantes · baja en cualquier momento

Valoración de la comunidad &amp; prueba social
⭐ Valoración de los lectores
–
Ø / 5.0
Aún no hay valoraciones de lectores
¿Le ha resultado útil este artículo?
0
Dejar una valoración ahora
Valoración detallada (opcional)
Contenido & calidad
Fuente & credibilidad
Actualidad

Clústeres de historias relacionados & fuentes (IA vectorial)

6 Cluster
17 fuentes
Beyond Black Friday: The Cyber Threats Retailers Need to Prepare for in 2026
IT Security News hace 15 min.
16 fuentes más
Latest from TechRadarhace 17 min.Best Black Friday streaming deals from 99 cents: Apple TV, HBO Max, Paramount+, Peacock, and more CNEThace 29 min.This Bissell Vacuum Tackles Tough Pet Hair and It’s Just $170 During the Black Friday Sales WIREDhace 32 min.GPS Dog Collar for Less: Our Top Tested Picks From Fi’s Black Friday Sale (2026) Latest from Windows Centralhace 32 min.Dell's excellent XPS laptops are up to 33% off in this early Black Friday sale WinFuture Newshace 1 hBlack Friday bei VZMore: Bis 600 Euro Rabatt auf Power-Mini-PCs Latest from TechRadarhace 1 hThe best Black Friday turntable deals, as picked by an audio editor Latest from TechRadarhace 34 min.40+ best Black Friday deals in the UK — Switch 2, Shark vacuums, iPhone 18, Lego, PS5 bundles, Samsung, LG OLED TVs, and more CNEThace 12 díasUpgrade Your Home Security for Less. Score Up to 65% Off With These Black Friday Ring Deals Giga.dehace 1 hVor Black Friday zu viel bezahlt? Mit einem Trick könnt ihr doch noch sparen t3n.dehace 47 min.Black Friday: Diese Samsung-Angebote bei Amazon und Media Markt lohnen sich netzwelt.dehace 3 hBlack-Friday-Kracher: Huawei-Smartwatch mit EKG für unter 150 Euro Golem.dehace 1 hAnzeige: Sony WH-1000XM6 Referenz-Kopfhörer am Black Friday zum Amazon-Bestpreis Macerkopf.dehace 2 hAmazon Black Friday: Apple Pencil, WISO Steuer 2027, Microsoft 365, iPhone 18 Cases und mehr Golem.dehace 1 hAnzeige: Fahrradcomputer von Garmin zum Black Friday reduziert bei Amazon CNEThace 13 díasGet up to 50% off Select Alexa Devices With Amazon’s Black Friday Upgrade Deal CNEThace 5 díasBlack Friday Is Knocking Hundreds Off Apple’s iPads, and There’s Plenty to Choose From
17 fuentes
CVE-2026-99707 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 khugepaged collapse_file use after free
VulDB Updates hace 1 h
16 fuentes más
VulDB Updateshace 1 hCVE-2026-99728 | Linux Kernel up to 7.3.4/7.4-rc1 Deferred Split Scan mm/huge_memory deferred_split_scan/deferred_split_folio race condition VulDB Updateshace 1 hCVE-2026-99715 | Linux Kernel up to 7.3.4/7.4-rc1 nvme-rdma nvme_rdma_queue_rq null pointer dereference VulDB Updateshace 1 hCVE-2026-99730 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 Filemap mm/filemap.c filemap_fault race condition VulDB Updateshace 1 hCVE-2026-99724 | Linux Kernel up to 7.3.4/7.4-rc1 NTFS ntfs_read_compressed_block out-of-bounds VulDB Updateshace 1 hCVE-2026-99725 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 CIPSO cipso_v4_delopt buffer overflow VulDB Updateshace 1 hCVE-2026-99735 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 MGLRU mm/mglru.c walk_pud_range/walk_pmd_range race condition VulDB Updateshace 1 hCVE-2026-99744 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 atl1c atl1c_clean_rfd length buffer overflow VulDB Updateshace 1 hCVE-2026-99746 | Linux Kernel up to 7.3.4/7.4-rc1 ASoC hda_sdw_bpt_close race condition VulDB Updateshace 2 hCVE-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 Updateshace 2 hCVE-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 Updateshace 2 hCVE-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 Updateshace 2 hCVE-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 Updateshace 2 hCVE-2026-99679 | Linux Kernel up to 7.3.4/7.4-rc1 xfs xfs_iomap_write_unwritten allocation of resources VulDB Updateshace 2 hCVE-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 Updateshace 2 hCVE-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 Updateshace 2 hCVE-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
Desliza para actualizar
Widgets & Topics
Loading widgets…
Nächster Beitrag