ALTCHA PHP verifySolution skips HMAC check when challenge signature is absent
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-347.
Summary
ALTCHA PHP, a PHP library for creating and verifying ALTCHA challenges, is affected from 2.0.0 before 2.0.3. The verifySolution method skips HMAC signature verification when a challenge payload omits the signature field, even when hmacSignatureSecret is configured. This is CWE-347, improper verification of a cryptographic signature. An unauthenticated remote attacker can remove the signature, choose low-difficulty challenge parameters, solve the proof of work, and submit a payload that verifies successfully, bypassing the CAPTCHA control.
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
Description from the CNA
ALTCHA PHP is a lightweight PHP library for creating and verifying ALTCHA challenges. From 2.0.0 until 2.0.3, the verifySolution method skips HMAC signature verification when a challenge payload omits the signature field, even when hmacSignatureSecret is configured. An attacker can remove the signature, supply attacker-selected low-difficulty challenge parameters, solve the resulting proof of work, and submit a payload that verifies successfully, bypassing the CAPTCHA control. This issue is fixed in version 2.0.3.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| altcha-org | altcha-lib-php | 2.0.0 to before 2.0.3 | 2.0.3 | Patch available | CNA |
| — | altcha-org/altcha (Packagist) | 2.0.0 to before 2.0.3 | 2.0.3 | Patch available | GHSA-82w8-65qw-gch6 |
- altcha-lib-php Vendoraltcha-org Affected 2.0.0 to before 2.0.3 Fixed in 2.0.3 Patch available CNA
- altcha-org/altcha (Packagist) Vendor— Affected 2.0.0 to before 2.0.3 Fixed in 2.0.3 Patch available GHSA-82w8-65qw-gch6
Remediation
Update altcha-org/altcha-lib-php and the Packagist package altcha-org/altcha to version 2.0.3, which is the fixed version.
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
- Fix · CNA altcha-lib-php (altcha-org) Fixed in 2.0.3
- Fix · GHSA-82w8-65qw-gch6 altcha-org/altcha (Packagist) Fixed in 2.0.3 Advisory →
Timeline
- 2026-11-18 Threatist record created from CVE-2026-71481
- 2026-11-18 Alias added: GHSA-82w8-65qw-gch6
- 2026-11-18 Fix available: Packagist/altcha-org/[email protected] · GHSA-82w8-65qw-gch6
- 2026-11-18 CVSS score added · GHSA-82w8-65qw-gch6
- 2026-11-18 Weakness changed · GHSA-82w8-65qw-gch6
- 2026-11-18 4 new references · GHSA-82w8-65qw-gch6
- 2026-11-19 CISA SSVC decision points changed
References
More altcha-org vulnerabilities
- TI-2026-95277 Nil map panic in ALTCHA Go library parseServerSignature CVSS 3.1MEDIUM 5.3
- TI-2025-41702 ALTCHA Proof-of-Work Vulnerable to Challenge Splicing and Replay CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-71481 · CVE Program
- CVE-2026-71481 · NVD
- FIRST EPSS
- GHSA-82w8-65qw-gch6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences