UBUNTU-CVE-2026-103118 (CVE-2026-103118)
Vulnerability from osv_ubuntu – Published: 2026-10-02 00:00 – Updated: 2026-10-02 00:00 – Source websiteA vulnerability was detected in GraphicsMagick up to 1.3.47. Affected by this vulnerability is the function ExtractPostscript of the file coders/wpg.c of the component WPG File Handler. Performing a manipulation results in uncontrolled recursion. The attack may be initiated remotely. The patch is named 627b5b1b2fc2. It is suggested to install a patch to address this issue. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "graphicsmagick",
"binary_version": "1.3.18-1ubuntu3.1+esm8"
},
{
"binary_name": "graphicsmagick-imagemagick-compat",
"binary_version": "1.3.18-1ubuntu3.1+esm8"
},
{
"binary_name": "graphicsmagick-libmagick-dev-compat",
"binary_version": "1.3.18-1ubuntu3.1+esm8"
},
{
"binary_name": "libgraphics-magick-perl",
"binary_version": "1.3.18-1ubuntu3.1+esm8"
},
{
"binary_name": "libgraphicsmagick++3",
"binary_version": "1.3.18-1ubuntu3.1+esm8"
},
{
"binary_name": "libgraphicsmagick3",
"binary_version": "1.3.18-1ubuntu3.1+esm8"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "graphicsmagick",
"purl": "pkg:deb/ubuntu/graphicsmagick@1.3.18-1ubuntu3.1+esm8?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.3.16-1.1ubuntu2",
"1.3.16-1.1ubuntu3",
"1.3.18-1ubuntu3",
"1.3.18-1ubuntu3.1",
"1.3.18-1ubuntu3.1+esm1",
"1.3.18-1ubuntu3.1+esm2",
"1.3.18-1ubuntu3.1+esm3",
"1.3.18-1ubuntu3.1+esm4",
"1.3.18-1ubuntu3.1+esm5",
"1.3.18-1ubuntu3.1+esm6",
"1.3.18-1ubuntu3.1+esm7",
"1.3.18-1ubuntu3.1+esm8"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "graphicsmagick",
"binary_version": "1.3.23-1ubuntu0.6+esm2"
},
{
"binary_name": "graphicsmagick-imagemagick-compat",
"binary_version": "1.3.23-1ubuntu0.6+esm2"
},
{
"binary_name": "graphicsmagick-libmagick-dev-compat",
"binary_version": "1.3.23-1ubuntu0.6+esm2"
},
{
"binary_name": "libgraphics-magick-perl",
"binary_version": "1.3.23-1ubuntu0.6+esm2"
},
{
"binary_name": "libgraphicsmagick++-q16-12",
"binary_version": "1.3.23-1ubuntu0.6+esm2"
},
{
"binary_name": "libgraphicsmagick-q16-3",
"binary_version": "1.3.23-1ubuntu0.6+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "graphicsmagick",
"purl": "pkg:deb/ubuntu/graphicsmagick@1.3.23-1ubuntu0.6+esm2?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.3.21-3",
"1.3.23-1",
"1.3.23-1build1",
"1.3.23-1ubuntu0.1",
"1.3.23-1ubuntu0.1+esm1",
"1.3.23-1ubuntu0.2",
"1.3.23-1ubuntu0.3",
"1.3.23-1ubuntu0.4",
"1.3.23-1ubuntu0.5",
"1.3.23-1ubuntu0.6",
"1.3.23-1ubuntu0.6+esm1",
"1.3.23-1ubuntu0.6+esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "graphicsmagick",
"binary_version": "1.3.28-2ubuntu0.2+esm1"
},
{
"binary_name": "graphicsmagick-imagemagick-compat",
"binary_version": "1.3.28-2ubuntu0.2+esm1"
},
{
"binary_name": "graphicsmagick-libmagick-dev-compat",
"binary_version": "1.3.28-2ubuntu0.2+esm1"
},
{
"binary_name": "libgraphics-magick-perl",
"binary_version": "1.3.28-2ubuntu0.2+esm1"
},
{
"binary_name": "libgraphicsmagick++-q16-12",
"binary_version": "1.3.28-2ubuntu0.2+esm1"
},
{
"binary_name": "libgraphicsmagick-q16-3",
"binary_version": "1.3.28-2ubuntu0.2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "graphicsmagick",
"purl": "pkg:deb/ubuntu/graphicsmagick@1.3.28-2ubuntu0.2+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.3.26-15",
"1.3.26-16",
"1.3.26-19",
"1.3.27-1",
"1.3.27-2",
"1.3.27-3",
"1.3.28-1",
"1.3.28-2",
"1.3.28-2ubuntu0.1",
"1.3.28-2ubuntu0.1+esm1",
"1.3.28-2ubuntu0.2",
"1.3.28-2ubuntu0.2+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "graphicsmagick",
"binary_version": "1.4+really1.3.35-1ubuntu0.1"
},
{
"binary_name": "graphicsmagick-imagemagick-compat",
"binary_version": "1.4+really1.3.35-1ubuntu0.1"
},
{
"binary_name": "graphicsmagick-libmagick-dev-compat",
"binary_version": "1.4+really1.3.35-1ubuntu0.1"
},
{
"binary_name": "libgraphics-magick-perl",
"binary_version": "1.4+really1.3.35-1ubuntu0.1"
},
{
"binary_name": "libgraphicsmagick++-q16-12",
"binary_version": "1.4+really1.3.35-1ubuntu0.1"
},
{
"binary_name": "libgraphicsmagick-q16-3",
"binary_version": "1.4+really1.3.35-1ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "graphicsmagick",
"purl": "pkg:deb/ubuntu/graphicsmagick@1.4+really1.3.35-1ubuntu0.1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.4+really1.3.33+hg16115-1",
"1.4+really1.3.33+hg16115-1build1",
"1.4+really1.3.33+hg16117-1",
"1.4+really1.3.34-1",
"1.4+really1.3.34-2",
"1.4+really1.3.34+hg16181-1",
"1.4+really1.3.35-1",
"1.4+really1.3.35-1ubuntu0.1~esm1",
"1.4+really1.3.35-1ubuntu0.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "graphicsmagick",
"binary_version": "1.4+really1.3.38-1ubuntu0.1+esm1"
},
{
"binary_name": "graphicsmagick-imagemagick-compat",
"binary_version": "1.4+really1.3.38-1ubuntu0.1+esm1"
},
{
"binary_name": "graphicsmagick-libmagick-dev-compat",
"binary_version": "1.4+really1.3.38-1ubuntu0.1+esm1"
},
{
"binary_name": "libgraphics-magick-perl",
"binary_version": "1.4+really1.3.38-1ubuntu0.1+esm1"
},
{
"binary_name": "libgraphicsmagick++-q16-12",
"binary_version": "1.4+really1.3.38-1ubuntu0.1+esm1"
},
{
"binary_name": "libgraphicsmagick-q16-3",
"binary_version": "1.4+really1.3.38-1ubuntu0.1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "graphicsmagick",
"purl": "pkg:deb/ubuntu/graphicsmagick@1.4+really1.3.38-1ubuntu0.1+esm1?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.4+really1.3.36+hg16481-2",
"1.4+really1.3.37-1",
"1.4+really1.3.37-1build1",
"1.4+really1.3.37+hg16662-1ubuntu1",
"1.4+really1.3.38-1",
"1.4+really1.3.38-1ubuntu0.1",
"1.4+really1.3.38-1ubuntu0.1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "graphicsmagick",
"binary_version": "1.4+really1.3.42-1.1ubuntu0.1~esm1"
},
{
"binary_name": "graphicsmagick-imagemagick-compat",
"binary_version": "1.4+really1.3.42-1.1ubuntu0.1~esm1"
},
{
"binary_name": "graphicsmagick-libmagick-dev-compat",
"binary_version": "1.4+really1.3.42-1.1ubuntu0.1~esm1"
},
{
"binary_name": "libgraphics-magick-perl",
"binary_version": "1.4+really1.3.42-1.1ubuntu0.1~esm1"
},
{
"binary_name": "libgraphicsmagick++-q16-12t64",
"binary_version": "1.4+really1.3.42-1.1ubuntu0.1~esm1"
},
{
"binary_name": "libgraphicsmagick-q16-3t64",
"binary_version": "1.4+really1.3.42-1.1ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:24.04:LTS",
"name": "graphicsmagick",
"purl": "pkg:deb/ubuntu/graphicsmagick@1.4+really1.3.42-1.1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.4+really1.3.42-1",
"1.4+really1.3.42-1build1",
"1.4+really1.3.42-1.1build1",
"1.4+really1.3.42-1.1build2",
"1.4+really1.3.42-1.1build3",
"1.4+really1.3.42-1.1ubuntu0.1~esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "graphicsmagick",
"binary_version": "1.4+really1.3.46-2"
},
{
"binary_name": "libgraphics-magick-perl",
"binary_version": "1.4+really1.3.46-2"
},
{
"binary_name": "libgraphicsmagick++-q16-12t64",
"binary_version": "1.4+really1.3.46-2"
},
{
"binary_name": "libgraphicsmagick-q16-3t64",
"binary_version": "1.4+really1.3.46-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "graphicsmagick",
"purl": "pkg:deb/ubuntu/graphicsmagick@1.4+really1.3.46-2?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.4+really1.3.45+hg17696-1build1",
"1.4+really1.3.46-2"
]
}
],
"aliases": [],
"details": "A vulnerability was detected in GraphicsMagick up to 1.3.47. Affected by this vulnerability is the function ExtractPostscript of the file coders/wpg.c of the component WPG File Handler. Performing a manipulation results in uncontrolled recursion. The attack may be initiated remotely. The patch is named 627b5b1b2fc2. It is suggested to install a patch to address this issue. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.",
"id": "UBUNTU-CVE-2026-103118",
"modified": "2026-10-02T00:00:00Z",
"published": "2026-10-02T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-103118"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-103118"
},
{
"type": "REPORT",
"url": "https://foss.heptapod.net/graphicsmagick/graphicsmagick/-/commit/627b5b1b2fc2873550fde7777c9796ad001f89cc"
},
{
"type": "REPORT",
"url": "https://foss.heptapod.net/graphicsmagick/graphicsmagick/-/commit/627b5b1b2fc2"
},
{
"type": "REPORT",
"url": "https://vuldb.com/cve/CVE-2026-103118"
},
{
"type": "REPORT",
"url": "https://vuldb.com/submit/954970"
},
{
"type": "REPORT",
"url": "https://vuldb.com/vuln/411874"
},
{
"type": "REPORT",
"url": "https://vuldb.com/vuln/411874/cti"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-103118"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.