Live threats

All CVEs / altcha-org

CVE-2025-68113altcha-org altcha-lib

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
—
Auth required
No
Published
Dec 16, 2025
Updated
Oct 7, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-115, CWE-347
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for altcha-lib.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/altcha-org/altcha-lib-go < 1.0.0 1.0.0 go get github.com/altcha-org/altcha-lib-go@v1.0.0
Go github.com/altcha-org/altcha-lib-go < 1.0.0 1.0.0 go get github.com/altcha-org/altcha-lib-go@v1.0.0
Hex altcha < 1.0.0 1.0.0 —
Maven org.altcha:altcha < 1.3.0 1.3.0 —
Packagist altcha-org/altcha < 1.3.1 1.3.1 composer require "altcha-org/altcha:^1.3.1"
PyPI altcha < 1.0.0 1.0.0 pip install "altcha>=1.0.0"
PyPI altcha < 1.0.0 1.0.0 pip install "altcha>=1.0.0"
RubyGems altcha < 1.0.0 1.0.0 gem "altcha", ">= 1.0.0"
npm altcha-lib < 1.4.1 1.4.1 npm install altcha-lib@1.4.1

Per OSV / GitHub Advisories (GHSA-6gvq-jcmp-8959, GO-2025-4239, PYSEC-2026-1115). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.