CPANSA-TOML-XS-2026-16634: TOML-XS vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-07-24T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-07-24T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 9.8 | Severity | Critical |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability 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.
Vulnerabilities
CVE-2026-16634
Vulnerability DescriptionTOML::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.
| Weakness | CWE-1104 : Use of Unmaintained Third Party Components |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| TOML-XS less than 0.06 |
|
Fixed
- TOML-XS greater than or equal 0.06
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-TOML-XS-2026-16634 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-toml-xs-2026-16634.json - https://github.com/cktan/tomlc17 external
https://github.com/cktan/tomlc17 - https://github.com/cktan/tomlc99/issues/97 external
https://github.com/cktan/tomlc99/issues/97 - https://metacpan.org/release/FELIPE/TOML-XS-0.06/changes external
https://metacpan.org/release/FELIPE/TOML-XS-0.06/changes - https://raw.githubusercontent.com/cktan/tomlc99/29076dfd095bbbbd50a3c1b2760d29f4b83e74ac/README.md external
https://raw.githubusercontent.com/cktan/tomlc99/29076dfd095bbbbd50a3c1b2760d29f4b83e74ac/README.md - https://toml.io/en/v1.0.0 external
https://toml.io/en/v1.0.0 - http://www.openwall.com/lists/oss-security/2026/07/24/4 external
http://www.openwall.com/lists/oss-security/2026/07/24/4 - https://github.com/cktan/tomlc99/issues/97 external
https://github.com/cktan/tomlc99/issues/97 - CVE-2026-16634 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-16634
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Fri Jul 24 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/