📧 info@ciso.sa | 📱 +966550939344 | Riyadh, Kingdom of Saudi Arabia
🔧 Scheduled Maintenance — Saturday 2:00-4:00 AM AST. Some features may be temporarily unavailable.    ●   
💎
Pro Plan 50% Off Unlock all AI features, unlimited reports, and priority support. Upgrade
Search Center
ESC to close
Global general Technology and Artificial Intelligence MEDIUM 1h Global general Technology and Artificial Intelligence HIGH 2h Global vulnerability Higher Education CRITICAL 11h Global data_breach Government HIGH 12h Global supply_chain Software Development and Open Source Communities CRITICAL 12h Global malware Software Development CRITICAL 12h Global phishing Multiple Sectors HIGH 12h Global vulnerability Web Applications CRITICAL 13h Global apt Critical Infrastructure CRITICAL 13h Global ransomware Multiple sectors CRITICAL 14h Global general Technology and Artificial Intelligence MEDIUM 1h Global general Technology and Artificial Intelligence HIGH 2h Global vulnerability Higher Education CRITICAL 11h Global data_breach Government HIGH 12h Global supply_chain Software Development and Open Source Communities CRITICAL 12h Global malware Software Development CRITICAL 12h Global phishing Multiple Sectors HIGH 12h Global vulnerability Web Applications CRITICAL 13h Global apt Critical Infrastructure CRITICAL 13h Global ransomware Multiple sectors CRITICAL 14h Global general Technology and Artificial Intelligence MEDIUM 1h Global general Technology and Artificial Intelligence HIGH 2h Global vulnerability Higher Education CRITICAL 11h Global data_breach Government HIGH 12h Global supply_chain Software Development and Open Source Communities CRITICAL 12h Global malware Software Development CRITICAL 12h Global phishing Multiple Sectors HIGH 12h Global vulnerability Web Applications CRITICAL 13h Global apt Critical Infrastructure CRITICAL 13h Global ransomware Multiple sectors CRITICAL 14h
Vulnerabilities

CVE-2026-33306

High
bcrypt-ruby is a Ruby binding for the OpenBSD bcrypt() password hashing algorithm. Prior to version 3.1.22, an integer overflow in the Java BCrypt implementation for JRuby can cause zero iterations in
CWE-190 — Weakness Type
Published: Mar 24, 2026  ·  Modified: Mar 30, 2026  ·  Source: NVD
CVSS v3
7.5
🔗 NVD Official
📄 Description (English)

bcrypt-ruby is a Ruby binding for the OpenBSD bcrypt() password hashing algorithm. Prior to version 3.1.22, an integer overflow in the Java BCrypt implementation for JRuby can cause zero iterations in the strengthening loop. Impacted applications must be setting the cost to 31 to see this happen. The JRuby implementation of bcrypt-ruby (`BCrypt.java`) computes the key-strengthening round count as a signed 32-bit integer. When `cost=31` (the maximum allowed by the gem), signed integer overflow causes the round count to become negative, and the strengthening loop executes **zero iterations**. This collapses bcrypt from 2^31 rounds of exponential key-strengthening to effectively constant-time computation — only the initial EksBlowfish key setup and final 64x encryption phase remain. The resulting hash looks valid (`$2a$31$...`) and verifies correctly via `checkpw`, making the weakness invisible to the application. This issue is triggered only when cost=31 is used or when verifying a `$2a$31$` hash. This problem has been fixed in version 3.1.22. As a workaround, set the cost to something less than 31.

🤖 AI Executive Summary

CVE-2026-33306 is an integer overflow vulnerability in bcrypt-ruby's JRuby implementation that causes zero iterations in the password strengthening loop when cost is set to 31, effectively reducing bcrypt from 2^31 rounds to constant-time computation. This makes password hashes significantly weaker while appearing valid, allowing attackers to crack passwords more easily.

📄 Description (Arabic)

يحتوي تطبيق JRuby لـ bcrypt-ruby على خلل تجاوز عدد صحيح موقّع يحول عدد التكرارات إلى قيمة سالبة عند استخدام cost=31، مما يؤدي إلى تخطي حلقة التقوية بالكامل. تبدو بصمات كلمات المرور الناتجة صحيحة وتتحقق بشكل صحيح، لكنها توفر حماية ضعيفة جداً ضد هجمات كسر كلمات المرور.

