Uncontrolled Recursion in expr - #VU169619

 

Uncontrolled Recursion in expr - #VU169619

Published: November 23, 2026


Vulnerability identifier: #VU169619
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service by crashing an application that compiles untrusted Expr expressions.

The vulnerability exists due to uncontrolled recursion in the Expr parser when processing parenthesized expressions, because nested grouping consumes stack space without creating nodes counted by MaxNodes. A remote attacker can submit a crafted expression for compilation to trigger a fatal stack overflow in the host process.


Affected software

expr

Remediation

Install security update from vendor's website.

expr - update to 1.18.0

External References

Related Security Bulletins