CVE-2025-8736 GNU cflow Lexer c.c yylex buffer overflow

Medium 4.8 Published Updated

A buffer overflow in the GNU cflow lexer allows local attackers to execute arbitrary code or cause a 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-8736?

CVE-2025-8736 is a medium-severity memory corruption 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, which was classified as critical, has been found in GNU cflow up to 1.8. Affected by this issue is the function yylex of the file c.c of the component Lexer. The manipulation leads to buffer overflow. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.

Weakness: CWE-120, CWE-119

Which versions are affected by CVE-2025-8736?

How do I fix CVE-2025-8736?

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

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

Sources

Also known as DEBIAN-CVE-2025-8736, GHSA-c6jh-8mvm-v593, UBUNTU-CVE-2025-8736.

Is CVE-2025-8736 in your software?

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

Check your SBOMs for free