Skip to content
Heist/ feed
Back to feed
Critical

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-16634
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 19:47 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 24 Jul 2026, 09:14 UTC

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.

osv:CVE-2026-16634
Complete source record
{
  "id": "1ef15b504ec5e40fab9b38def54cd0c161c467db4f1f8cacd6cf484a114b41d1",
  "url": "https://osv.dev/vulnerability/CVE-2026-16634",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "TOML::XS versions before 0.06 for Perl bundle an unsupported and vulnerable version of tomlc99",
    "summary": "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.",
    "evidence": "osv:CVE-2026-16634",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-16634",
      "aliases": [
        "CVE-2026-16634"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/fgasper/p5-toml-xs",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5597653a83dda2b2ed4634b220b8646cd1545246"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.06"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.05",
            "0.04",
            "0.03",
            "0.02",
            "0.01"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-16634.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.801858713Z",
      "provider": "osv",
      "references": [
        "https://cpan.org/modules",
        "https://raw.githubusercontent.com/cktan/tomlc99/29076dfd095bbbbd50a3c1b2760d29f4b83e74ac/README.md",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/16xxx/CVE-2026-16634.json",
        "https://metacpan.org/release/FELIPE/TOML-XS-0.06/changes",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-16634",
        "https://github.com/cktan/tomlc99/issues/97",
        "https://github.com/FGasper/p5-TOML-XS",
        "https://github.com/cktan/tomlc17",
        "https://toml.io/en/v1.0.0"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1104",
          "CWE-1395"
        ],
        "cna_assigner": "CPANSec",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/16xxx/CVE-2026-16634.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-16634",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 506338,
  "published_at": "2026-07-24T09:14:58.986+00:00"
}