muparser - fast math parser library

April 10, 2026 ยท View on GitHub

GitHub issues Version Packaging status

muparser - fast math parser library

title

Change Notes for Revision 2.3.6 (2026-04-10)

Changes:

Security Fixes:

  • Issue https://github.com/beltoforion/muparser/issues/167: Add additional checks to eliminate possibility of access violations due to malformed expressions. I dont have test cases and do not know whether this issue was exploitable at all but fixing them made sense.
  • Issue https://github.com/beltoforion/muparser/issues/168: ClearConst() now also clears the internal string variable buffer (m_vStringVarBuf) to keep it in sync with the name-to-index map (m_StrVarDef). Previously stale entries accumulated across repeated ClearConst() calls.

Fixed Compiler Warnings and Errors:

Change Notes for Revision 2.3.5

New Features:

  • added a rnd() function

Fixed Compiler Warnings:

  • Fix problem with IntelLLVM fast math

Build System:

Change Notes for Revision 2.3.4

Maintainance Release with updates of the cmake build system.

Build System:

  • cmake is using OpenMP target and setting _UNICODE preprocessor definition

Fixed Compiler Warnings:

Change Notes for Revision 2.3.3

To read the full documentation please go to: http://beltoforion.de/en/muparser.

See Install.txt for installation

Security Fixes:

The following new issues, discovered by oss-fuzz are fixed:

Bugfixes:

Fixed Compiler Warnings:

  • Visual Studio: Disabled compiler warning 26812 (Prefer 'enum class' over 'enum') Use of plain old enums has not been deprecated and only MSVC is complaining.
  • Visual Studio: Disabled compiler warning 4251 (... needs to have dll-interface to be used by clients of class ...) For technical reason the DLL contains the class API and the DLL API. Just do not use the class API if you intent to share the dll accross windows versions. (The same is true for Linux but distributions do compile each application against their own library version anyway)

Changes:

  • Adding manual definitions to avoid potential issues with MSVC
  • Adding missing overrides
  • Added a new option "-DENABLE_WIDE_CHAR" to CMake for building muparser with wide character support
  • export muparser targets, such that client projects can import it using find_package() (https://github.com/beltoforion/muparser/pull/81#event-3528671228)