DEBIAN-CVE-2026-84939
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.
DEBIAN-CVE-2026-84939
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-84939
libfreemarker-java
Source reference: /affected/0/package/name
- Affected versions
- 2.3.31-2
Source reference:
/affected/0/versions2.3.32-1Source reference:
/affected/0/versions2.3.32-2Source reference:
/affected/0/versions2.3.32-2.1Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
libfreemarker-java
Source reference: /affected/1/package/name
- Affected versions
- 2.3.32-2.1
Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
libfreemarker-java
Source reference: /affected/2/package/name
- Affected versions
- 2.3.32-2.1
Source reference:
/affected/2/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libfreemarker-java",
"purl": "pkg:deb/debian/libfreemarker-java?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"2.3.31-2",
"2.3.32-1",
"2.3.32-2",
"2.3.32-2.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-84939.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libfreemarker-java",
"purl": "pkg:deb/debian/libfreemarker-java?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"2.3.32-2.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-84939.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libfreemarker-java",
"purl": "pkg:deb/debian/libfreemarker-java?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"2.3.32-2.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-84939.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #58512 · Revision 1
- Added to Heist Feed
- Publisher date