CVE-2025-6499 vstakhov libucl ucl_parser.c ucl_parse_multiline_string heap-based overflow

Medium 4.8 Published Updated

A heap-based buffer overflow in libucl allows local attackers to execute arbitrary code or cause denial of service via crafted input.

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-6499?

CVE-2025-6499 is a medium-severity memory corruption vulnerability in vstakhov libucl, published on 23 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability classified as problematic was found in vstakhov libucl up to 0.9.2. Affected by this vulnerability is the function ucl_parse_multiline_string of the file src/ucl_parser.c. The manipulation leads to heap-based buffer overflow. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used.

Weakness: CWE-122, CWE-787, CWE-119

Which versions are affected by CVE-2025-6499?

It affects 1 product.

Products include Vstakhov Libucl.

How do I fix CVE-2025-6499?

No fix has been published for CVE-2025-6499 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-6499 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6499 exists.

Sources

Also known as GHSA-vprg-8xj9-vhmq.

Is CVE-2025-6499 in your software?

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

Check your SBOMs for free