Medium
Security advisory
In MuPDF 1.12.0, there is an infinite loop vulnerability and application hang in the pdf_parse_array function (pdf/pdf-parse.c) because EOF is not considered. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted pdf file.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-5686
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:38 UTC · Revision 1
Source evidence
In MuPDF 1.12.0, there is an infinite loop vulnerability and application hang in the pdf_parse_array function (pdf/pdf-parse.c) because EOF is not considered. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted pdf file.
osv:CVE-2018-5686
Complete source record
{
"id": "573842ae926d1654fad14a45d81e3db18b56b155531fa883abed43554392e1af",
"url": "https://osv.dev/vulnerability/CVE-2018-5686",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-5686",
"summary": "In MuPDF 1.12.0, there is an infinite loop vulnerability and application hang in the pdf_parse_array function (pdf/pdf-parse.c) because EOF is not considered. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted pdf file.",
"evidence": "osv:CVE-2018-5686",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2018-5686",
"aliases": [
"CVE-2018-5686"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/artifexsoftware/mupdf",
"type": "GIT",
"events": [
{
"introduced": "26006b55f02c8d0a4a90ffedb45f724798052ef2"
},
{
"last_affected": "26006b55f02c8d0a4a90ffedb45f724798052ef2"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:artifex:mupdf:1.12.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "1.12.0-NA"
},
{
"last_affected": "1.12.0-NA"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.12.0-NA",
"1.12.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-5686.json"
}
}
],
"modified": "2026-10-24T10:30:42.503944366Z",
"provider": "osv",
"references": [
"https://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=b70eb93f6936c03d8af52040bbca4d4a7db39079",
"https://lists.debian.org/debian-lts-announce/2019/06/msg00027.html",
"https://security.gentoo.org/glsa/201811-15",
"https://www.debian.org/security/2018/dsa-4334",
"https://bugs.ghostscript.com/show_bug.cgi?id=698860"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
},
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-5686",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 435398,
"published_at": "2018-01-14T02:29:05.213+00:00"
}