TOML::XS versions before 0.06 for Perl bundle an unsupported and vulnerable version of tomlc99

Summary

CVECVE-2026-16634
StatePUBLISHED
AssignerCPANSec
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-24 10:16:31 UTC
Updated2026-07-27 18:16:52 UTC
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.

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


VersionSourceTypeScoreSeverityVector
3.1ADPDECLARED9.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary9.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA FELIPE TOMLXS affected 0.06 custom Not specified

References

ReferenceSourceLinkTags
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

Additional Advisory Data

SourceTimeEvent
CNA2021-08-12T00:00:00.000ZVersion 0.05 released.
CNA2025-05-02T00:00:00.000ZThe README for tomlc99 was updated to say that it was obsolete.
CNA2026-03-07T00:00:00.000ZVulnerability posted to tomlc99 issue tracker.
CNA2026-07-24T00:00:00.000ZVersion 0.06 released.

Solutions

CNA: Upgrade to TOML::XS version 0.06 or later.

Workarounds

CNA: Only parse trusted TOML files.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report