Description
Heap-based buffer overflow in the parse_cgroup_spec function in tools/tools-common.c in the Control Group Configuration Library (aka libcgroup or libcg) before 0.37.1 allows local users to gain privileges via a crafted controller list on the command line of an application. NOTE: it is not clear whether this issue crosses privilege boundaries.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libcgroup | 0.37.1-1 | — |
| Debian 13 | libcgroup | 0.37.1-1 | — |
| Debian 12 | libcgroup | 0.37.1-1 | — |
| Debian 6.0 | libcgroup | 0.36.2-3+squeeze1 | DSA-2193-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | libcgroup +2 | 0.36.1-6.el6_0.1 | RHSA-2011:0320 |
Advisories 2
- RHSA-2011:0320 Red Hat Security Advisory: libcgroup security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2193-1 libcgroup - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- 43758 third-party-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=678107
- 44093 third-party-advisory
- 46729 vdb-entry
- http://sourceforge.net/projects/libcg/files/libcgroup/v0.37.1/libcgroup-0.37.1.tar.bz2/download
- http://libcg.git.sourceforge.net/git/gitweb.cgi?p=libcg/libcg%3Ba=commit%3Bh=5ae8aea1ecd60c439121d3329d8eaabf13d292c1
- 43891 third-party-advisory
- DSA-2193 vendor-advisory
- openSUSE-SU-2011:0316 vendor-advisory
- FEDORA-2011-2631 vendor-advisory
- ADV-2011-0679 vdb-entry
- ADV-2011-0774 vdb-entry
- RHSA-2011:0320 vendor-advisory
- 43611 third-party-advisory
- FEDORA-2011-2638 vendor-advisory
- 1025158 vdb-entry