ALTCHA PHP: verifySolution bypasses HMAC signature check when challenge signature is absent

State
Published
Severity
7.5 High
Published
Nov 18, 2026
Updated
Nov 19, 2026
Reserved
Aug 6, 2026

Read the record on cve.org

Description

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.

ProductVersions
altcha-lib-php altcha-org>= 2.0.0, < 2.0.3 Affected

Weaknesses

  • CWE-347 Improper Verification of Cryptographic Signature

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.