# CVE-2021-3342: EPrints 3.4.2 allows remote attackers to read arbitrary files and possibly execute commands via crafted LaTeX input to a cgi/latex2png?late…

- 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): 4.23%, higher than 91% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-03-01T21:01:57.000Z
- Modified: 2026-06-17T04:04:58.287Z
- Weaknesses: CWE-78
- Assigned by: mitre

## Description

EPrints 3.4.2 allows remote attackers to read arbitrary files and possibly execute commands via crafted LaTeX input to a cgi/latex2png?latex= URI.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- eprints eprints: 3.4.2

## Every score

- 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 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/grymer/CVE/blob/master/eprints_security_review.pdf> (exploit, patch, third-party-advisory)
- <https://files.eprints.org/2549/> (patch, vendor-advisory)
- <https://files.eprints.org/2548/> (patch, vendor-advisory)

## Sources

- CVE List: [CVE-2021-3342](https://www.cve.org/CVERecord?id=CVE-2021-3342), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3342](https://nvd.nist.gov/vuln/detail/CVE-2021-3342), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3342 · Whole record: https://cve.day/CVE-2021-3342.json · Rebuilt by cve.day 2026-11-25T22:58:00.106Z
