Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
5.0

CVE-2008-0171: Boost.Regex 1.33/1.34 can crash on bad pattern

CVE-2008-0171 · published 18 years ago
Summary

The Boost.Regex library versions 1.33 and 1.34 may stop working or crash if someone supplies a malformed regular expression. This can cause a temporary loss of service for applications that rely on the library. Update to a newer Boost version or validate regular expressions before using them.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
boost boost 1.33
1.34
cpe:2.3:a:boost:boost:1.33:*:*:*:*:*:*:*
boost boost_regex_library All versions
cpe:2.3:a:boost:boost_regex_library:*:*:*:*:*:*:*:*
Original advisory text
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 cra...
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.
Fix within
Internet-facing 14 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker partial control (estimated)
Severity
5.0 Medium
Exploitation
3% chance of attack within 30 days
Type
CWE-20Improper Input Validation
Timeline
Published17 Jan 2008
Updated30 Oct 2026
First seen29 Sep 2026
Sources
CVE-2008-0171 · NVD
Track software like this
Free during beta