CVE-2018-8013: In Apache Batik 1.x before 1.10, when deserializing subclass of `AbstractDocument`, the class takes a string from the inputStream as the…
Noroxi assessment
Priority: Plan (action score 45/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 18.5% (FIRST EPSS); higher than 97.3% of all records.
- 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.
- Fixed version: batik (Debian:12) 1.10-1; batik (Debian:7) 1.7+dfsg-3+deb7u3; batik (Debian:8) 1.7+dfsg-5+deb8u1.
Add it to your regular patch cycle. Upgrade to batik (Debian:12) 1.10-1; batik (Debian:7) 1.7+dfsg-3+deb7u3; batik (Debian:8) 1.7+dfsg-5+deb8u1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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
- 18.5% · 97th percentile
- CWE
- CWE-502
Report tools
Action score
45
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 6 / 30 · 18.5%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| 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
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
Affected versions · NVD (20)
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
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
Published before and after this one in the same product
- ← EarlierCVE-2015-0250Mar 24, 2015 · XML external entity (XXE) vulnerability in the SVG to (1) PNG and (2) JPG conversion classes in Apache Batik 1.x before 1.8 allows remote…30Monitor
- ← EarlierCVE-2017-5662Apr 18, 2017 · In Apache Batik before 1.9, files lying on the filesystem of the server which uses batik can be revealed to arbitrary users who send…30Monitor
- Later →CVE-2022-38398Sep 22, 2022 · Server-Side Request Forgery Information Disclosure Vulnerability22Monitor
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).
Not on record for this CVE: patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
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
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (16 more)Show less
- 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.