Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted ALTCHA server-signature payload
-
ExploitEmbed malformed percent-escape in VerificationData
-
ExecutionTrigger nil-map write panic in parseServerSignature
-
ImpactAbort request or crash non-recovering process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
|
| Exploitation Conditions | Exploitation requires that the application calls the exported VerifyServerSignature or VerifyServerSignatureSafe on client-supplied, unauthenticated ALTCHA server-signature payloads, and runs altcha-lib-go version >=2.0.0 and <2.1.0; the attacker-controlled VerificationData must contain a malformed percent-escape to force url.ParseQuery to return partial values with an error. Severity is LIMITED by the hosting runtime: under standard net/http the per-request goroutine panic is recovered and only that request aborts (a log-flood/per-request DoS), whereas a full process crash occurs only when verification runs in an application-spawned goroutine or a framework without panic recovery. No authentication, user interaction, or special configuration beyond invoking the vulnerable verification functions is needed. |
| Impact | This is a low-to-moderate priority availability issue, not a high-severity emergency. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L, 5.3 Medium) is internally consistent with the advisory: network-reachable, no privileges, no user interaction, no confidentiality or integrity impact, and only limited availability impact. The flaw is a nil-map write panic (CWE-248/CWE-476) reachable pre-authentication because parseServerSignature runs inside VerifyServerSignature/VerifyServerSignatureSafe before any HMAC check, on attacker-controlled VerificationData. No KEV listing is present, so there is no confirmed active exploitation. No EPSS score was supplied, so exploitation probability cannot be quantified from the input. The vuln.today priority is 'this_month' (not act_now/emergency), aligning with a routine-patch cadence. The real limiter on impact is runtime context: under standard net/http the panic is recovered per-request (log-flood/per-request DoS), and only non-recovering frameworks or application-spawned goroutines escalate to a full process crash - so blast radius depends heavily on how the consuming application is built. The A:L (not A:H) rating is appropriate given this conditional escalation. |
| Exploit ScenarioDerived | An unauthenticated client submits a crafted ALTCHA server-signature payload whose VerificationData contains a malformed percent-escape (e.g. 'x=1&%zz=2'), base64-encoded into the payload. When the server calls VerifyServerSignature/VerifyServerSignatureSafe, url.ParseQuery returns partial values plus an error, and the subsequent write to the uninitialized Extra map panics before signature verification completes. The GHSA advisory includes a working proof-of-concept Go snippet demonstrating the panic. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
A nil-map write panic in the ALTCHA Go library (altcha-lib-go) versions 2.0.0 through 2.0.x lets an unauthenticated client abort verification by submitting a server-signature payload whose VerificationData contains a malformed percent-escape, causing the exported VerifyServerSignature or VerifyServerSignatureSafe functions to panic before any HMAC/signature check completes. Confirmed exploited impact is availability only: under standard net/http the panic is recovered per request (log-flood/per-request DoS), while a full process crash occurs only when verification runs in an application-spawned goroutine or a framework without panic recovery. No CISA KEV entry or confirmed in-the-wild exploitation is reported; the public advisory includes a reproducible PoC snippet, and the issue is fixed in 2.1.0.
RemediationAI
Upgrade github.com/altcha-org/altcha-lib-go to version 2.1.0, which initializes ServerSignatureVerificationData.Extra unconditionally before the url.ParseQuery error check (patch commit 2c4fc27a7b2d5b89f7175676445efcacc564c27c, advisory GHSA-gfwj-45pc-w6r5); this is the complete fix and there is no partial-configuration workaround that removes the panic path. If upgrading must be deferred, the vendor-suggested workarounds are to add panic recovery around every call to VerifyServerSignature/VerifyServerSignatureSafe, or to reject or sanitize client-supplied VerificationData before calling them; the trade-off of blanket recover is that it also masks unrelated panics in the same code path, while pre-validation requires the caller to detect malformed percent-escapes itself and reject those payloads before verification. Note that panic recovery only limits the blast radius to the calling goroutine - deployments that run verification inside application-spawned goroutines or frameworks without recovery remain exposed to a full process crash until 2.1.0 is deployed. Prioritization is this_month per the vuln.today decision label, with CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L reflecting availability-only impact.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
altcha-lib-go parses an attacker-forwarded ALTCHA server-signature payload in parseServerSignature, which base64/JSON-decodes the payload and then calls url.ParseQuery on the VerificationData field. Go's url.ParseQuery returns the successfully parsed pairs together with a non-nil error when the query string contains a malformed percent-escape such as 'x=1&%zz=2'. In affected releases the ServerSignatureVerificationData.Extra map was initialized only inside the 'if err == nil' branch, yet the subsequent loop that stores unknown parsed keys into Extra runs unconditionally, producing an assignment-to-entry-in-nil-map panic (CWE-248 uncaught exception, also tracked as CWE-476 NULL pointer dereference). Because parseServerSignature is invoked by VerifyServerSignature and VerifyServerSignatureSafe before any signature verification, the trigger is reachable pre-authentication with no user interaction. The patch commit 2c4fc27 moves 'verificationData.Extra = make(map[string]interface{})' ahead of the error check so the map is always safe to write regardless of parse errors; the upstream advisory credits the reporter via private disclosure and the cpe:2.3:a:altcha-org:altcha-lib-go:*:*:*:*:*:*:*:* CPE identifies the Go module as the affected product.
Know when Altcha Lib Go gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Remote unauthenticated input triggers the panic before verification (AV:N/AC:L/PR:N/UI:N); no confidentiality or integrity impact and only conditional, often per-request availability loss yields A:L.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
ALTCHA is a Go library for creating and verifying ALTCHA challenges. Prior to 2.1.0, parseServerSignature can leave ServerSignatureVerificationData.Extra uninitialized when url.ParseQuery returns partial values and an error for a malformed percent escape in VerificationData. A later write of an unknown parsed key to the nil map panics before VerifyServerSignature or VerifyServerSignatureSafe completes signature verification, so an unauthenticated client can abort a request. Standard net/http recovers the request goroutine, while application goroutines or frameworks without recovery can crash the process. This issue is fixed in version 2.1.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-130715
GHSA-gfwj-45pc-w6r5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB