CVE-2026-16634 Details
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.
A stack overflow vulnerability has been identified in TOML::XS versions prior to 0.06 for Perl. This issue arises because these versions bundle an unsupported and vulnerable release of the tomlc99 library, which is no longer maintained. The vulnerability allows uncontrolled recursion when the from_toml function processes untrusted TOML data, particularly if the document is deeply nested. This flaw can lead to a denial-of-service condition by causing a stack overflow. In contrast, TOML::XS version 0.06 and later utilize the updated tomlc17 library, which addresses these issues.
Users are advised to upgrade to TOML::XS version 0.06 or later, which does not include the vulnerable tomlc99 library.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 24, 2026CISA-ADP
Assessed Jul 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/cktan/tomlc99/issues/97 | CISA-ADP | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/cktan/tomlc17 | CPANSec | ProductSource CodeVendor |
| https://github.com/cktan/tomlc99/issues/97 | CPANSec | ExploitIssue TrackingTechnical DescriptionVendor |
| https://metacpan.org/release/FELIPE/TOML-XS-0.06/changes | CPANSec | Release NotesVendor |
| https://raw.githubusercontent.com/cktan/tomlc99/29076dfd095bbbbd50a3c1b2760d29f4b83e74ac/README.md | CPANSec | Not ApplicableSource Code |
| https://toml.io/en/v1.0.0 | CPANSec | Not Applicable |
| http://www.openwall.com/lists/oss-security/2026/07/24/4 | CVE | AdvisoryMailing ListRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1104 | Use of Unmaintained Third Party Components | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| TOML::XS | < 0.06 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 24, 2026 | CVE Translated | [email protected] |
| Jul 27, 2026 | CVE Modified | CISA-ADP |
| Jul 24, 2026 | CVE Modified | CVE |
| Jul 24, 2026 | New CVE Received | CPANSec |
Volerion