CVE-2026-36189

NameCVE-2026-36189
DescriptionBuffer 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
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1142851

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
uncrustify (PTS)bookworm, bullseye0.72.0+dfsg1-2vulnerable
forky, sid, trixie0.78.1+dfsg1-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
uncrustifysource(unstable)(unfixed)1142851

Notes

https://github.com/uncrustify/uncrustify/issues/4636
https://github.com/uncrustify/uncrustify/pull/4641
https://github.com/uncrustify/uncrustify/pull/4650
tokenizer related code moved to subfolder in:
https://github.com/uncrustify/uncrustify/commit/35f4eb550fd0cb419d0d48575c51b1d19def18fa (uncrustify-0.79.0)
Fixed by: https://github.com/uncrustify/uncrustify/commit/04e7614fd25d283508d6d68d85006d9b420c0f1a (uncrustify-0.83.0)

Search for package or bug name: Reporting problems