Skip to content
Heist/ feed
Back to feed
High

mupdf — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-3308

An integer overflow vulnerability in 'pdf-image.c' in Artifex's MuPDF version 1.27.0 allows an attacker to maliciously craft a PDF that can trigger an integer overflow within the 'pdf_load_image_imp' function. This allows a heap out-of-bounds write that could be exploited for arbitrary code execution.

Products
mupdf
Affected versions
1.11+ds1-1.1, 1.11+ds1-2, 1.12.0+ds1-1, 1.12.0+ds1-1ubuntu0.1~esm1, 1.12.0+ds1-1ubuntu0.1~esm2, 1.15.0+ds1-1, 1.16.1+ds1-1ubuntu1, 1.16.1+ds1-1ubuntu1+esm1, 1.16.1+ds1-1ubuntu1+esm2, 1.17.0+ds1-2, 1.19.0+ds1-1, 1.19.0+ds1-1build1, 1.19.0+ds1-2, 1.19.0+ds1-2ubuntu0.1~esm1, 1.22.2+ds1-2, 1.22.2+ds1-2build1, 1.23.10+ds1-1, 1.23.10+ds1-1build1, 1.23.10+ds1-1build2, 1.23.10+ds1-1build3, 1.23.10+ds1-1ubuntu0.1~esm1, 1.23.6+ds1-1, 1.23.7+ds1-1, 1.25.1+ds1-5build2, 1.25.1+ds1-6, 1.25.1+ds1-7, 1.25.1+ds1-7build1, 1.25.1+ds1-7build2, 1.27.0+ds1-2ubuntu1, 1.27.0+ds1-3ubuntu1, 1.27.0+ds1-3ubuntu2, 1.27.0+ds1-3ubuntu3, 1.7-1, 1.7a-1, 1.7a-1ubuntu0.1~esm1
Fixed versions
Not specified
CVEs
CVE-2026-3308
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:59 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-3308

core-osv · Original source

Published 31 Mar 2026, 14:16 UTC

An integer overflow vulnerability in 'pdf-image.c' in Artifex's MuPDF version 1.27.0 allows an attacker to maliciously craft a PDF that can trigger an integer overflow within the 'pdf_load_image_imp' function. This allows a heap out-of-bounds write that could be exploited for arbitrary code execution.

osv:UBUNTU-CVE-2026-3308

mupdf

Fixed versions: Not specified

mupdf

Fixed versions: Not specified

mupdf

Fixed versions: Not specified

mupdf

Fixed versions: Not specified

mupdf

Fixed versions: Not specified

mupdf

Fixed versions: Not specified

mupdf

Fixed versions: Not specified

mupdf

Fixed versions: Not specified

