TOML::XS versions before 0.06 for Perl bundle an unsupported and vulnerable version of tomlc99
Summary
| CVE | CVE-2026-16634 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-24 10:16:31 UTC |
| Updated | 2026-07-27 18:16:52 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 9.8 CRITICAL from ADP
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.007680000 probability, percentile 0.518770000 (date 2026-07-29)
Problem Types: CWE-1104 | CWE-1104 CWE-1104 Use of Unmaintained Third Party Components | CWE-1395 CWE-1395 Dependency on Vulnerable Third-Party Component
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | DECLARED | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/cktan/tomlc17 | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | |
| github.com/cktan/tomlc99/issues/97 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | |
| toml.io/en/v1.0.0 | 9b29abf9-4ab0-4765-b253-1875cd9b441e | toml.io | |
| raw.githubusercontent.com/cktan/tomlc99/29076dfd095bbbbd50a3c1b2760d29f4b83e74ac/README.md | 9b29abf9-4ab0-4765-b253-1875cd9b441e | raw.githubusercontent.com | |
| metacpan.org/release/FELIPE/TOML-XS-0.06/changes | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | |
| www.openwall.com/lists/oss-security/2026/07/24/4 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2021-08-12T00:00:00.000Z | Version 0.05 released. |
| CNA | 2025-05-02T00:00:00.000Z | The README for tomlc99 was updated to say that it was obsolete. |
| CNA | 2026-03-07T00:00:00.000Z | Vulnerability posted to tomlc99 issue tracker. |
| CNA | 2026-07-24T00:00:00.000Z | Version 0.06 released. |
Solutions
CNA: Upgrade to TOML::XS version 0.06 or later.
Workarounds
CNA: Only parse trusted TOML files.
There are currently no legacy QID mappings associated with this CVE.