Skip to content
Heist/ feed
Back to feed
HighFix available

libdate-manip-perl — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-60074

Date::Manip versions through 7.00 for Perl return corrupted dates via non-ASCII decimal digits that pass the numeric range tests in check. The parse regexes capture year, month and day with the `\d` shorthand, which on a character string matches the whole Unicode decimal digit property `\p{Nd}` and not just `[0-9]`. Date::Manip::Base::check then validates the captured fields with numeric comparisons alone (`$y<1 || $y>9999`, `$m<1 || $m>12`, `$d<1 || $d>$days`), and _parse_check stores the numified fields (`$y+0`). Perl truncates a string at the first character that is not an ASCII digit, so a field whose leading characters are ASCII digits numifies to an in-range prefix and satisfies every test: a year field of three ASCII digits followed by U+0664 ARABIC-INDIC DIGIT FOUR numifies to 202, giving the year 0202, and one non-ASCII digit in the month or day field shifts those fields the same way. The hour, minute and second fields match explicit ASCII character classes (`0?[0-9]`, `[0-5][0-9]`) and do not shift, though a non-ASCII digit in a fractional hour or minute field truncates the fraction. Any caller that passes an untrusted character string to ParseDate() or Date::Manip::Date->parse() can get back a date that differs from the string it parsed, with no parse error. Where the parsed date gates logic such as an expiry check or a retention window, the shift goes unnoticed.

Products
libdate-manip-perl
Affected versions
6.91-1, 6.92-1, 6.93-1, 6.94-1, 6.95-1, 6.96-1, 6.97-1, 6.98-1, 6.99-1, 6.99-2, 7.00-1
Fixed versions
6.99-2
CVEs
CVE-2026-60074
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:06 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-60074

core-osv · Original source

Published 30 Jul 2026, 14:17 UTC

Date::Manip versions through 7.00 for Perl return corrupted dates via non-ASCII decimal digits that pass the numeric range tests in check. The parse regexes capture year, month and day with the `\d` shorthand, which on a character string matches the whole Unicode decimal digit property `\p{Nd}` and not just `[0-9]`. Date::Manip::Base::check then validates the captured fields with numeric comparisons alone (`$y<1 || $y>9999`, `$m<1 || $m>12`, `$d<1 || $d>$days`), and _parse_check stores the numified fields (`$y+0`). Perl truncates a string at the first character that is not an ASCII digit, so a field whose leading characters are ASCII digits numifies to an in-range prefix and satisfies every test: a year field of three ASCII digits followed by U+0664 ARABIC-INDIC DIGIT FOUR numifies to 202, giving the year 0202, and one non-ASCII digit in the month or day field shifts those fields the same way. The hour, minute and second fields match explicit ASCII character classes (`0?[0-9]`, `[0-5][0-9]`) and do not shift, though a non-ASCII digit in a fractional hour or minute field truncates the fraction. Any caller that passes an untrusted character string to ParseDate() or Date::Manip::Date->parse() can get back a date that differs from the string it parsed, with no parse error. Where the parsed date gates logic such as an expiry check or a retention window, the shift goes unnoticed.

osv:DEBIAN-CVE-2026-60074

libdate-manip-perl

Fixed versions: Not specified

libdate-manip-perl

Fixed versions: Not specified

libdate-manip-perl

Fixed versions: 6.99-2

Complete source record
{
  "id": "3b640cca7187ab052ffe993a5a2b5ddc2ca8919463584db7825dfe302caec3a0",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-60074",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-60074",
    "summary": "Date::Manip versions through 7.00 for Perl return corrupted dates via non-ASCII decimal digits that pass the numeric range tests in check. The parse regexes capture year, month and day with the `\\d` shorthand, which on a character string matches the whole Unicode decimal digit property `\\p{Nd}` and not just `[0-9]`. Date::Manip::Base::check then validates the captured fields with numeric comparisons alone (`$y<1 || $y>9999`, `$m<1 || $m>12`, `$d<1 || $d>$days`), and _parse_check stores the numified fields (`$y+0`). Perl truncates a string at the first character that is not an ASCII digit, so a field whose leading characters are ASCII digits numifies to an in-range prefix and satisfies every test: a year field of three ASCII digits followed by U+0664 ARABIC-INDIC DIGIT FOUR numifies to 202, giving the year 0202, and one non-ASCII digit in the month or day field shifts those fields the same way. The hour, minute and second fields match explicit ASCII character classes (`0?[0-9]`, `[0-5][0-9]`) and do not shift, though a non-ASCII digit in a fractional hour or minute field truncates the fraction. Any caller that passes an untrusted character string to ParseDate() or Date::Manip::Date->parse() can get back a date that differs from the string it parsed, with no parse error. Where the parsed date gates logic such as an expiry check or a retention window, the shift goes unnoticed.",
    "evidence": "osv:DEBIAN-CVE-2026-60074",
    "products": [
      {
        "name": {
          "value": "libdate-manip-perl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "6.91-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.92-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.93-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.94-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.95-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.96-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.97-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.98-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.99-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.99-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.00-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libdate-manip-perl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "6.98-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "6.99-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "6.99-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "7.00-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libdate-manip-perl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.99-2",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "6.98-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "6.99-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2026-60074",
      "aliases": [
        "DEBIAN-CVE-2026-60074"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libdate-manip-perl",
            "purl": "pkg:deb/debian/libdate-manip-perl?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "6.91-1",
            "6.92-1",
            "6.93-1",
            "6.94-1",
            "6.95-1",
            "6.96-1",
            "6.97-1",
            "6.98-1",
            "6.99-1",
            "6.99-2",
            "7.00-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-60074.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libdate-manip-perl",
            "purl": "pkg:deb/debian/libdate-manip-perl?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "6.98-1",
            "6.99-1",
            "6.99-2",
            "7.00-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-60074.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.99-2"
                }
              ]
            }
          ],
          "package": {
            "name": "libdate-manip-perl",
            "purl": "pkg:deb/debian/libdate-manip-perl?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "6.98-1",
            "6.99-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-60074.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-24T09:47:29.517814527Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-60074"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-60074"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-60074",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 428982,
  "published_at": "2026-07-30T14:17:02.587+00:00"
}