Improper Handling of Alternate Encoding Affecting boostorg/locale package, versions [1.48.0-beta1,1.56.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.68% (82nd 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 IDSNYK-UNMANAGED-BOOSTORGLOCALE-13109618
  • published28 Sept 2025
  • disclosed27 Nov 2012
  • creditPeter Klotz

Introduced: 27 Nov 2012

CVE-2013-0252  (opens in a new tab)
CWE-173  (opens in a new tab)

How to fix?

Upgrade boostorg/locale to version 1.56.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Handling of Alternate Encoding via boost::locale::utf::utf_traits in the /boost/locale/utf.hpp, which does not properly detect certain invalid UTF-8 sequences. A remote attacker can bypass input validation protection mechanisms via crafted trailing bytes.

References

CVSS Base Scores

version 4.0
version 3.1