Skip to main content

Loop with Unreachable Exit Condition ('Infinite Loop')

CVE-2024-30172

Severity Medium
Score 5.3/10

Summary

An issue was discovered in Bouncy Castle Java Cryptography APIs prior to 1.78 and Bouncy Castle C# Cryptography prior to 2.3.1. An "Ed25519" verification code infinite loop can occur via a crafted signature and public key.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • LOW

CWE-835 - Loop with Unreachable Exit Condition

Loops with multiple exits and flags detract from the quality of an application. They tend to make control structures difficult to understand, and introduce the risk of non-termination and other structural problems. The vulnerability “loop with unreachable exit condition” enables attackers to exploit this flaw, leading to denial of service.

Advisory Timeline

  • Published