Medium
Security advisory
In Artifex MuPDF 1.12.0, there is a heap-based buffer overflow vulnerability in the do_pdf_save_document function in the pdf/pdf-write.c file. Remote attackers could leverage the 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-6187
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:36 UTC · Revision 1
Source evidence
In Artifex MuPDF 1.12.0, there is a heap-based buffer overflow vulnerability in the do_pdf_save_document function in the pdf/pdf-write.c file. Remote attackers could leverage the vulnerability to cause a denial of service via a crafted pdf file.
osv:CVE-2018-6187
Complete source record
{
"id": "52771a13eaae58ef4067d28bd36c638940edbad0a5759f94bfe3ac155202a9f3",
"url": "https://osv.dev/vulnerability/CVE-2018-6187",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-6187",
"summary": "In Artifex MuPDF 1.12.0, there is a heap-based buffer overflow vulnerability in the do_pdf_save_document function in the pdf/pdf-write.c file. Remote attackers could leverage the vulnerability to cause a denial of service via a crafted pdf file.",
"evidence": "osv:CVE-2018-6187",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2018-6187",
"aliases": [
"CVE-2018-6187"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/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"
},
{
"last_affected": "1.12.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.12.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6187.json"
}
}
],
"modified": "2026-10-24T10:30:20.829229036Z",
"provider": "osv",
"references": [
"https://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=3e30fbb7bf5efd88df431e366492356e7eb969ec",
"https://security.gentoo.org/glsa/201811-15",
"https://www.debian.org/security/2018/dsa-4334",
"https://bugs.ghostscript.com/show_bug.cgi?id=698908"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-6187",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 430349,
"published_at": "2018-01-24T10:29:01.097+00:00"
}