Loading advisory.
Loading advisory.
ALTCHA Proof-of-Work Vulnerable to Challenge Splicing and Replay
A cryptographic semantic binding flaw in ALTCHA libraries allows challenge payload splicing, which may enable replay attacks.
Published 2025-12-16 00:43 UTC · Modified 2026-09-10 03:50 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| altcha-lib | npm | < 1.4.1 | 1.4.1 | npm install altcha-lib@1.4.1 |
| altcha-org/altcha | Packagist | < 1.3.1 versions v0.1.0, v0.1.1, v0.1.2, v0.1.3, v0.1.4, v1.0.0, v1.1.0, v1.1.1, v1.1.2, v1.2.0, v1.3.0 | 1.3.1 | composer require 'altcha-org/altcha:>=1.3.1' |
| github.com/altcha-org/altcha-lib-go | Go | < 1.0.0 | 1.0.0 | go get github.com/altcha-org/altcha-lib-go@v1.0.0 |
| org.altcha:altcha | Maven | < 1.3.0 versions 1.1.0, 1.1.1, 1.1.2, 1.2.0 | 1.3.0 | No single command for Maven. Update to 1.3.0 in your build file. |
| altcha | RubyGems | < 1.0.0 versions 0.1.0, 0.2.0, 0.2.1 | 1.0.0 | gem install altcha -v 1.0.0 |
| altcha | PyPI | < 1.0.0 versions 0.1.0, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0 | 1.0.0 | pip install --upgrade 'altcha>=1.0.0' |
A cryptographic semantic binding flaw in ALTCHA libraries allows challenge payload splicing, which may enable replay attacks. The HMAC signature does not unambiguously bind challenge parameters to the nonce, allowing an attacker to reinterpret a valid proof-of-work submission with a modified expiration value. This may allow previously solved challenges to be reused beyond their intended lifetime, depending on server-side replay handling and deployment assumptions.
The vulnerability primarily impacts abuse-prevention mechanisms such as rate limiting and bot mitigation. It does not directly affect data confidentiality or integrity.
This issue has been addressed by enforcing explicit semantic separation between challenge parameters and the nonce during HMAC computation.
Users are advised to upgrade to patched versions.
As a mitigation, implementations may append a delimiter to the end of the salt value prior to HMAC computation (for example, <salt>?expires=<time>&). This prevents ambiguity between parameters and the nonce and is backward-compatible with existing implementations, as the delimiter is treated as a standard URL parameter separator.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.005 on 2026-11-24 to 0.008 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.005 | first score | v2026.06.15 |
| 2026-11-26 | 0.008 | 0.005 | v2026.06.15 |