# CVE-2025-3017: TA-Lib ta_regtest test_minmax.c setInputBuffer out-of-bounds write

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-31T21:31:10.492Z
- Modified: 2026-06-17T09:19:01.720Z
- Weaknesses: CWE-119, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- TA-Lib: 0.6.0; 0.6.1; 0.6.2; 0.6.3; 0.6.4

## Every score

- VulDB: CVSS:4.0 4.8 Medium `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`
- VulDB: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/TA-Lib/ta-lib/issues/61#issue-2931609110> (exploit, issue-tracking)
- <https://vuldb.com/?id.302069> (technical-description, vdb-entry)
- <https://vuldb.com/?ctiid.302069> (permissions-required, signature)
- <https://vuldb.com/?submit.524603> (third-party-advisory)
- <https://github.com/TA-Lib/ta-lib/issues/61> (issue-tracking)
- <https://github.com/TA-Lib/ta-lib/pull/62> (issue-tracking)
- <https://github.com/TA-Lib/ta-lib/commit/5879180e9070ec35d52948f2f57519713256a0f1> (patch)

## Sources

- CVE List: [CVE-2025-3017](https://www.cve.org/CVERecord?id=CVE-2025-3017), CVE Terms of Use, modified 2025-04-01
- NVD: [CVE-2025-3017](https://nvd.nist.gov/vuln/detail/CVE-2025-3017), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-3017 · Whole record: https://cve.day/CVE-2025-3017.json · Rebuilt by cve.day 2026-11-25T22:58:55.758Z
