# CVE-2019-10780: BibTeX-Ruby vulnerable to OS command injection

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 2.81%, higher than 86% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-01-22T13:30:47.000Z
- Modified: 2026-09-10T03:48:27.654Z
- Also known as: GHSA-c5r5-7pfh-6qg6, SNYK-RUBY-BIBTEXRUBY-542602
- Weaknesses: CWE-78
- Assigned by: snyk

## Description

BibTeX-ruby before 5.1.0 allows shell command injection due to unsanitized user input being passed directly to the built-in Ruby Kernel.open method through BibTeX.open.

(As written by CVE List.)

## Affected

- BibTeX-ruby: All versions prior to version 5.1.0
- bibtex-ruby (RubyGems): before 5.1.0
- bibtex-ruby_project bibtex-ruby: before 5.1.0

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 10.0 High `AV:N/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://snyk.io/vuln/SNYK-RUBY-BIBTEXRUBY-542602> (exploit, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-10780> (advisory)
- <https://github.com/inukshuk/bibtex-ruby/commit/14406f4460f4e1ecabd25ca94f809b3ea7c5fb11> (web)
- <https://github.com/advisories/GHSA-c5r5-7pfh-6qg6> (advisory)
- <https://github.com/inukshuk/bibtex-ruby> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bibtex-ruby/CVE-2019-10780.yml> (web)

## Sources

- CVE List: [CVE-2019-10780](https://www.cve.org/CVERecord?id=CVE-2019-10780), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-c5r5-7pfh-6qg6](https://github.com/advisories/GHSA-c5r5-7pfh-6qg6), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2019-10780](https://nvd.nist.gov/vuln/detail/CVE-2019-10780), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-10780 · Whole record: https://cve.day/CVE-2019-10780.json · Rebuilt by cve.day 2026-11-25T22:57:49.291Z
