Home / QOS.CH Sarl / Logback-core / CVE-2024-12798
CVE-2024-12798: is it exploited, and which versions of QOS.CH Sarl Logback-core are affected and fixed?
CVE-2024-12798 is an improper Neutralization of Special Elements used in an Expression Language Statement vulnerability in QOS.CH Sarl Logback-core. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: ch.qos.logback:logback-core from 1.4.0 before 1.5.13 and ch.qos.logback:logback-core before 1.3.15 (GitHub advisory GHSA-pr98-23f8-jwxv). Fixed in 1.5.13 and 1.3.15 (GitHub advisory GHSA-pr98-23f8-jwxv). Severity: Medium (5.9, CVSS 4.0, from NCSC.ch).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:24 UTC.
What is CVE-2024-12798?
JaninoEventEvaluator vulnerability
ACE vulnerability in JaninoEventEvaluator by QOS.CH logback-core upto including version 0.1 to 1.3.14 and 1.4.0 to 1.5.12 in Java applications allows attacker to execute arbitrary code by compromising an existing logback configuration file or by injecting an environment variable before program execution. Malicious logback configuration files can allow the attacker to execute arbitrary code using the JaninoEventEvaluator extension. A successful attack requires the user to have write access to a configuration file. Alternatively, the attacker could inject a malicious environment variable pointing to a malicious configuration file. In both cases, the attack requires existing privilege.
From the CVE record by NCSC.ch, last updated January 3, 2025, 13:38 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| QOS.CH Sarl | Logback-core | from 0.1 through 1.3.14 from 1.4.0 through 1.5.12 | 1.3.15, 1.5.13 |
As the CVE record by NCSC.ch states it, last updated January 3, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | ch.qos.logback:logback-core | >= 1.4.0, < 1.5.13 | 1.5.13 | GHSA-pr98-23f8-jwxv |
| Maven | ch.qos.logback:logback-core | < 1.3.15 | 1.3.15 | GHSA-pr98-23f8-jwxv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 3, 2025. Summary: QOS.CH logback-core Expression Language Injection vulnerability.
How severe is CVE-2024-12798?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L/RE:L/U:Clear | NCSC.ch |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-12798 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, December 20, 2024)
- EPSS
- 0.47% probability of exploitation activity in the next 30 days, percentile 42.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement
How do I fix it? (from the CVE record)
Remove Janino from the Java classpath. Alternatively, update to logback version 1.5.13 or later. If you are using the 1.3.x series, update to logback version 1.3.15 or later. Note that the 1.4.x series remains vulnerable.
Is there a workaround? (from the CVE record)
Remove Janino from the Java classpath. Alternatively, update to logback version 1.5.13 or later. If you are using the 1.3.x series, update to logback version 1.3.15 or later. Note that the 1.4.x series remains vulnerable.
Where are the vendor advisories and references?
Who found and reported it?
- 7asecurity (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- December 19, 2024
- Published
- December 19, 2024, 15:14 UTC
- CVE record updated
- January 3, 2025, 13:38 UTC by NCSC.ch
- NVD
- Deferred, last modified June 17, 2026, 07:00 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:24 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Logback-core?
- Jun 24, 2026CVE-2026-13006 QOS.CH Sarl Logback-core: improper input validation
- Jan 22, 2026CVE-2026-1225 QOS.CH Sarl Logback-core: improper input validation
- Oct 1, 2025CVE-2025-11226 QOS.CH Sarl Logback-core: improper input validation
Questions about CVE-2024-12798
Is CVE-2024-12798 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.47% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of QOS.CH Sarl Logback-core are affected by CVE-2024-12798?
ch.qos.logback:logback-core from 1.4.0 before 1.5.13 and ch.qos.logback:logback-core before 1.3.15, per the GitHub advisory GHSA-pr98-23f8-jwxv. The tables above give every range the sources list.
Which version fixes CVE-2024-12798?
1.5.13 and 1.3.15, per the GitHub advisory GHSA-pr98-23f8-jwxv. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-12798?
Medium (5.9, CVSS 4.0, from NCSC.ch). The severity table above shows each score with its source.
Where is the official record of CVE-2024-12798?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.