🤖 ملخص تنفيذي (AI)

A critical integer overflow flaw in bcrypt-ruby for JRuby causes the password strengthening algorithm to skip all iterations when using maximum cost value 31, reducing cryptographic strength from exponential rounds to basic encryption. Affected applications using JRuby with bcrypt cost=31 produce weak hashes that appear valid but are vulnerable to rapid password cracking.

🤖 AI Intelligence Analysis Analyzed: May 3, 2026 13:18
🇸🇦 Saudi Arabia Impact Assessment
Saudi Relevance: high
🏢 Affected Saudi Sectors
banking telecom government healthcare
🎯 MITRE ATT&CK Techniques
⚖️ Saudi Risk Score (AI)
8.0
/ 10.0
🔧 Remediation Steps (English)
Upgrade bcrypt-ruby to version 3.1.22 or later immediately. Review all password hashes generated with cost=31 on JRuby implementations and force password resets for affected users. Audit authentication logs for suspicious access patterns. Implement cost values below 31 if using JRuby, or migrate to the native C implementation.
🔧 خطوات المعالجة (العربية)
قم بترقية bcrypt-ruby إلى الإصدار 3.1.22 أو أحدث فوراً. راجع جميع بصمات كلمات المرور المُنشأة بـ cost=31 على تطبيقات JRuby وأجبر إعادة تعيين كلمات المرور للمستخدمين المتأثرين. تدقيق سجلات المصادقة للأنماط المريبة. استخدم قيم cost أقل من 31 إذا كنت تستخدم JRuby أو انتقل إلى التطبيق الأصلي C.
📋 Regulatory Compliance Mapping
🟢 NCA ECC 2024
5.1 5.2 5.3
🔵 SAMA CSF
ID.AM-2 PR.AC-1 PR.AC-6
🟡 ISO 27001:2022
A.9.2.1 A.9.2.5 A.10.1.1
📦 Affected Products / CPE 1 entries
bcrypt-ruby_project:bcrypt-ruby
📊 CVSS Score
7.5
/ 10.0 — High
📊 CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack VectorN — None / Network
Attack ComplexityL — Low / Local
Privileges RequiredN — None / Network
User InteractionN — None / Network
ScopeU — Unchanged
ConfidentialityH — High
IntegrityN — None / Network
AvailabilityN — None / Network
📋 Quick Facts
Severity High
CVSS Score7.5
CWECWE-190
Exploit No
Patch ✓ Yes
Published 2026-03-24
Source Feed nvd
Views 4
🇸🇦 Saudi Risk Score
8.0
/ 10.0 — Saudi Risk
Priority: HIGH
🏷️ Tags
patch-available CWE-190
Share this CVE

💬 Comments

0
Loading comments
📣 Found this valuable?
Share it with your cybersecurity network
in LinkedIn 𝕏 X / Twitter 💬 WhatsApp ✈ Telegram
🍪 Privacy Preferences
CISO Consulting — Compliant with Saudi Personal Data Protection Law (PDPL)
We use cookies and similar technologies to provide the best experience on our platform. You can choose which types you accept.
🔒
Essential Always On
Required for the website to function properly. Cannot be disabled.
📋 Sessions, CSRF tokens, authentication, language preferences
📊
Analytics
Help us understand how visitors use the site and improve performance.
📋 Page views, session duration, traffic sources, performance metrics
⚙️
Functional
Enable enhanced features like content personalization and preferences.
📋 Dark/light theme, font size, custom dashboards, saved filters
📣
Marketing
Used to deliver content and ads relevant to your interests.
📋 Campaign tracking, retargeting, social media analytics
Privacy Policy →
CISO AI Assistant
Ask anything · Documents · Support
🔐

Introduce Yourself

Enter your details to access the full assistant

Your info is private and never shared
💬
CyberAssist
Online · responds in seconds
5 / 5
🔐 Verify Your Identity

Enter your email to receive a verification code before submitting a support request.

Enter to send · / for commands 0 / 2000
CISO AI · Powered by Anthropic Claude
✦ Quick Survey Help Us Improve CISO Consulting Your feedback shapes the future of our platform — takes less than 2 minutes.
⚠ Please answer this question to continue

How would you rate your overall experience with our platform?

Rate from 1 (poor) to 5 (excellent)

🎉
Thank you!
Your response has been recorded.