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

Medium 4.8 Published Updated

A local attacker can exploit an out-of-bounds write in TA-Lib's test utility to potentially execute arbitrary code or escalate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-3017?

CVE-2025-3017 is a medium-severity memory corruption vulnerability in TA-Lib, published on 31 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-787, CWE-119

Which versions are affected by CVE-2025-3017?

How do I fix CVE-2025-3017?

No fix has been published for CVE-2025-3017 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-3017 being exploited?

There is no known exploitation of CVE-2025-3017 in the wild and no public exploit code.

Sources

Also known as GHSA-6p9f-6933-82rq.

Is CVE-2025-3017 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free