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.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

Upgrade to TOML::XS version 0.06 or later.


Workaround

Only parse trusted TOML files.

History

Fri, 24 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Description 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.
Title TOML::XS versions before 0.06 for Perl bundle an unsupported and vulnerable version of tomlc99
Weaknesses CWE-1104
CWE-1395
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-07-24T13:32:08.478Z

Reserved: 2026-07-22T16:37:55.533Z

Link: CVE-2026-16634

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses