Security Vulnerability Report
中文
CVE-2026-27144 CVSS 7.1 HIGH

CVE-2026-27144

Published: 2026-04-08 02:16:03
Last Modified: 2026-04-16 19:17:18

Description

The compiler is meant to unwrap pointers which are the operands of a memory move; a no-op interface conversion prevented the compiler from making the correct determination about non-overlapping moves, potentially leading to memory corruption at runtime.

CVSS Details

CVSS Score
7.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* - VULNERABLE
Go (具体受影响版本请参考 go.dev/cl/763764)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
package main import ( "fmt" ) // Conceptual Proof of Concept for CVE-2026-27144 // This code demonstrates the pattern involving interface conversion // that may trigger the compiler's incorrect non-overlapping move assumption. type Data struct { Buffer [100]byte } func main() { // 1. Initialize data var src Data for i := range src.Buffer { src.Buffer[i] = byte(i % 256) } // 2. Perform a no-op interface conversion // This conversion is meant to be transparent but triggers the compiler bug var i interface{} = &src // 3. Cast back to the concrete type ptr := i.(*Data) // 4. Perform a memory move that might be treated as non-overlapping // If the compiler fails to recognize that ptr and src overlap, // this operation could lead to memory corruption. copy(ptr.Buffer[10:], src.Buffer[:]) fmt.Println("PoC executed. Runtime behavior depends on compiler optimization.") }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-27144", "sourceIdentifier": "[email protected]", "published": "2026-04-08T02:16:03.130", "lastModified": "2026-04-16T19:17:18.093", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "The compiler is meant to unwrap pointers which are the operands of a memory move; a no-op interface conversion prevented the compiler from making the correct determination about non-overlapping moves, potentially leading to memory corruption at runtime."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.2}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-843"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.25.9", "matchCriteriaId": "C6C9C072-9817-402D-877F-F83584B07017"}, {"vulnerable": true, "criteria": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.26.0", "versionEndExcluding": "1.26.2", "matchCriteriaId": "39FE9BAF-55E9-43AA-B14E-239E7EF1D65D"}]}]}], "references": [{"url": "https://go.dev/cl/763764", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://go.dev/issue/78371", "source": "[email protected]", "tags": ["Issue Tracking"]}, {"url": "https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU", "source": "[email protected]", "tags": ["Release Notes", "Mailing List"]}, {"url": "https://pkg.go.dev/vuln/GO-2026-4867", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}