Home / Ruby-lang / Ruby / CVE-2023-28756
CVE-2023-28756: is it exploited, and which versions of Ruby-lang Ruby are affected and fixed?
CVE-2023-28756 is a regular expression denial of service (ReDoS) vulnerability in Ruby-lang Ruby. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: time from 0.2.0 before 0.2.2 and time before 0.1.1 (GitHub advisory GHSA-fg7x-g82r-94qc). Fixed in 0.2.2 and 0.1.1 (GitHub advisory GHSA-fg7x-g82r-94qc). Severity: Medium (5.3, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:40 UTC.
What is CVE-2023-28756?
A ReDoS issue was discovered in the Time component through 0.2.1 in Ruby through 3.2.1. The Time parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to Time objects. The fixed versions are 0.1.1 and 0.2.2.
From the CVE record by mitre, last updated November 4, 2025, 16:10 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | time | >= 0.2.0, < 0.2.2 | 0.2.2 | GHSA-fg7x-g82r-94qc |
| RubyGems | time | < 0.1.1 | 0.1.1 | GHSA-fg7x-g82r-94qc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 4, 2025. Summary: Ruby Time component ReDoS issue.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ruby-lang | ruby | through 2.7.7 | application |
| ruby-lang | time | 0.1.0 | application |
| ruby-lang | time | 0.2.1 | application |
| debian | debian linux | 10.0 | operating system |
| fedoraproject | fedora | 36 | operating system |
| fedoraproject | fedora | 37 | operating system |
| fedoraproject | fedora | 38 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 05:48 UTC.
How severe is CVE-2023-28756?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-28756 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, January 26, 2024)
- EPSS
- 2.54% probability of exploitation activity in the next 30 days, percentile 85.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-1333 Inefficient Regular Expression Complexity
Where are the vendor advisories and references?
- https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
- https://www.ruby-lang.org/en/downloads/releases/
- https://github.com/ruby/time/releases/
- https://www.ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756/
- FEDORA-2023-6b924d3b75 vendor-advisory
- FEDORA-2023-a7be7ea1aa vendor-advisory
- FEDORA-2023-f58d72c700 vendor-advisory
- [debian-lts-announce] 20230430 [SECURITY] [DLA 3408-1] jruby security update mailing-list
- https://security.netapp.com/advisory/ntap-20230526-0004/
- GLSA-202401-27 vendor-advisory
- https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html
When was it published, and where is the official record?
- Reserved
- March 23, 2023
- Published
- March 31, 2023, 00:00 UTC
- CVE record updated
- November 4, 2025, 16:10 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 05:48 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:40 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Ruby?
- Nov 19, 2026CVE-2026-132825 ruby-lang Ruby: heap buffer overflow
- May 22, 2026CVE-2026-46727 ruby-lang Ruby: race condition
- Nov 18, 2022CVE-2021-33621 Ruby-lang Cgi: injection
- May 9, 2022CVE-2022-28739 Ruby-lang Ruby: out-of-bounds read
- May 9, 2022CVE-2022-28738 Ruby-lang Ruby: double free
- Jan 1, 2022CVE-2021-41819 Ruby-lang Cgi: trust in cookies without checks
- Jan 1, 2022CVE-2021-41817 Ruby-lang Date: regular expression denial of service (ReDoS)
- Aug 1, 2021CVE-2021-32066 Ruby-lang Ruby: exceptional condition mishandled
Questions about CVE-2023-28756
Is CVE-2023-28756 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 2.54% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Ruby-lang Ruby are affected by CVE-2023-28756?
time from 0.2.0 before 0.2.2 and time before 0.1.1, per the GitHub advisory GHSA-fg7x-g82r-94qc. The tables above give every range the sources list.
Which version fixes CVE-2023-28756?
0.2.2 and 0.1.1, per the GitHub advisory GHSA-fg7x-g82r-94qc. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-28756?
Medium (5.3, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2023-28756?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.