Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-68113 EUVD-2025-203484GHSA-6gvq-jcmp-8959GO-2025-4239PYSEC-2026-1115

ALTCHA Proof-of-Work Vulnerable to Challenge Splicing and Replay

Published Dec 16, 2025 · Updated Dec 16, 2025 · Assigned by GitHub_M

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, `<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.

Affected products

VendorProductAffectedFixed
altcha-org altcha-lib < 1.4.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20251230T014957-150000.1.134.1 SUSE-SU-2026:0037-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/altcha-org/altcha-lib-go < 1.0.0 1.0.0 GO-2025-4239
Hex altcha < 1.0.0 1.0.0 GHSA-6gvq-jcmp-8959
Maven org.altcha:altcha < 1.3.0 1.3.0 GHSA-6gvq-jcmp-8959
npm altcha-lib < 1.4.1 1.4.1 GHSA-6gvq-jcmp-8959
Packagist altcha-org/altcha < 1.3.1 1.3.1 GHSA-6gvq-jcmp-8959
PyPI altcha < 1.0.0 1.0.0 PYSEC-2026-1115
RubyGems altcha < 1.0.0 1.0.0 GHSA-6gvq-jcmp-8959

Advisories 2

References