Complete source record
{
  "id": "8b7231f2b6c0b9f091187e146151caa9298e3ca4ce340fc7337360a0f3a52477",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-3308",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-3308",
    "summary": "An integer overflow vulnerability in 'pdf-image.c' in Artifex's MuPDF version 1.27.0 allows an attacker to maliciously craft a PDF that can trigger an integer overflow within the 'pdf_load_image_imp' function. This allows a heap out-of-bounds write that could be exploited for arbitrary code execution.",
    "evidence": "osv:UBUNTU-CVE-2026-3308",
    "products": [
      {
        "name": {
          "value": "mupdf",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.7-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.7a-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.7a-1ubuntu0.1~esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mupdf",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.11+ds1-1.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.11+ds1-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.12.0+ds1-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.12.0+ds1-1ubuntu0.1~esm1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.12.0+ds1-1ubuntu0.1~esm2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mupdf",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.15.0+ds1-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.16.1+ds1-1ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.16.1+ds1-1ubuntu1+esm1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.16.1+ds1-1ubuntu1+esm2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mupdf",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.17.0+ds1-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.19.0+ds1-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.19.0+ds1-1build1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.19.0+ds1-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.19.0+ds1-2ubuntu0.1~esm1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mupdf",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.22.2+ds1-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.22.2+ds1-2build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.23.6+ds1-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.23.7+ds1-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.23.10+ds1-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.23.10+ds1-1build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.23.10+ds1-1build2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.23.10+ds1-1build3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.23.10+ds1-1ubuntu0.1~esm1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mupdf",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.25.1+ds1-5build2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.25.1+ds1-6",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.25.1+ds1-7",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mupdf",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.27.0+ds1-3ubuntu2",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.27.0+ds1-3ubuntu3",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mupdf",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.25.1+ds1-7",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.25.1+ds1-7build1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.25.1+ds1-7build2",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.27.0+ds1-2ubuntu1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.27.0+ds1-3ubuntu1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.27.0+ds1-3ubuntu2",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-3308",
      "aliases": [
        "UBUNTU-CVE-2026-3308"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mupdf",
            "purl": "pkg:deb/ubuntu/mupdf?arch=source&distro=esm-apps%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "1.7-1",
            "1.7a-1",
            "1.7a-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-3308.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "mupdf",
                "binary_version": "1.7a-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "mupdf-tools",
                "binary_version": "1.7a-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mupdf",
            "purl": "pkg:deb/ubuntu/mupdf?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "1.11+ds1-1.1",
            "1.11+ds1-2",
            "1.12.0+ds1-1",
            "1.12.0+ds1-1ubuntu0.1~esm1",
            "1.12.0+ds1-1ubuntu0.1~esm2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-3308.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "mupdf",
                "binary_version": "1.12.0+ds1-1ubuntu0.1~esm2"
              },
              {
                "binary_name": "mupdf-tools",
                "binary_version": "1.12.0+ds1-1ubuntu0.1~esm2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mupdf",
            "purl": "pkg:deb/ubuntu/mupdf?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "1.15.0+ds1-1",
            "1.16.1+ds1-1ubuntu1",
            "1.16.1+ds1-1ubuntu1+esm1",
            "1.16.1+ds1-1ubuntu1+esm2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-3308.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "mupdf",
                "binary_version": "1.16.1+ds1-1ubuntu1+esm2"
              },
              {
                "binary_name": "mupdf-tools",
                "binary_version": "1.16.1+ds1-1ubuntu1+esm2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mupdf",
            "purl": "pkg:deb/ubuntu/mupdf?arch=source&distro=esm-apps%2Fjammy",
            "ecosystem": "Ubuntu:Pro:22.04:LTS"
          },
          "versions": [
            "1.17.0+ds1-2",
            "1.19.0+ds1-1",
            "1.19.0+ds1-1build1",
            "1.19.0+ds1-2",
            "1.19.0+ds1-2ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-3308.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "mupdf",
                "binary_version": "1.19.0+ds1-2ubuntu0.1~esm1"
              },
              {
                "binary_name": "mupdf-tools",
                "binary_version": "1.19.0+ds1-2ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mupdf",
            "purl": "pkg:deb/ubuntu/mupdf?arch=source&distro=esm-apps%2Fnoble",
            "ecosystem": "Ubuntu:Pro:24.04:LTS"
          },
          "versions": [
            "1.22.2+ds1-2",
            "1.22.2+ds1-2build1",
            "1.23.6+ds1-1",
            "1.23.7+ds1-1",
            "1.23.10+ds1-1",
            "1.23.10+ds1-1build1",
            "1.23.10+ds1-1build2",
            "1.23.10+ds1-1build3",
            "1.23.10+ds1-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-3308.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "mupdf",
                "binary_version": "1.23.10+ds1-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "mupdf-tools",
                "binary_version": "1.23.10+ds1-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mupdf",
            "purl": "pkg:deb/ubuntu/mupdf?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.25.1+ds1-5build2",
            "1.25.1+ds1-6",
            "1.25.1+ds1-7"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-3308.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libmupdf25.1",
                "binary_version": "1.25.1+ds1-7"
              },
              {
                "binary_name": "mupdf",
                "binary_version": "1.25.1+ds1-7"
              },
              {
                "binary_name": "mupdf-tools",
                "binary_version": "1.25.1+ds1-7"
              },
              {
                "binary_name": "python3-mupdf",
                "binary_version": "1.25.1+ds1-7"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mupdf",
            "purl": "pkg:deb/ubuntu/mupdf?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.27.0+ds1-3ubuntu2",
            "1.27.0+ds1-3ubuntu3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-3308.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libmupdf27.0",
                "binary_version": "1.27.0+ds1-3ubuntu3"
              },
              {
                "binary_name": "mupdf",
                "binary_version": "1.27.0+ds1-3ubuntu3"
              },
              {
                "binary_name": "mupdf-tools",
                "binary_version": "1.27.0+ds1-3ubuntu3"
              },
              {
                "binary_name": "python3-mupdf",
                "binary_version": "1.27.0+ds1-3ubuntu3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mupdf",
            "purl": "pkg:deb/ubuntu/mupdf?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.25.1+ds1-7",
            "1.25.1+ds1-7build1",
            "1.25.1+ds1-7build2",
            "1.27.0+ds1-2ubuntu1",
            "1.27.0+ds1-3ubuntu1",
            "1.27.0+ds1-3ubuntu2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-3308.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libmupdf27.0",
                "binary_version": "1.27.0+ds1-3ubuntu2"
              },
              {
                "binary_name": "mupdf",
                "binary_version": "1.27.0+ds1-3ubuntu2"
              },
              {
                "binary_name": "mupdf-tools",
                "binary_version": "1.27.0+ds1-3ubuntu2"
              },
              {
                "binary_name": "python3-mupdf",
                "binary_version": "1.27.0+ds1-3ubuntu2"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:59:59.478717180Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-3308"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-3308",
        "https://www.cve.org/CVERecord?id=CVE-2026-3308",
        "https://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=a26f0142e7d390d4a82c6e5ae0e312e07cc4ec85",
        "https://github.com/ArtifexSoftware/mupdf",
        "https://github.com/ArtifexSoftware/mupdf/commit/a26f0142e7d390d4a82c6e5ae0e312e07cc4ec85"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-3308",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 360072,
  "published_at": "2026-03-31T14:16:00+00:00"
}