All vulnerabilities

Go

CVE-2026-103033

ALTCHA: Nil-map panic (pre-verification DoS) in v1 parseServerSignature on malformed VerificationData

Severity
Medium 5.3
Published
20 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
2.1.0
Exploit chance
0.4% in the next 30 daysHigher than 35% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Uncaught exception (CWE-248)Null pointer dereference (CWE-476)
Attack
Over the network · No login needed · No user action needed
Attacker can
Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Also known as
GHSA-gfwj-45pc-w6r5
Sources
OSV.dev and GitHub

Description

parseServerSignature in the v1 module only initializes ServerSignatureVerificationData.Extra inside the if err == nil branch after url.ParseQuery(parsedPayload.VerificationData). Go's url.ParseQuery returns the successfully-parsed pairs together with a non-nil error when the query string contains a malformed percent-escape. A subsequent loop unconditionally writes unknown keys into Extra, regardless of err, causing a nil-map write panic (assignment to entry in nil map) whenever an attacker supplies a VerificationData string with a bad %-escape (e.g. x=1&%zz=2).

This is reachable pre-authentication: parseServerSignature is called by the exported VerifyServerSignature / VerifyServerSignatureSafe before any HMAC/signature check, and VerificationData is attacker-controlled data forwarded by the client as part of the ALTCHA server-signature payload.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Workarounds

Recover from panics around calls to VerifyServerSignature/VerifyServerSignatureSafe, or reject/sanitize VerificationData before calling them, until upgrading.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
github.com/altcha-org/altcha-lib-go/v2Go · osv:Go:github.com/altcha-org/altcha-lib-go/v2
  • From 2.0.0 before 2.1.0

About github.com/altcha-org/altcha-lib-go/v2

This is the only vulnerability in github.com/altcha-org/altcha-lib-go/v2 in our list.

References