{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.38"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1493b1800cca408775e9ba9faa11c38364a89c15"
            },
            {
              "fixed": "208a4d3bd1b5cdb4a791a6e3905bd6bd45e9d005"
            }
          ],
          "repo": "https://github.com/cpan-authors/yaml-syck",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "CPANSec",
    "cwe_ids": [
      "CWE-124"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5089.json"
  },
  "details": "YAML::Syck versions before 1.38 for Perl  has an out-of-bounds read.\n\nThe base60 (sexagesimal) parsing code in perl_syck.h has a buffer underflow bug in both int#base60 and float#base60 handlers. When processing the leftmost segment of a colon-separated value (e.g., the 1 in 1:30:45), the inner while loop can decrement a pointer past the start of the string buffer:\n\n    while ( colon \u003e= ptr \u0026\u0026 *colon != ':' )\n    {\n        colon--;\n    }\n    if ( *colon == ':' ) *colon = '\\0';  // colon may be ptr-1 here\n\nWhen no colon is found (final/leftmost segment), colon becomes ptr-1, and the subsequent *colon dereference reads one byte before the allocated buffer.",
  "id": "CVE-2026-5089",
  "modified": "2026-07-15T01:49:12.738920017Z",
  "published": "2026-05-12T16:14:21.951Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/05/12/16"
    },
    {
      "type": "WEB",
      "url": "https://cpan.org/modules"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5089.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://metacpan.org/release/TODDR/YAML-Syck-1.38/changes"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-5089"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/cpan-authors/YAML-Syck/issues/132"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/cpan-authors/YAML-Syck/pull/133"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cpan-authors/YAML-Syck/commit/208a4d3bd1b5cdb4a791a6e3905bd6bd45e9d005.patch"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/toddr/YAML-Syck"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "YAML::Syck versions before 1.38 for Perl has an out-of-bounds read"
}