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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.82% (percentile 54, 2026-11-26)
- **CWE:** CWE-115, CWE-347
- **Aliases:** GHSA-6gvq-jcmp-8959, GO-2025-4239, PYSEC-2026-1115
- **Published:** 2025-12-16T00:43:52.000Z
- **Modified:** 2026-10-07T19:10:00.160Z

## Who should check

- Projects that depend on PyPI package altcha (\< 1.0.0)
- Projects that depend on npm package altcha-lib (\< 1.4.1)
- Projects that depend on Packagist package altcha-org/altcha (\< 1.3.1)
- Projects that depend on Go package github.com/altcha-org/altcha-lib-go (\< 1.0.0)
- Projects that depend on Maven package org.altcha:altcha (\< 1.3.0)
- Projects that depend on RubyGems package altcha (\< 1.0.0)
- Projects that depend on Hex package altcha (\< 1.0.0)
- Anyone running altcha-org altcha-lib \< 1.4.1

## 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 and fixed versions

- PyPI `altcha`: affected \< 1.0.0; fixed 1.0.0 (osv)
- npm `altcha-lib`: affected \< 1.4.1; fixed 1.4.1 (osv)
- Packagist `altcha-org/altcha`: affected \< 1.3.1; fixed 1.3.1 (osv)
- Go `github.com/altcha-org/altcha-lib-go`: affected \< 1.0.0; fixed 1.0.0 (osv)
- Maven `org.altcha:altcha`: affected \< 1.3.0; fixed 1.3.0 (osv)
- RubyGems `altcha`: affected \< 1.0.0; fixed 1.0.0 (osv)
- Hex `altcha`: affected \< 1.0.0; fixed 1.0.0 (osv)
- altcha-org altcha-lib: \< 1.4.1 (cvelist)

## Mitigation

- Upgrade altcha to 1.0.0 or later.
- Upgrade altcha-lib to 1.4.1 or later.
- Upgrade altcha-org/altcha to 1.3.1 or later.
- Upgrade github.com/altcha-org/altcha-lib-go to 1.0.0 or later.
- Upgrade org.altcha:altcha to 1.3.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68113. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68113.md
Affected: altcha < 1.0.0; altcha-lib < 1.4.1; altcha-org/altcha < 1.3.1; github.com/altcha-org/altcha-lib-go < 1.0.0; org.altcha:altcha < 1.3.0; altcha < 1.0.0; altcha < 1.0.0
Fixed in: 1.0.0, 1.4.1, 1.3.1, 1.3.0

Steps:
1. Search this machine and project for altcha (PyPI), altcha-lib (npm), altcha-org/altcha (Packagist), github.com/altcha-org/altcha-lib-go (Go), org.altcha:altcha (Maven), altcha (RubyGems): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68113 being exploited?

There is no confirmed exploitation: CVE-2025-68113 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.82% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68113?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-68113?

altcha \< 1.0.0; altcha-lib \< 1.4.1; altcha-org/altcha \< 1.3.1; github.com/altcha-org/altcha-lib-go \< 1.0.0; org.altcha:altcha \< 1.3.0; altcha \< 1.0.0; altcha \< 1.0.0.

### Is there a fix for CVE-2025-68113?

Yes. Fixed in 1.0.0, 1.4.1, 1.3.1, 1.3.0. Upgrade altcha to 1.0.0 or later. Upgrade altcha-lib to 1.4.1 or later. Upgrade altcha-org/altcha to 1.3.1 or later. Upgrade github.com/altcha-org/altcha-lib-go to 1.0.0 or later. Upgrade org.altcha:altcha to 1.3.0 or later.

### How do I check if I'm affected by CVE-2025-68113?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/altcha-org/altcha-lib/security/advisories/GHSA-6gvq-jcmp-8959>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-68113>
- vendor: <https://github.com/advisories/GHSA-6gvq-jcmp-8959>
- patch: <https://github.com/altcha-org/altcha-lib-ex/commit/09b2bad466ad0338a5b24245380950ea9918333e>
- patch: <https://github.com/altcha-org/altcha-lib-go/commit/4a5610745ef79895a67bac858b2e4f291c2614b8>
- patch: <https://github.com/altcha-org/altcha-lib-java/commit/69277651fdd6418ae10bf3a088901506f9c62114>
- patch: <https://github.com/altcha-org/altcha-lib-php/commit/9e9e70c864a9db960d071c77c778be0c9ff1a4d0>
- patch: <https://github.com/altcha-org/altcha-lib-rb/commit/4fd7b64cbbfc713f3ca4e066c2dd466e3b8d359b>
- patch: <https://github.com/altcha-org/altcha-lib/commit/cb95d83a8d08e273b6be15e48988e7eaf60d5c08>
- other: <https://github.com/altcha-org/altcha-lib-java/releases/tag/v1.3.0>
- other: <https://github.com/altcha-org/altcha-lib-php/releases/tag/v1.3.1>
- other: <https://github.com/altcha-org/altcha-lib/releases/tag/1.4.1>
- other: <https://github.com/altcha-org/altcha-lib>
- other: <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/altcha/CVE-2025-68113.yml>
- other: <https://pypi.org/project/altcha>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68113>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1115> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-6gvq-jcmp-8959> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2025-4239> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-68113> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68113>
