In Apache Batik 1.x before 1.10, when deserializing subclass of `AbstractDocument`, the class takes a string from the inputStream as the cla
In Apache Batik 1.x before 1.10, when deserializing subclass of `AbstractDocument`, the class takes a string from the inputStream as the class name which then use it to call the no-arg constructor of the class. Fix was to check the class type before calling newInstance in deserialization.
- Published
- May 24, 2018
- Updated
- Jun 16, 2026
- EPSS
- 19.3% · 97th percentile
- CWE
- CWE-502
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
45
Plan
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 6 / 30 · 19.3%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| apache | batik | cpe:2.3:a:apache:batik |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| oracle | business intelligence | cpe:2.3:a:oracle:business_intelligence |
| oracle | communications diameter signaling router | cpe:2.3:a:oracle:communications_diameter_signaling_router |
| oracle | communications metasolv solution | cpe:2.3:a:oracle:communications_metasolv_solution |
| oracle | communications webrtc session controller | cpe:2.3:a:oracle:communications_webrtc_session_controller |
| oracle | data integrator | cpe:2.3:a:oracle:data_integrator |
| oracle | enterprise repository | cpe:2.3:a:oracle:enterprise_repository |
| oracle | financial services analytical applications infrastructure | cpe:2.3:a:oracle:financial_services_analytical_applications_infrastructure |
| oracle | fusion middleware mapviewer | cpe:2.3:a:oracle:fusion_middleware_mapviewer |
| oracle | instantis enterprisetrack | cpe:2.3:a:oracle:instantis_enterprisetrack |
and 9 more
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apache batik1.0 and later · before 1.10
- canonical ubuntu linux14.04
- debian debian linux7.0
- debian debian linux8.0
- debian debian linux9.0
- oracle business intelligence11.1.1.7.0
- oracle business intelligence11.1.1.9.0
- oracle business intelligence12.2.1.3.0
- oracle business intelligence12.2.1.4.0
- oracle communications diameter signaling routerbefore 8.3
- oracle communications metasolv solution6.3.0
- oracle communications webrtc session controllerbefore 7.2
- oracle data integrator12.2.1.3.0
- oracle enterprise repository11.1.1.7.0
- oracle enterprise repository12.1.3.0.0
- oracle financial services analytical applications infrastructure7.3.3.0.0 and later · up to 7.3.3.0.2 inclusive
- oracle financial services analytical applications infrastructure8.0.0.0.0 and later · up to 8.0.7.1.0 inclusive
- oracle fusion middleware mapviewer12.2.1.2
- oracle fusion middleware mapviewer12.2.1.3
- oracle instantis enterprisetrack17.1
Versions reported by the vendor
Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.
Apache Software Foundation Apache Batik
- 1.0 - 1.9.1affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | batik | before 1.10-1 | 1.10-1 |
| Debian:7 | batik | before 1.7+dfsg-3+deb7u3 | 1.7+dfsg-3+deb7u3 |
| Debian:8 | batik | before 1.7+dfsg-5+deb8u1 | 1.7+dfsg-5+deb8u1 |
| Debian:9 | batik | before 1.8-4+deb9u1 | 1.8-4+deb9u1 |
| Maven | org.apache.xmlgraphics:batik | from 1.0 · before 1.10 | 1.10 |
Same product
apache: all recordsOther highest-scoring records for the same primary product.
- CVE-2020-11987Apache Batik 1.13 is vulnerable to server-side request forgery, caused by improper input validation by the NodePickerPanel.36Monitor
- CVE-2019-17566Apache Batik is vulnerable to server-side request forgery, caused by improper input validation by the "xlink:href" attributes.33Monitor
- CVE-2022-40146Jar url should be blocked by DefaultScriptSecurity32Monitor
- CVE-2022-42890Apache Batik prior to 1.16 allows RCE via scripting31Monitor
- CVE-2022-41704Apache Batik prior to 1.16 allows RCE when loading untrusted SVG input31Monitor
- CVE-2017-5662In Apache Batik before 1.9, files lying on the filesystem of the server which uses batik can be revealed to arbitrary users who send malicio30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:batik | 1.10-1 · Debian:12 | Package registry (OSV) |
| Maven:org.apache.xmlgraphics:batik | 1.10 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-502 · Deserialization of Untrusted DataCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
Data received over the network is deserialized into the language’s native object format without verifying its source. Code paths inside the object can be triggered during deserialization.
The bug in code
The whole CWE-502 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
payload = sock.recv(65536)job = pickle.loads(payload)Fixed
payload = sock.recv(65536)if not hmac.compare_digest(sign(payload), header_sig): raise PermissionError("invalid signature")job = JobSchema.validate(json.loads(payload))Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- www.securityfocus.com/bid/104252
- www.securitytracker.com/id/1040995
- lists.apache.org/thread.html/r9e90b4d1cf6ea87a79bb506541140dfbf4801f4463a7cee08126ee44%40%3Ccommits.xmlgraphics.apache.org%3E
- lists.apache.org/thread.html/rc0a31867796043fbe59113fb654fe8b13309fe04f8935acb8d0fab19%40%3Ccommits.xmlgraphics.apache.org%3E
- lists.debian.org/debian-lts-announce/2018/05/msg00016.html
- mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/201805.mbox/%3c000701d3f28f%24d01860a0%24704921e0%24%40gmail.com%3e
- security.gentoo.org/glsa/202401-11
- usn.ubuntu.com/3661-1/
- www.debian.org/security/2018/dsa-4215
- www.oracle.com/security-alerts/cpujul2020.html
- www.oracle.com/security-alerts/cpuoct2020.html
- www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
- www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- xmlgraphics.apache.org/security.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.