Security Vulnerability Report
中文
CVE-2026-41606 CVSS 5.3 MEDIUM

CVE-2026-41606

Published: 2026-04-28 10:16:03
Last Modified: 2026-04-28 18:39:41

Description

Uncontrolled Recursion vulnerability in Apache Thrift. This issue affects Apache Thrift: before 0.23.0. Users are recommended to upgrade to version 0.23.0, which fixes the issue.

CVSS Details

CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Configurations (Affected Products)

cpe:2.3:a:apache:thrift:*:*:*:*:*:*:*:* - VULNERABLE
Apache Thrift < 0.23.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# PoC Concept for Uncontrolled Recursion in Apache Thrift # This is a conceptual demonstration. Actual exploit requires crafting specific Thrift protocol bytes. import socket def send_malicious_payload(host, port): # Concept: Construct a deeply nested structure in Thrift Binary Protocol # Example: A list inside a list repeated 10000 times. # This payload represents the serialized bytes of such a structure. # In a real scenario, you would use the Thrift library to generate # a recursive object, then serialize it, or craft the bytes manually. # Here we simulate sending a large blob that triggers the recursion. payload = b'\x00\x00\x00\x02' # Example protocol magic bytes + version # ... (Recursive structure bytes would follow) ... try: s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((host, port)) s.sendall(payload) print("Payload sent successfully. Server may crash.") s.close() except Exception as e: print(f"Error: {e}") # Usage: send_malicious_payload("target_ip", 9090)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-41606", "sourceIdentifier": "[email protected]", "published": "2026-04-28T10:16:03.463", "lastModified": "2026-04-28T18:39:41.027", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Uncontrolled Recursion vulnerability in Apache Thrift.\n\nThis issue affects Apache Thrift: before 0.23.0.\n\nUsers are recommended to upgrade to version 0.23.0, which fixes the issue."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-674"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:apache:thrift:*:*:*:*:*:*:*:*", "versionEndExcluding": "0.23.0", "matchCriteriaId": "0CE7604A-DA43-44E3-9840-9E3696223DD5"}]}]}], "references": [{"url": "https://lists.apache.org/thread/lb4j0zyd5f3g36cos0wql925przpnwql", "source": "[email protected]", "tags": ["Mailing List", "Patch", "Release Notes"]}, {"url": "http://www.openwall.com/lists/oss-security/2026/04/28/3", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Mailing List"]}]}}