CVE-2021-3342: EPrints 3.4.2 allows remote attackers to read arbitrary files and possibly execute commands via crafted LaTeX
CVE-2021-3342 is a critical-severity flaw (CVSS 9.8) affecting eprints. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 9%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 4.2% (top 9%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2021-03-01 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-3342?
eprints: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-3342 being exploited?
CVE-2021-3342 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-3342 affect?
CVE-2021-3342 affects eprints. Severity is critical (CVSS 9.8). 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.
How urgent is CVE-2021-3342?
Priority 67/100. Critical severity; EPSS top 9%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2021-26704 HIGH 8.8 DOWNGRADE EPrints 3.4.2 allows remote attackers to execute arbitrary commands via crafted input to the verb parameter in
- CVE-2021-26703 CRITICAL 9.8 DOWNGRADE EPrints 3.4.2 allows remote attackers to read arbitrary files and possibly execute commands via crafted JSON/X
- CVE-2021-26702 MEDIUM 6.1 DOWNGRADE EPrints 3.4.2 exposes a reflected XSS opportunity in the dataset parameter to the cgi/dataset_dictionary URI.
- CVE-2021-26476 CRITICAL 9.8 DOWNGRADE EPrints 3.4.2 allows remote attackers to execute OS commands via crafted LaTeX input to a cgi/cal?year= URI.
- CVE-2021-26475 MEDIUM 6.1 DOWNGRADE EPrints 3.4.2 exposes a reflected XSS opportunity in the via a cgi/cal URI.