CVE-2026-16634: TOML::XS versions before 0.06 for Perl bundle an unsupported and vulnerable version of tomlc99
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.
Security readout for executives and security teams
Plain-English summary
Applications using TOML::XS before 0.06 may crash when processing a deeply nested, untrusted TOML document. The resulting stack overflow can disrupt services that accept attacker-controlled TOML. The bundled parser, tomlc99, is unmaintained; version 0.06 replaces it with tomlc17.
Executive priority
Treat exposed services as an urgent remediation priority because unauthenticated input may cause service failure. Confirm exposure immediately and upgrade vulnerable installations. Prioritize systems receiving TOML through public APIs, uploads, integrations, or automated ingestion; controlled internal-only parsing can follow based on verified reachability.
Technical view
TOML::XS before 0.06 bundles the unsupported tomlc99 parser. Uncontrolled recursion while from_toml processes deeply nested input can exhaust the call stack. Exposure requires attacker-controlled TOML to reach this function. The supplied record rates the issue CVSS 3.1 9.8, although its description specifically documents stack-overflow availability impact.
Likely exposure
Exposure is most likely in network-accessible services, import workflows, or automation that pass untrusted TOML to from_toml. Installations running TOML::XS 0.06 or later are outside the described affected range. Systems parsing only trusted, controlled TOML have lower practical exposure.
Exploitation context
A public tomlc99 issue describes the recursion weakness, but the supplied sources do not establish active exploitation. The CVE is not listed as KEV in the bundle. Exploitation requires supplying sufficiently nested TOML to an application that parses it with a vulnerable TOML::XS version.
Researcher notes
The record associates CWE-1104 and CWE-1395 with reliance on an unmaintained vulnerable component. The described primitive is uncontrolled recursion leading to stack overflow. The supplied CVSS claims high confidentiality, integrity, and availability impacts, but the narrative only substantiates crash risk; broader impact is unconfirmed.
Mitigation direction
Upgrade TOML::XS to version 0.06 or later.
Prioritize internet-facing services and workflows accepting externally supplied TOML.
Until upgraded, prevent untrusted TOML from reaching from_toml.
Review vendor release notes and guidance before deployment.
Validation and detection
Inventory installed TOML::XS versions across applications and build artifacts.
Identify every from_toml call and determine whether its input can be attacker controlled.
Confirm upgraded deployments resolve TOML::XS 0.06 or later.
Run existing parser and service regression tests after upgrading.
Monitor affected services for stack-overflow crashes or abnormal parser terminations.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-1104: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
7Timeline events
2ADP providers
6Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.