Home / CVE-2024-27281
CVE-2024-27281: is it exploited, and which versions of rdoc are affected and fixed?
CVE-2024-27281 is a deserialization of untrusted data vulnerability in rdoc. 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, 14:08 UTC). Affected: rdoc from 6.3.3 before 6.3.4.1, rdoc from 6.4.0 before 6.4.1.1, rdoc from 6.5.0 before 6.5.1.1 and 1 more (GitHub advisory GHSA-592j-995h-p23j). Fixed in 6.3.4.1, 6.4.1.1, 6.5.1.1 and 6.6.3.1 (GitHub advisory GHSA-592j-995h-p23j). Severity: Medium (4.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:29 UTC.
What is CVE-2024-27281?
An issue was discovered in RDoc 6.3.3 through 6.6.2, as distributed in Ruby 3.x through 3.3.0. When parsing .rdoc_options (used for configuration in RDoc) as a YAML file, object injection and resultant remote code execution are possible because there are no restrictions on the classes that can be restored. (When loading the documentation cache, object injection and resultant remote code execution are also possible if there were a crafted cache.) The main fixed version is 6.6.3.1. For Ruby 3.0 users, a fixed version is rdoc 6.3.4.1. For Ruby 3.1 users, a fixed version is rdoc 6.4.1.1. For Ruby 3.2 users, a fixed version is rdoc 6.5.1.1.
From the CVE record by mitre, last updated November 4, 2025, 17:17 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | rdoc | >= 6.3.3, < 6.3.4.1 | 6.3.4.1 | GHSA-592j-995h-p23j |
| RubyGems | rdoc | >= 6.4.0, < 6.4.1.1 | 6.4.1.1 | GHSA-592j-995h-p23j |
| RubyGems | rdoc | >= 6.5.0, < 6.5.1.1 | 6.5.1.1 | GHSA-592j-995h-p23j |
| RubyGems | rdoc | >= 6.6.0, < 6.6.3.1 | 6.6.3.1 | GHSA-592j-995h-p23j |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 8, 2026. Summary: RDoc RCE vulnerability with .rdoc_options.
How severe is CVE-2024-27281?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L | CISA-ADP |
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-2024-27281 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, August 20, 2024)
- EPSS
- 1.57% probability of exploitation activity in the next 30 days, percentile 76.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-502 Deserialization of Untrusted Data
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
Where are the vendor advisories and references?
- https://hackerone.com/reports/1187477
- https://www.ruby-lang.org/en/news/2024/03/21/rce-rdoc-cve-2024-27281/
- https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XYDHPHEZI7OQXTQKTDZHGZNPIJH7ZV5N/
When was it published, and where is the official record?
- Reserved
- February 22, 2024
- Published
- May 8, 2024, 20:56 UTC
- CVE record updated
- November 4, 2025, 17:17 UTC by mitre
- NVD
- Deferred, last modified June 17, 2026, 07:19 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:29 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on May 8, 2024?
- May 8, 2024CVE-2024-27793 Apple iTunes for Windows: code injection (remote code execution)
- May 8, 2024CVE-2024-34196 Totolink A3002ru-v3 Firmware: buffer overflow
- May 8, 2024CVE-2024-26517 Rems School Task Manager: cross-site scripting (XSS)
- May 8, 2024CVE-2024-27280 stringio: buffer overflow
- May 8, 2024CVE-2024-27282 Out-of-bounds read
- May 8, 2024CVE-2024-34308 Totolink Lr350 Firmware: stack buffer overflow
- May 8, 2024CVE-2024-28759 Buffer overflow
- May 8, 2024CVE-2024-22460 Dell Data Manager Appliance Software (DMAS): deserialization of untrusted data
Every CVE published on May 8, 2024
Questions about CVE-2024-27281
Is CVE-2024-27281 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 1.57% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of rdoc are affected by CVE-2024-27281?
rdoc from 6.3.3 before 6.3.4.1, rdoc from 6.4.0 before 6.4.1.1, rdoc from 6.5.0 before 6.5.1.1 and rdoc from 6.6.0 before 6.6.3.1, per the GitHub advisory GHSA-592j-995h-p23j. The tables above give every range the sources list.
Which version fixes CVE-2024-27281?
6.3.4.1, 6.4.1.1, 6.5.1.1 and 6.6.3.1, per the GitHub advisory GHSA-592j-995h-p23j. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-27281?
Medium (4.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2024-27281?
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.