CVE-2026-16634 PUBLISHED

TOML::XS versions before 0.06 for Perl bundle an unsupported and vulnerable version of tomlc99

Assigner: CPANSec
Reserved: 22.07.2026 Published: 24.07.2026 Updated: 24.07.2026

TOML::XS versions before 0.06 for Perl bundle an unsupported and vulnerable version of tomlc99.

The tomlc99 library is no longer maintained, and has an uncontrolled recursion vulnerability publicly reported in the issue tracker.

Any caller that passes untrusted TOML to from_toml risks a stack overflow from a deeply-nested document.

TOML::XS version 0.06 or later uses the successor tomlc17 library.

Product Status

Vendor FELIPE
Product TOML::XS
Versions Default: unaffected
  • affected from 0 to 0.06 (excl.)

Workarounds

Only parse trusted TOML files.

Solutions

Upgrade to TOML::XS version 0.06 or later.

References

Problem Types

  • CWE-1104 Use of Unmaintained Third Party Components CWE
  • CWE-1395 Dependency on Vulnerable Third-Party Component CWE