CVE-2025-35436
Homebrew vulnerability analysis and mitigation

Overview

CVE-2025-35436 is a Denial of Service vulnerability in CISA Thorium caused by improper error handling using Rust's .unwrap() method during account verification email processing. An unauthenticated remote attacker can trigger a panic (crash) in the API by supplying a specially crafted email address or malformed SMTP response. The vulnerability affects CISA Thorium versions up to and including 1.1.2 (prior to commit 6a65a27). It was published on September 17, 2025, and carries a CVSS v3.1 base score of 7.5 (High) (Feedly, GitHub Commit).

Technical details

The root cause is classified as CWE-248 (Uncaught Exception): the Thorium API's email-sending utility in api/src/utils/shared.rs used Rust's .unwrap() on fallible operations — specifically parsing the recipient email address (addr.parse().unwrap()), building the email message (.body(body).unwrap()), and sending it via SMTP (.send(email).await.unwrap()). In Rust, calling .unwrap() on an Err result causes the thread to panic, which can crash the API process. The fix (commit 6a65a27) replaces all three .unwrap() calls with the ? operator, propagating errors as ApiError via newly implemented From trait conversions for lettre::error::Error, lettre::transport::smtp::Error, and lettre::address::AddressError (GitHub Commit). No authentication is required to trigger the vulnerable code path, as the account verification email flow is accessible to unauthenticated users (Feedly).

Impact

Successful exploitation results in a crash (panic) of the Thorium API process, causing a complete loss of availability for the affected service. There is no impact on confidentiality or integrity, as the vulnerability only affects availability. Repeated exploitation could be used to maintain a persistent denial-of-service condition against the Thorium platform (Feedly).

Exploitability

No public exploit code or active in-the-wild exploitation has been reported for CVE-2025-35436. The EPSS score is approximately 0.083%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. However, the attack requires no authentication and low complexity, making it straightforward to trigger if an attacker can reach the account verification email endpoint (Feedly).

Exploitation steps

  1. Reconnaissance: Identify a publicly accessible CISA Thorium instance running a version prior to commit 6a65a27 (≤1.1.2) by probing known API endpoints or reviewing exposed service banners.
  2. Locate the account verification endpoint: Identify the API endpoint responsible for account registration or email verification, which triggers the vulnerable email-sending code path.
  3. Craft a malicious request: Submit a registration or verification request containing a syntactically invalid or specially crafted email address (e.g., one that causes lettre's address parser to return an Err) as the recipient field.
  4. Trigger the panic: The API attempts to parse the malformed address with .unwrap(), encounters an Err, and panics, crashing the API process and causing a denial of service.
  5. Repeat as needed: Since no authentication is required, the attacker can repeatedly send crafted requests to keep the service unavailable (GitHub Commit, Feedly).

Indicators of compromise

  • Logs: Rust panic messages in the Thorium API logs (e.g., thread 'main' panicked at 'called Option::unwrap() on an Err value') associated with email-related operations; repeated API process restarts in service manager logs (systemd, Docker, etc.).
  • Network: Unusual or repeated POST requests to the account registration or email verification API endpoint from a single or rotating source IP, particularly with malformed or syntactically invalid email address values in request bodies.
  • Process: Unexpected termination and restart of the Thorium API process; elevated restart counts in process supervisors.

Mitigation and workarounds

The vulnerability is fixed in commit 6a65a2711fb2387e8c3eacebc774053741bf5aeb of the Thorium repository. Organizations should update to a version of Thorium that includes this commit (post-1.1.2). No configuration-based workaround is documented; upgrading to the patched commit is the recommended remediation. As an interim measure, network-level controls (e.g., rate limiting or restricting access to the account verification endpoint) may reduce exposure (GitHub Commit, Feedly).

Community reactions

Coverage of CVE-2025-35436 has been limited to automated vulnerability aggregators and databases (NVD, VulDB, CIRCL, INCIBE). One blog post from BaseFortify discussed the broader context of CISA Thorium CVEs in September 2025. No notable researcher commentary or significant social media discussion has been identified for this specific vulnerability (Feedly).

Additional resources


SourceThis report was generated using AI

Related Homebrew vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-73939HIGH8.6
  • Homebrew logoHomebrew
  • helidon
NoNoAug 18, 2026
CVE-2026-73937HIGH8.2
  • Homebrew logoHomebrew
  • helidon
NoNoAug 18, 2026
CVE-2026-73938HIGH7.5
  • Homebrew logoHomebrew
  • helidon
NoNoAug 18, 2026
CVE-2026-73936HIGH7.5
  • Homebrew logoHomebrew
  • helidon
NoNoAug 18, 2026
CVE-2026-73935HIGH7.5
  • Homebrew logoHomebrew
  • helidon
NoNoAug 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management