# CVE-2026-16634: TOML::XS versions before 0.06 for Perl bundle an unsupported and vulnerable version of tomlc99

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-24T09:14:58.986Z
- Modified: 2026-10-24T13:10:00.147Z
- Weaknesses: CWE-1104, CWE-1395
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- TOML-XS: before 0.06

## References

- <https://github.com/cktan/tomlc99/issues/97> (exploit, issue-tracking)
- <https://metacpan.org/release/FELIPE/TOML-XS-0.06/changes> (release-notes)
- <https://raw.githubusercontent.com/cktan/tomlc99/29076dfd095bbbbd50a3c1b2760d29f4b83e74ac/README.md>
- <https://github.com/cktan/tomlc17>
- <https://toml.io/en/v1.0.0> (technical-description)
- <http://www.openwall.com/lists/oss-security/2026/07/24/4>

## Sources

- CVE List: [CVE-2026-16634](https://www.cve.org/CVERecord?id=CVE-2026-16634), CVE Terms of Use, modified 2026-07-27
- NVD: [CVE-2026-16634](https://nvd.nist.gov/vuln/detail/CVE-2026-16634), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-16634 · Whole record: https://cve.day/CVE-2026-16634.json · Rebuilt by cve.day 2026-11-25T22:59:29.984Z
