{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.06"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5597653a83dda2b2ed4634b220b8646cd1545246"
            }
          ],
          "repo": "https://github.com/fgasper/p5-toml-xs",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "CPANSec",
    "cwe_ids": [
      "CWE-1104",
      "CWE-1395"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/16xxx/CVE-2026-16634.json"
  },
  "details": "TOML::XS versions before 0.06 for Perl bundle an unsupported and vulnerable version of tomlc99.\n\nThe tomlc99 library is no longer maintained, and has an uncontrolled recursion vulnerability publicly reported in the issue tracker.\n\nAny caller that passes untrusted TOML to from_toml risks a stack overflow from a deeply-nested document.\n\nTOML::XS version 0.06 or later uses the successor tomlc17 library.",
  "id": "CVE-2026-16634",
  "modified": "2026-07-29T03:30:39.311597779Z",
  "published": "2026-07-24T09:14:58.986Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/07/24/4"
    },
    {
      "type": "WEB",
      "url": "https://cpan.org/modules"
    },
    {
      "type": "WEB",
      "url": "https://raw.githubusercontent.com/cktan/tomlc99/29076dfd095bbbbd50a3c1b2760d29f4b83e74ac/README.md"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/16xxx/CVE-2026-16634.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://metacpan.org/release/FELIPE/TOML-XS-0.06/changes"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-16634"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/cktan/tomlc99/issues/97"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/FGasper/p5-TOML-XS"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/cktan/tomlc17"
    },
    {
      "type": "ARTICLE",
      "url": "https://toml.io/en/v1.0.0"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "TOML::XS versions before 0.06 for Perl bundle an unsupported and vulnerable version of tomlc99"
}