CVEBrief

Home / Apache Software Foundation / Apache Log4j 1.x / CVE-2022-23305

CVE-2022-23305: is it exploited, and which versions of Apache Software Foundation Apache Log4j 1.x are affected and fixed?

CVE-2022-23305 is a SQL injection vulnerability in Apache Software Foundation Apache Log4j 1.x. 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: log4j:log4j through 1.2.17 and org.zenframework.z8.dependencies.commons:log4j-1.2.17 through 2.0 (GitHub advisory GHSA-65fg-84f6-3jq3). Fixed in unspecified and 2.0-alpha1 (CVE record by apache). Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 28, 2026, 19:48 UTC and NVD November 19, 2026, 07:51 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 15:09 UTC
Affected
log4j:log4j through 1.2.17 and org.zenframework.z8.dependencies.commons:log4j-1.2.17 through 2.0
GitHub advisory GHSA-65fg-84f6-3jq3
Fixed in
unspecified and 2.0-alpha1
CVE record by apache
Severity
Critical 9.8
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
66.5% in 30 days
higher than 99% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2022-23305?

SQL injection in JDBC Appender in Apache Log4j V1

By design, the JDBCAppender in Log4j 1.2.x accepts an SQL statement as a configuration parameter where the values to be inserted are converters from PatternLayout. The message converter, %m, is likely to always be included. This allows attackers to manipulate the SQL by entering crafted strings into input fields or headers of an application that are logged allowing unintended SQL queries to be executed. Note this issue only affects Log4j 1.x when specifically configured to use the JDBCAppender, which is not the default. Beginning in version 2.0-beta8, the JDBCAppender was re-introduced with proper support for parameterized SQL queries and further customization over the columns written to in logs. Apache Log4j 1.2 reached end of life in August 2015. Users should upgrade to Log4j 2 as it addresses numerous other issues from the previous versions.

From the CVE record by apache, last updated May 27, 2026, 13:40 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Apache Software FoundationApache Log4j 1.xfrom 1.2.1 before unspecified
before 2.0-alpha1
unspecified, 2.0-alpha1

As the CVE record by apache states it, last updated May 27, 2026. 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?

EcosystemPackageAffectedFixed inAdvisory
Mavenlog4j:log4j<= 1.2.17none listedGHSA-65fg-84f6-3jq3
Mavenorg.zenframework.z8.dependencies.commons:log4j-1.2.17<= 2.0none listedGHSA-65fg-84f6-3jq3

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 8, 2026. Summary: SQL Injection in Log4j 1.2.x.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
apachelog4jfrom 1.2 through 1.2.17application
netappsnapmanagerall versionsapplication
broadcombrocade sannavall versionsapplication
qosreload4jbefore 1.2.18.2application
oracleadvanced supply chain planning12.1application
oracleadvanced supply chain planning12.2application
oraclebusiness intelligence5.9.0.0.0application
oraclebusiness intelligence12.2.1.3.0application
oraclebusiness intelligence12.2.1.4.0application
oraclebusiness process management suite12.2.1.3.0application
oraclebusiness process management suite12.2.1.4.0application
oraclecommunications eagle ftp table base retrieval4.5application
oraclecommunications instant messaging server10.0.1.5.0application
oraclecommunications messaging server8.1application
oraclecommunications network integrity7.3.6application
oraclecommunications offline mediation controllerbefore 12.0.0.4.4application
oraclecommunications offline mediation controller12.0.0.5.0application
oraclecommunications unified inventory management7.4.1application
oraclecommunications unified inventory management7.4.2application
oraclee-business suite cloud manager and cloud backup modulebefore 2.2.1.1.1application
oraclee-business suite cloud manager and cloud backup module2.2.1.1.1application
oraclee-business suite information discoveryfrom 12.2.3 through 12.2.11application
oracleenterprise manager base platform13.4.0.0application
oracleenterprise manager base platform13.5.0.0application
oraclefinancial services revenue management and billing analytics2.7.0.0application

NVD analysis (status Modified), last modified June 17, 2026, 04:29 UTC.

How severe is CVE-2022-23305?

ScoreVersionVectorSource
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
Medium 6.8CVSS 2.0AV:N/AC:M/Au:N/C:P/I:P/A:PNVD

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-2022-23305 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: total (CISA ADP, May 22, 2026)
EPSS
66.5% probability of exploitation activity in the next 30 days, percentile 99.3 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Is there a workaround? (from the CVE record)

Users should upgrade to Log4j 2 or remove usage of the JDBCAppender from their configurations.

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
January 17, 2022
Published
January 18, 2022, 15:25 UTC
CVE record updated
May 27, 2026, 13:40 UTC by apache
NVD
Modified, last modified June 17, 2026, 04:29 UTC
Last checked
CVE list November 28, 2026, 19:48 UTC; NVD November 19, 2026, 07:51 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Apache Log4j 1.x?

Every CVE in Apache Log4j 1.x

Questions about CVE-2022-23305

Is CVE-2022-23305 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 66.5% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Apache Software Foundation Apache Log4j 1.x are affected by CVE-2022-23305?

log4j:log4j through 1.2.17 and org.zenframework.z8.dependencies.commons:log4j-1.2.17 through 2.0, per the GitHub advisory GHSA-65fg-84f6-3jq3. The tables above give every range the sources list.

Which version fixes CVE-2022-23305?

unspecified and 2.0-alpha1, per the CVE record by apache. Check the vendor's advisory before you rely on it.

How severe is CVE-2022-23305?

Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2022-23305?

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.