Vulnerability · Published Dec 16, 2025 · Assigned by GitHub_M

CVE-2025-68113ALTCHA Proof-of-Work Vulnerable to Challenge Splicing and Replay

Medium 6.5

In plain English

A medium-severity security flaw in altcha-lib from altcha-org. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.5%top 59.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/altcha-org/altcha-lib-go1.0.0GHSA-6gvq-jcmp-8959
Gogithub.com/altcha-org/altcha-lib-go1.0.0GO-2025-4239
Mavenorg.altcha:altcha1.3.0GHSA-6gvq-jcmp-8959
Packagistaltcha-org/altcha1.3.1GHSA-6gvq-jcmp-8959
PyPIaltcha1.0.0GHSA-6gvq-jcmp-8959
PyPIaltcha1.0.0PYSEC-2026-1115
RubyGemsaltcha1.0.0GHSA-6gvq-jcmp-8959
npmaltcha-lib1.4.1GHSA-6gvq-jcmp-8959

Affected products (as reported)

VendorProductVersions
altcha-org altcha-lib < 1.4.1

Weakness: CWE-115, CWE-347 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

References