# CVE-2022-4891: Sisimai string.rb to_plain redos

- Severity: Low 3.5 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.44%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-01-17T19:58:03.654Z
- Modified: 2026-06-17T05:22:07.933Z
- Also known as: GHSA-vm74-j4wq-82xj
- Weaknesses: CWE-1333
- Assigned by: VulDB

## Description

A vulnerability has been found in Sisimai up to 4.25.14p11 and classified as problematic. This vulnerability affects the function to_plain of the file lib/sisimai/string.rb. The manipulation leads to inefficient regular expression complexity. The exploit has been disclosed to the public and may be used. Upgrading to version 4.25.14p12 is able to address this issue. The name of the patch is 51fe2e6521c9c02b421b383943dc9e4bbbe65d4e. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-218452.

(As written by CVE List.)

## Affected

- Sisimai: 4.25.14p11
- sisimai (RubyGems): before 4.25.14p12
- libsisimai sisimai: before 4.25.14; 4.25.14

## Every score

- VulDB: CVSS:3.1 3.5 Low `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- VulDB: CVSS:3.0 3.5 Low `CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- VulDB: CVSS:2.0 2.7 Low `AV:A/AC:L/Au:S/C:N/I:N/A:P`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/sisimai/rb-sisimai/pull/244> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://gist.githubusercontent.com/gmcabrita/e5dc0332473fc2e3a7a407434c8d21c7/raw/00b12035e5e1b685469f143b94301a50306376ba/example.html> (exploit, third-party-advisory, web)
- <https://vuldb.com/?id.218452> (permissions-required, technical-description, third-party-advisory, vdb-entry, web)
- <https://vuldb.com/?ctiid.218452> (permissions-required, signature, third-party-advisory, web)
- <https://github.com/sisimai/rb-sisimai/commit/51fe2e6521c9c02b421b383943dc9e4bbbe65d4e> (patch, third-party-advisory, web)
- <https://github.com/sisimai/rb-sisimai/releases/tag/v4.25.14p12> (patch, release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-4891> (advisory)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sisimai/CVE-2022-4891.yml> (web)
- <https://github.com/sisimai/rb-sisimai> (package)

## Sources

- CVE List: [CVE-2022-4891](https://www.cve.org/CVERecord?id=CVE-2022-4891), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-vm74-j4wq-82xj](https://github.com/advisories/GHSA-vm74-j4wq-82xj), CC-BY-4.0, modified 2026-02-22
- NVD: [CVE-2022-4891](https://nvd.nist.gov/vuln/detail/CVE-2022-4891), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-4891 · Whole record: https://cve.day/CVE-2022-4891.json · Rebuilt by cve.day 2026-11-25T22:58:18.229Z
