# 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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.63% (percentile 45, 2026-11-26)
- **CWE:** CWE-1289
- **Published:** 2026-07-30T13:42:03.068Z
- **Modified:** 2026-10-23T22:10:00.160Z

## Who should check

- Anyone running Date-Manip \<= 7.00

## Description

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.

## Affected and fixed versions

- Date-Manip: \<= 7.00 (cvelist)

## Mitigation

- Vendor workaround: No fixed release is available. Apply the patch, which spells the numeric field captures as \`\[0-9\]\` and requires the date fields to be ASCII digit strings, or reject untrusted date strings containing non-ASCII characters before parsing them.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-60074. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-60074.md
Affected: Date-Manip <= 7.00
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Date-Manip: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-60074 being exploited?

There is no confirmed exploitation: CVE-2026-60074 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.63% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-60074?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-60074?

Date-Manip \<= 7.00.

### Is there a fix for CVE-2026-60074?

No fixed version is listed in the sources yet. Vendor workaround: No fixed release is available. Apply the patch, which spells the numeric field captures as \`\[0-9\]\` and requires the date fields to be ASCII digit strings, or reject untrusted date strings containing non-ASCII characters before parsing them.

### How do I check if I'm affected by CVE-2026-60074?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://security.metacpan.org/patches/D/Date-Manip/6.99/CVE-2026-60074-r1.patch>
- patch: <https://github.com/SBECK-github/Date-Manip/pull/54>
- other: <https://metacpan.org/release/SBECK/Date-Manip-6.99/source/lib/Date/Manip/Base.pm#L602-614>
- other: <https://metacpan.org/release/SBECK/Date-Manip-6.99/source/lib/Date/Manip/Date.pm#L1536-1539>
- other: <http://www.openwall.com/lists/oss-security/2026/07/30/19>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-60074>

HTML: <https://flawdb.com/CVE-2026-60074> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-60074>
