CVE-2014-2013
Description
Stack-based buffer overflow in the xps_parse_color function in xps/xps-common.c in MuPDF 1.3 and earlier allows remote attackers to execute arbitrary code via a large number of entries in the ContextColor value of the Fill attribute in a Path element.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
MuPDF 1.3 - 'xps_parse_color()' Stack Buffer Overflow
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1.3-2 |
| sid | Fixed | 1.3-2 |
| forky | Fixed | 1.3-2 |
| bullseye | Fixed | 1.3-2 |
| bookworm | Fixed | 1.3-2 |
References
- http://bugs.ghostscript.com/show_bug.cgi?id=694957
- http://git.ghostscript.com/?p=mupdf.git%3Ba=commitdiff%3Bh=60dabde18d7fe12b19da8b509bdfee9cc886aafc
- http://lists.opensuse.org/opensuse-updates/2014-02/msg00088.html
- http://seclists.org/fulldisclosure/2014/Jan/130
- http://seclists.org/oss-sec/2014/q1/375
- http://secunia.com/advisories/58904
- http://www.debian.org/security/2014/dsa-2951
- http://www.exploit-db.com/exploits/31090
- http://www.hdwsec.fr/blog/mupdf.html
- http://www.osvdb.org/102340
- http://www.securityfocus.com/bid/65036
- https://security-tracker.debian.org/tracker/CVE-2014-2013
CWEs
CWE-119
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.