Skip to main content

ALTCHA lib-go CVE-2026-103033

| EUVDEUVD-2026-130715 MEDIUM
Uncaught Exception (CWE-248)
2026-11-19 GitHub_M GHSA-gfwj-45pc-w6r5
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted ALTCHA server-signature payload
  2. Exploit
    Embed malformed percent-escape in VerificationData
  3. Execution
    Trigger nil-map write panic in parseServerSignature
  4. Impact
    Abort 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

altcha-lib-go 2.0.0, < 2.1.0

Affected Packages

go github.com/altcha-org/altcha-lib-go no fix
go github.com/altcha-org/altcha-lib-go/v2 fix: 2.1.0
euvd altcha_lib_go fix: 2.1.0

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

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 5.3 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

1
Patch available
Nov 19, 2026 - 22:19 EUVD

DescriptionCVE.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

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Low
niche Go CAPTCHA-alternative library, limited enterprise footprint
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy