CVE-2025-8735 GNU cflow Lexer c.c yylex null pointer dereference

Medium 4.8 Published Updated

A local attacker can cause a denial of service in GNU cflow via a null pointer dereference in the lexer.

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

CVE-2025-8735 is a medium-severity vulnerability in GNU cflow, published on 8 Aug 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 GNU cflow up to 1.8. Affected by this vulnerability is the function yylex of the file c.c of the component Lexer. The manipulation leads to null pointer dereference. An attack has to be approached locally. The exploit has been disclosed to the public and may be used.

Weakness: CWE-476, CWE-404

Which versions are affected by CVE-2025-8735?

How do I fix CVE-2025-8735?

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

Is CVE-2025-8735 being exploited?

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

Sources

Also known as DEBIAN-CVE-2025-8735, GHSA-9jpr-2g6g-wg42, UBUNTU-CVE-2025-8735.

Is CVE-2025-8735 in your software?

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

Check your SBOMs for free