Vulnerability · Published Jul 24, 2026 · Assigned by CPANSec
CVE-2026-16634TOML::XS versions before 0.06 for Perl bundle an unsupported and vulnerable version of tomlc99
Critical 9.8
In plain English
A critical-severity security flaw in TOML::XS from FELIPE. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-1104, CWE-1395 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://metacpan.org/release/FELIPE/TOML-XS-0.06/changes release-notes
- https://raw.githubusercontent.com/cktan/tomlc99/29076dfd095bbbbd50a3c1b2760d29f4b83e74ac/README.md
- https://github.com/cktan/tomlc99/issues/97 issue-tracking
- https://github.com/cktan/tomlc17
- https://toml.io/en/v1.0.0 technical-description
- http://www.openwall.com/lists/oss-security/2026/07/24/4