UBUNTU-CVE-2025-68616

Source
https://ubuntu.com/security/CVE-2025-68616
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-68616.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-68616
Upstream
Published
2026-01-19T16:15:00Z
Modified
2026-06-12T09:04:03.173442541Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

WeasyPrint helps web developers to create PDF documents. Prior to version 68.0, a server-side request forgery (SSRF) protection bypass exists in WeasyPrint's default_url_fetcher. The vulnerability allows attackers to access internal network resources (such as localhost services or cloud metadata endpoints) even when a developer has implemented a custom url_fetcher to block such access. This occurs because the underlying urllib library follows HTTP redirects automatically without re-validating the new destination against the developer's security policy. Version 68.0 contains a patch for the issue.

References

Affected packages

Ubuntu:20.04:LTS / weasyprint

Package

Name
weasyprint
Purl
pkg:deb/ubuntu/weasyprint?arch=source&distro=focal

Affected ranges

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

Affected versions

Other
50-2
51-1
51-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "51-2",
            "binary_name": "weasyprint"
        }
    ]
}

Database specific

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

Ubuntu:22.04:LTS / weasyprint

Package

Name
weasyprint
Purl
pkg:deb/ubuntu/weasyprint?arch=source&distro=jammy

Affected ranges

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

Affected versions

Other
51-2
51-3
53.*
53.4-1
54.*
54.0-1
54.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "54.1-1",
            "binary_name": "weasyprint"
        }
    ]
}

Database specific

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

Ubuntu:24.04:LTS / weasyprint

Package

Name
weasyprint
Purl
pkg:deb/ubuntu/weasyprint?arch=source&distro=noble

Affected ranges

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

Affected versions

59.*
59.0-1
60.*
60.2-1
61.*
61.0-1
61.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "61.1-1",
            "binary_name": "weasyprint"
        }
    ]
}

Database specific

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

Ubuntu:25.10 / weasyprint

Package

Name
weasyprint
Purl
pkg:deb/ubuntu/weasyprint?arch=source&distro=questing

Affected ranges

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

Affected versions

62.*
62.3-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "62.3-1",
            "binary_name": "weasyprint"
        }
    ]
}

Database specific

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

Ubuntu:26.04:LTS / weasyprint

Package

Name
weasyprint
Purl
pkg:deb/ubuntu/weasyprint?arch=source&distro=resolute

Affected ranges

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

Affected versions

62.*
62.3-1
62.3-1build1
67.*
67.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "67.0-1",
            "binary_name": "weasyprint"
        }
    ]
}

Database specific

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