Read the docs

ALTCHA PHP verifySolution skips HMAC check when challenge signature is absent

Priority LOW 39CWE-347Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00319 17th percentileScored 2026-11-30
Fix Fixed altcha-lib-php (altcha-org): 2.0.3altcha-org/altcha (Packagist): 2.0.3

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

VendorProductAffected versionsFixed inStatusSource
altcha-orgaltcha-lib-php2.0.0 to before 2.0.32.0.3Patch availableCNA
—altcha-org/altcha (Packagist)2.0.0 to before 2.0.32.0.3Patch availableGHSA-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

  1. 2026-11-18 Threatist record created from CVE-2026-71481
  2. 2026-11-18 Alias added: GHSA-82w8-65qw-gch6
  3. 2026-11-18 Fix available: Packagist/altcha-org/[email protected] · GHSA-82w8-65qw-gch6
  4. 2026-11-18 CVSS score added · GHSA-82w8-65qw-gch6
  5. 2026-11-18 Weakness changed · GHSA-82w8-65qw-gch6
  6. 2026-11-18 4 new references · GHSA-82w8-65qw-gch6
  7. 2026-11-19 CISA SSVC decision points changed

References

  • 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