NULL Pointer Dereference Affecting boostorg/regex package, versions [,1.40.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.93% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-BOOSTORGREGEX-13109602
  • published28 Sept 2025
  • disclosed17 Jan 2008
  • creditWill Drewry

Introduced: 17 Jan 2008

CVE-2008-0172  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade boostorg/regex to version 1.40.0 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference via basic_regex_creator.hpp when processing regular expressions. A remote attacker could provide specially crafted regular expressions to an application using Boost, resulting in a denial of service.

CVSS Base Scores

version 4.0
version 3.1