CVE-2025-15535 nicbarker clay clay.h Clay__MeasureTextCached null pointer dereference

Medium 4.8 Published Updated

A local attacker can cause a denial of service via null pointer dereference in the Clay__MeasureTextCached function of the clay library.

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

CVE-2025-15535 is a medium-severity vulnerability in nicbarker clay, published on 18 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A security flaw has been discovered in nicbarker clay up to 0.14. This affects the function Clay__MeasureTextCached in the library clay.h. The manipulation results in null pointer dereference. The attack is only possible with local access. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.

Weakness: CWE-476, CWE-404

Which versions are affected by CVE-2025-15535?

How do I fix CVE-2025-15535?

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

Is CVE-2025-15535 being exploited?

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

Sources

Also known as GHSA-xvvx-g2mg-wqw5.

Is CVE-2025-15535 in your software?

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

Check your SBOMs for free