ubuntu-cve-2025-53367
Vulnerability from osv_ubuntu
Published
2025-07-04 00:00
Modified
2026-04-22 07:56
Summary
Details

DjVuLibre is a GPL implementation of DjVu, a web-centric format for distributing documents and images. Prior to version 3.5.29, the MMRDecoder::scanruns method is affected by an OOB-write vulnerability, because it does not check that the xr pointer stays within the bounds of the allocated buffer. This can lead to writes beyond the allocated memory, resulting in a heap corruption condition. An out-of-bounds read with pr is also possible for the same reason. This issue has been patched in version 3.5.29.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "djview",
            "binary_version": "3.5.27.1-5ubuntu0.1+esm3"
          },
          {
            "binary_name": "djview3",
            "binary_version": "3.5.27.1-5ubuntu0.1+esm3"
          },
          {
            "binary_name": "djvulibre-bin",
            "binary_version": "3.5.27.1-5ubuntu0.1+esm3"
          },
          {
            "binary_name": "djvulibre-desktop",
            "binary_version": "3.5.27.1-5ubuntu0.1+esm3"
          },
          {
            "binary_name": "djvuserve",
            "binary_version": "3.5.27.1-5ubuntu0.1+esm3"
          },
          {
            "binary_name": "libdjvulibre-text",
            "binary_version": "3.5.27.1-5ubuntu0.1+esm3"
          },
          {
            "binary_name": "libdjvulibre21",
            "binary_version": "3.5.27.1-5ubuntu0.1+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "djvulibre",
        "purl": "pkg:deb/ubuntu/djvulibre@3.5.27.1-5ubuntu0.1+esm3?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.5.27.1-5ubuntu0.1+esm3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.5.27.1-3",
        "3.5.27.1-4",
        "3.5.27.1-5",
        "3.5.27.1-5ubuntu0.1",
        "3.5.27.1-5ubuntu0.1+esm1",
        "3.5.27.1-5ubuntu0.1+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "djview",
            "binary_version": "3.5.27.1-8ubuntu0.4+esm1"
          },
          {
            "binary_name": "djview3",
            "binary_version": "3.5.27.1-8ubuntu0.4+esm1"
          },
          {
            "binary_name": "djvulibre-bin",
            "binary_version": "3.5.27.1-8ubuntu0.4+esm1"
          },
          {
            "binary_name": "djvulibre-desktop",
            "binary_version": "3.5.27.1-8ubuntu0.4+esm1"
          },
          {
            "binary_name": "djvuserve",
            "binary_version": "3.5.27.1-8ubuntu0.4+esm1"
          },
          {
            "binary_name": "libdjvulibre-text",
            "binary_version": "3.5.27.1-8ubuntu0.4+esm1"
          },
          {
            "binary_name": "libdjvulibre21",
            "binary_version": "3.5.27.1-8ubuntu0.4+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "djvulibre",
        "purl": "pkg:deb/ubuntu/djvulibre@3.5.27.1-8ubuntu0.4+esm1?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.5.27.1-8ubuntu0.4+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.5.27.1-7",
        "3.5.27.1-8",
        "3.5.27.1-8ubuntu0.1",
        "3.5.27.1-8ubuntu0.2",
        "3.5.27.1-8ubuntu0.3",
        "3.5.27.1-8ubuntu0.4"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "djview",
            "binary_version": "3.5.27.1-14ubuntu0.1+esm1"
          },
          {
            "binary_name": "djview3",
            "binary_version": "3.5.27.1-14ubuntu0.1+esm1"
          },
          {
            "binary_name": "djvulibre-bin",
            "binary_version": "3.5.27.1-14ubuntu0.1+esm1"
          },
          {
            "binary_name": "djvulibre-desktop",
            "binary_version": "3.5.27.1-14ubuntu0.1+esm1"
          },
          {
            "binary_name": "djvuserve",
            "binary_version": "3.5.27.1-14ubuntu0.1+esm1"
          },
          {
            "binary_name": "libdjvulibre-text",
            "binary_version": "3.5.27.1-14ubuntu0.1+esm1"
          },
          {
            "binary_name": "libdjvulibre21",
            "binary_version": "3.5.27.1-14ubuntu0.1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "djvulibre",
        "purl": "pkg:deb/ubuntu/djvulibre@3.5.27.1-14ubuntu0.1+esm1?arch=source\u0026distro=esm-infra/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.5.27.1-14ubuntu0.1+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.5.27.1-13",
        "3.5.27.1-13ubuntu1",
        "3.5.27.1-14",
        "3.5.27.1-14build1",
        "3.5.27.1-14ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "djview",
            "binary_version": "3.5.28-2ubuntu0.22.04.1"
          },
          {
            "binary_name": "djview3",
            "binary_version": "3.5.28-2ubuntu0.22.04.1"
          },
          {
            "binary_name": "djvulibre-bin",
            "binary_version": "3.5.28-2ubuntu0.22.04.1"
          },
          {
            "binary_name": "djvulibre-desktop",
            "binary_version": "3.5.28-2ubuntu0.22.04.1"
          },
          {
            "binary_name": "djvuserve",
            "binary_version": "3.5.28-2ubuntu0.22.04.1"
          },
          {
            "binary_name": "libdjvulibre-text",
            "binary_version": "3.5.28-2ubuntu0.22.04.1"
          },
          {
            "binary_name": "libdjvulibre21",
            "binary_version": "3.5.28-2ubuntu0.22.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "djvulibre",
        "purl": "pkg:deb/ubuntu/djvulibre@3.5.28-2ubuntu0.22.04.1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.5.28-2ubuntu0.22.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.5.28-2build1",
        "3.5.28-2build2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "djview",
            "binary_version": "3.5.28-2ubuntu0.24.04.1"
          },
          {
            "binary_name": "djview3",
            "binary_version": "3.5.28-2ubuntu0.24.04.1"
          },
          {
            "binary_name": "djvulibre-bin",
            "binary_version": "3.5.28-2ubuntu0.24.04.1"
          },
          {
            "binary_name": "djvulibre-desktop",
            "binary_version": "3.5.28-2ubuntu0.24.04.1"
          },
          {
            "binary_name": "djvuserve",
            "binary_version": "3.5.28-2ubuntu0.24.04.1"
          },
          {
            "binary_name": "libdjvulibre-text",
            "binary_version": "3.5.28-2ubuntu0.24.04.1"
          },
          {
            "binary_name": "libdjvulibre21",
            "binary_version": "3.5.28-2ubuntu0.24.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "djvulibre",
        "purl": "pkg:deb/ubuntu/djvulibre@3.5.28-2ubuntu0.24.04.1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.5.28-2ubuntu0.24.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.5.28-2build3",
        "3.5.28-2build4"
      ]
    }
  ],
  "aliases": [],
  "details": "DjVuLibre is a GPL implementation of DjVu, a web-centric format for distributing documents and images. Prior to version 3.5.29, the MMRDecoder::scanruns method is affected by an OOB-write vulnerability, because it does not check that the xr pointer stays within the bounds of the allocated buffer. This can lead to writes beyond the allocated memory, resulting in a heap corruption condition. An out-of-bounds read with pr is also possible for the same reason. This issue has been patched in version 3.5.29.",
  "id": "UBUNTU-CVE-2025-53367",
  "modified": "2026-04-22T07:56:55Z",
  "published": "2025-07-04T00:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-53367"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-53367"
    },
    {
      "type": "REPORT",
      "url": "https://github.blog/security/vulnerability-research/cve-2025-53367-an-exploitable-out-of-bounds-write-in-djvulibre"
    },
    {
      "type": "REPORT",
      "url": "https://securitylab.github.com/advisories/GHSL-2025-055_DjVuLibre/"
    },
    {
      "type": "REPORT",
      "url": "https://www.openwall.com/lists/oss-security/2025/07/03/1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7631-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-8054-1"
    }
  ],
  "related": [
    "USN-7631-1",
    "USN-8054-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2025-53367"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

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.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…