Description
regex/v4/perl_matcher_non_recursive.hpp in the Boost regex library (aka Boost.Regex) in Boost 1.33 and 1.34 allows context-dependent attackers to cause a denial of service (failed assertion and crash) via an invalid regular expression.
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.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | boost +2 | 1.33.1-15.el5 | RHSA-2012:0305 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP2 | boost-legacy-base | 1.66.0-1.4.1 | SUSE-RU-2021:1414-1 |
Advisories 2
- RHSA-2012:0305 Red Hat Security Advisory: boost security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- SUSE-RU-2021:1414-1 Recommended update for boost-legacy SUSE / openSUSE Security Updates · May 2, 2025
References
- http://wiki.rpath.com/Advisories:rPSA-2008-0063
- 48099 third-party-advisory
- ADV-2008-0249 vdb-entry
- 27325 vdb-entry
- 28860 third-party-advisory
- http://svn.boost.org/trac/boost/changeset/42745
- 28943 third-party-advisory
- http://svn.boost.org/trac/boost/changeset/42674
- https://issues.rpath.com/browse/RPL-2143
- FEDORA-2008-0880 vendor-advisory
- 28511 third-party-advisory
- 20080213 rPSA-2008-0063-1 boost mailing-list
- 28705 third-party-advisory
- 28545 third-party-advisory
- SUSE-SR:2008:006 vendor-advisory
- GLSA-200802-08 vendor-advisory
- 28527 third-party-advisory
- USN-570-1 vendor-advisory
- 29323 third-party-advisory
- http://bugs.gentoo.org/show_bug.cgi?id=205955
- MDVSA-2008:032 vendor-advisory