CVE-2025-68113
Description
ALTCHA is privacy-first software for captcha and bot protection. 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, which include version 1.0.0 of the altcha Golang package, version 1.0.0 of the altcha Rubygem, version 1.0.0 of the altcha pip package, version 1.0.0 of the altcha Erlang package, version 1.4.1 of the altcha-lib npm package, version 1.3.1 of the altcha-org/altcha Composer package, and version 1.3.0 of the org.altcha:altcha Maven package. As a mitigation, implementations may append a delimiter to the end of the salt value prior to HMAC computation (for example, ?expires=&). 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
altcha-libnpm | < 1.4.1 | 1.4.1 |
altcha-org/altchaPackagist | < 1.3.1 | 1.3.1 |
github.com/altcha-org/altcha-lib-goGo | < 1.0.0 | 1.0.0 |
org.altcha:altchaMaven | < 1.3.0 | 1.3.0 |
altchaRubyGems | < 1.0.0 | 1.0.0 |
altchaPyPI | < 1.0.0 | 1.0.0 |
altchaHex | < 1.0.0 | 1.0.0 |
Affected products
11- Range: 0.2.1
- osv-coords10 versionspkg:apk/chainguard/listmonkpkg:apk/chainguard/listmonk-compatpkg:composer/altcha-org/altchapkg:gem/altchapkg:golang/github.com/altcha-org/altcha-lib-gopkg:hex/altchapkg:maven/org.altcha/altchapkg:npm/altcha-libpkg:pypi/altchapkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6
< 5.1.0-r2+ 9 more
- (no CPE)range: < 5.1.0-r2
- (no CPE)range: < 5.1.0-r2
- (no CPE)range: < 1.3.1
- (no CPE)range: < 1.0.0
- (no CPE)range: < 1.0.0
- (no CPE)range: < 1.0.0
- (no CPE)range: < 1.3.0
- (no CPE)range: < 1.4.1
- (no CPE)range: < 1.0.0
- (no CPE)range: < 0.0.20251230T014957-150000.1.134.1
Patches
Vulnerability mechanics
References
13- github.com/advisories/GHSA-6gvq-jcmp-8959ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-68113ghsaADVISORY
- github.com/altcha-org/altcha-lib-ex/commit/09b2bad466ad0338a5b24245380950ea9918333envdWEB
- github.com/altcha-org/altcha-lib-go/commit/4a5610745ef79895a67bac858b2e4f291c2614b8nvdWEB
- github.com/altcha-org/altcha-lib-java/commit/69277651fdd6418ae10bf3a088901506f9c62114nvdWEB
- github.com/altcha-org/altcha-lib-java/releases/tag/v1.3.0nvdWEB
- github.com/altcha-org/altcha-lib-php/commit/9e9e70c864a9db960d071c77c778be0c9ff1a4d0nvdWEB
- github.com/altcha-org/altcha-lib-php/releases/tag/v1.3.1nvdWEB
- github.com/altcha-org/altcha-lib-rb/commit/4fd7b64cbbfc713f3ca4e066c2dd466e3b8d359bnvdWEB
- github.com/altcha-org/altcha-lib/commit/cb95d83a8d08e273b6be15e48988e7eaf60d5c08nvdWEB
- github.com/altcha-org/altcha-lib/releases/tag/1.4.1nvdWEB
- github.com/altcha-org/altcha-lib/security/advisories/GHSA-6gvq-jcmp-8959nvdWEB
- github.com/rubysec/ruby-advisory-db/blob/master/gems/altcha/CVE-2025-68113.ymlghsaWEB
News mentions
0No linked articles in our index yet.