CVE-2026-36189 Details
Description
Buffer Overflow vulnerability in Uncrustify Project Affected v.Uncrustify_d-0.82.0-132-bcc41cbdc and Fixed in commit 68e67b9a1435a1bb173b106fedb4a4f510972bdc allows a local attacker to cause a denial of service via the check_template.cpp, check_template function, tokenize_cleanup function, uncrustify executable components
A stack-based buffer overflow vulnerability has been identified in the Uncrustify project, specifically in version Uncrustify_d-0.82.0-132-bcc41cbdc. The issue arises in the 'check_template' function within 'src/tokenizer/check_template.cpp', where the parser improperly handles malformed C/C++ template syntax. This flaw allows a local attacker to cause a denial-of-service by crashing the application. The vulnerability was discovered through fuzzing with AddressSanitizer enabled, which revealed a stack-buffer-overflow error at line 305 of the check_template.cpp file.
Users can update to the latest version of Uncrustify, where this vulnerability has been fixed. The patched version is available in the upstream commit 68e67b9a1435a1bb173b106fedb4a4f510972bdc.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 21, 2026CISA-ADP
Assessed May 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/Criticayon/5da6d6c9cf068e494347c659d01982a9 | [email protected] | ExploitTechnical Description |
| https://github.com/uncrustify/uncrustify%2Chttps://github.com/uncrustify/uncrustify/issues/4636%2C | [email protected] | Broken LinkIssue TrackingVendor |
| https://github.com/uncrustify/uncrustify/pull/4641 | [email protected] | Issue TrackingVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| Uncrustify | Uncrustify_d-0.82.0-132-bcc41cbdc |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 21, 2026 | CVE Modified | CISA-ADP |
| May 21, 2026 | New CVE Received | [email protected] |
Volerion