CVE-2023-26464
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · unedited** UNSUPPORTED WHEN ASSIGNED ** When using the Chainsaw or SocketAppender components with Log4j 1.x on JRE less than 1.7, an attacker that manages to cause a logging entry involving a specially-crafted (ie, deeply nested) hashmap or hashtable (depending on which logging component is in use) to be processed could exhaust the available memory in the virtual machine and achieve Denial of Service when the object is deserialized. This issue affects Apache Log4j before 2. Affected users are recommended to update to Log4j 2.x. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceIn Log4j 1.x, the Chainsaw and SocketAppender components perform deserialization of logged objects. On JRE versions prior to 1.7, an attacker who can trigger logging of specially-crafted deeply nested hashmap or hashtable objects can cause excessive memory consumption during deserialization, leading to denial of service.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 1.0.4, < 2.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed Log4j 1.x versionSearch for log4j-*.jar files in your application and library directories, or check Maven/Gradle dependency manifests for log4j version. Examine the JAR filename or inspect the manifest file within the JAR for the version number.Affected if The version is 1.0.4 or higher but below 2.0 (e.g., 1.2.x, 1.3.x, 1.4.x)
-
Check Java Runtime Environment versionRun 'java -version' from the command line to determine the JRE version. Look for the major version number in the output.Affected if The JRE version is prior to 1.7 (Java 7)
-
Determine if Chainsaw component is in useSearch configuration files (log4j.xml, log4j.properties) for 'Chainsaw' appender references, or check for chainsaw*.jar files in the classpath. Inspect application code for Chainsaw usage.Affected if Chainsaw is configured or present in the runtime classpath
-
Determine if SocketAppender is in useSearch log4j configuration files for 'SocketAppender' entries, or review application code for SocketAppender instantiation. Check for network socket configurations related to logging.Affected if SocketAppender is configured or used in the logging setup
You are affected if Log4j 1.x version 1.0.4 to <2.0 is installed, the JRE is prior to version 1.7, and either Chainsaw or SocketAppender components are actively used in the logging configuration.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped2.0
Upgrade to Log4j 2.x, which addresses this and other known vulnerabilities. If upgrading is not immediately feasible, remove or disable the affected Chainsaw and SocketAppender components and ensure logging inputs are strictly validated.
Log4j 2.x (2.17.0 or later recommended)
- 1. Identify all dependencies in your project that reference Log4j 1.x (log4j:log4j < 2.0)
- 2. Remove all Log4j 1.x dependencies from your project's build configuration (Maven pom.xml, Gradle build.gradle, etc.)
- 3. Add Log4j 2.x dependencies to your project. For most applications, add: log4j-api and log4j-core (version 2.17.0 or later for security fixes)
- 4. If using Log4j 1.x programmatic configuration, rewrite configuration to use Log4j 2.x XML, JSON, or properties-based configuration
- 5. Update any code that directly references Log4j 1.x classes (org.apache.log4j) to use Log4j 2.x classes (org.apache.logging.log4j)
- 6. If using SLF4J as a logging facade, ensure the log4j-slf4j-impl binding is included for Log4j 2.x integration
- 7. Test the application thoroughly to verify logging functionality works correctly after migration
- 8. Remove any remaining references to Chainsaw or SocketAppender from Log4j 1.x if previously used
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,328.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2023-26464 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2023-26464 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data