Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Sichere ProgrammierungRAD Studio 13.2 Gives Delphi a Modern Linux Compiler(22.09.2026 um 16:02 Uhr)
Linux Tipps & HardeningFluidCAD - Open Source CAD that works on Linux(22.09.2026 um 17:45 Uhr)
Linux Tipps & HardeningUbuntu wiki gets its first overhaul in 16 years(22.09.2026 um 20:08 Uhr)
Sicherheitslücken (CVE)Security Weekly - A CRA Resource: Patch Less, Mitigate More(22.09.2026 um 21:00 Uhr)
Sichere ProgrammierungRAD Studio 13.2 Gives Delphi a Modern Linux Compiler(22.09.2026 um 16:02 Uhr)
Linux Tipps & HardeningFluidCAD - Open Source CAD that works on Linux(22.09.2026 um 17:45 Uhr)
Linux Tipps & HardeningUbuntu wiki gets its first overhaul in 16 years(22.09.2026 um 20:08 Uhr)
Sicherheitslücken (CVE)Security Weekly - A CRA Resource: Patch Less, Mitigate More(22.09.2026 um 21:00 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

GHSA-7587-4WV6-M68M: Panic at the Keyring: Crashing rPGP with a Single Byte

Panic at the Keyring: Crashing rPGP with a Single Byte Vulnerability ID: GHSA-7587-4WV6-M68M CVSS Score: 7.5 Published: 2026-02-13 In the world of safe systems programming, Rust is the golden child. It promises to save us from the…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!




Panic at the Keyring: Crashing rPGP with a Single Byte




Vulnerability ID: GHSA-7587-4WV6-M68M

CVSS Score: 7.5

Published: 2026-02-13




In the world of safe systems programming, Rust is the golden child. It promises to save us from the memory corruption sins of C and C++. But while Rust protects memory, it doesn't protect logic. A critical denial-of-service vulnerability was discovered in the rPGP library (and its dependency, the rsa crate) where a mathematically impossible RSA key component triggers a hard panic. By setting a prime factor to '1', an attacker can trick the underlying arithmetic engine into a division-by-zero scenario, crashing any application attempting to parse the key. This is a story about how 'safe' languages still need defensive coding.






TL;DR



The rPGP library (via the rsa crate < 0.9.10) contains a logic flaw in validating RSA private key components. By providing a crafted Secret Key Packet where one of the prime factors is set to 1, the library attempts to calculate modulus inverses using (p-1), resulting in a division-by-zero panic. This crashes the application process, leading to a Denial of Service (DoS) against keyservers, email clients, or signing services using the library.









⚠️ Exploit Status: POC






Technical Details





  • CVE ID: CVE-2026-21895


  • CWE ID: CWE-703 (Unhandled Exception)


  • CVSS: 7.5 (High)


  • Attack Vector: Network


  • Impact: Denial of Service (Process Crash)


  • Root Cause: Division by Zero Panic






Affected Systems




  • Rust applications using rPGP crate

  • Rust applications using rsa crate directly (< 0.9.10)

  • OpenPGP Keyservers based on rPGP

  • Secure email gateways using Rust backends


  • rsa: < 0.9.10 (Fixed in: 0.9.10)


  • pgp: < 0.14.0 (Fixed in: Dependent on rsa update)






Code Analysis






Commit: 2926c91



Fixed validation of primes in RsaPrivateKey to reject 1




- if *prime < BigUint::one() {
+ if *prime <= BigUint::one() {









Commit: 38efa49



Bump rsa dependency to 0.9.10




- rsa = { version = "0.9.9" }
+ rsa = { version = "0.9.10" }









Exploit Details





  • GitHub: Original issue report demonstrating the panic with p=1






Mitigation Strategies




  • Update dependency tree

  • Implement panic handlers (catch_unwind)

  • Input sanitization



Remediation Steps:




  1. Run cargo update -p rsa to upgrade to version 0.9.10 or later.

  2. Recompile any applications attempting to use the pgp crate.

  3. Audit code for other instances of BigUint usage where 1 or 0 might cause division errors.






References








Read the full report for GHSA-7587-4WV6-M68M on our website for more details including interactive diagrams and full exploit analysis.

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten GHSA-7587-4WV6-M68M: Panic at the Keyring: Crashing rPGP with a Single Byte

Thematisch verwandte Begriffe: GHSA75874WV6M68M, Panic, Keyring, Crashing · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-77259 | MCP Atlassian is a Model Context Protocol (MCP) server for Atlassian pro…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick