UBUNTU-CVE-2026-84939

Source
https://ubuntu.com/security/CVE-2026-84939
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-84939.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-84939
Upstream
  • CVE-2026-84939
Published
2026-09-10T06:17:00Z
Modified
2026-09-16T11:43:10Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Path traversal vulnerability in Apache FreeMarker template loading mechanism, if the attacker can specify an arbitrary malformed locale identifier to FreeMarker, and the localized lookup configuration setting is enabled (it's by default enabled). This issue affects Apache FreeMarker from 2.2.0 through 2.3.34. Users are recommended to upgrade to version 2.3.35. Disabling localized lookup in previous versions also mitigates this. Note that even in versions affected by this vulnerability, the files that can be loaded remain restricted by the TemplateLoader that FreeMarker is configured to use. In particular, FileTemplateLoader prevents attempts to traverse outside the baseDir specified in its constructor. Other TemplateLoader implementations may allow access outside their designated base directory, but they are still constrained by the underlying storage mechanism—for example, a loader wrapping a Java class loader can only access resources that the class loader can load, while one wrapping a web application context can only access resources available through that context.

References

Affected packages

Ubuntu:16.04:LTS
libfreemarker-java

Package

Name
libfreemarker-java
Purl
pkg:deb/ubuntu/libfreemarker-java?arch=source&distro=xenial

Affected ranges

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

Affected versions

2.*
2.3.23-1
2.3.23-2
2.3.23-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libfreemarker-java",
            "binary_version": "2.3.23-3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-84939.json"
Ubuntu:18.04:LTS
libfreemarker-java

Package

Name
libfreemarker-java
Purl
pkg:deb/ubuntu/libfreemarker-java?arch=source&distro=bionic

Affected ranges

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

Affected versions

2.*
2.3.23-6
2.3.23-7
2.3.23-8

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libfreemarker-java",
            "binary_version": "2.3.23-8"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-84939.json"
Ubuntu:20.04:LTS
libfreemarker-java

Package

Name
libfreemarker-java
Purl
pkg:deb/ubuntu/libfreemarker-java?arch=source&distro=focal

Affected ranges

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

Affected versions

2.*
2.3.23-9

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libfreemarker-java",
            "binary_version": "2.3.23-9"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-84939.json"
Ubuntu:22.04:LTS
libfreemarker-java

Package

Name
libfreemarker-java
Purl
pkg:deb/ubuntu/libfreemarker-java?arch=source&distro=jammy

Affected ranges

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

Affected versions

2.*
2.3.23-11

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libfreemarker-java",
            "binary_version": "2.3.23-11"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-84939.json"
Ubuntu:24.04:LTS
libfreemarker-java

Package

Name
libfreemarker-java
Purl
pkg:deb/ubuntu/libfreemarker-java?arch=source&distro=noble

Affected ranges

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

Affected versions

2.*
2.3.31-2
2.3.32-1
2.3.32-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libfreemarker-java",
            "binary_version": "2.3.32-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-84939.json"
Ubuntu:26.04:LTS
libfreemarker-java

Package

Name
libfreemarker-java
Purl
pkg:deb/ubuntu/libfreemarker-java?arch=source&distro=resolute

Affected ranges

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

Affected versions

2.*
2.3.32-2.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libfreemarker-java",
            "binary_version": "2.3.32-2.1"
        }
    ]
}

Database specific

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