UBUNTU-CVE-2025-62707

Source
https://ubuntu.com/security/CVE-2025-62707
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-62707.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-62707
Upstream
Published
2025-10-22T22:15:00Z
Modified
2026-01-20T19:16:57.786246Z
Severity
  • 6.6 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U CVSS Calculator
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

pypdf is a free and open-source pure-python PDF library. Prior to version 6.1.3, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires parsing the content stream of a page which has an inline image using the DCTDecode filter. This has been fixed in pypdf version 6.1.3.

References

Affected packages

Ubuntu:24.04:LTS / pypdf

Package

Name
pypdf
Purl
pkg:deb/ubuntu/pypdf@4.0.2-1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.4.1-1
3.17.4-1

4.*

4.0.0-1
4.0.1-1
4.0.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-pypdf",
            "binary_version": "4.0.2-1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-62707.json"

Ubuntu:25.10 / pypdf

Package

Name
pypdf
Purl
pkg:deb/ubuntu/pypdf@5.4.0-1?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.3.1-1

5.*

5.4.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-pypdf",
            "binary_version": "5.4.0-1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-62707.json"