Skip to content
Heist/ feed
Back to feed
Medium

processing-core — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2018-1000840

Processing Foundation Processing version 3.4 and earlier contains a XML External Entity (XXE) vulnerability in loadXML() function that can result in An attacker can read arbitrary files and exfiltrate their contents via HTTP requests. This attack appear to be exploitable via The victim must use Processing to parse a crafted XML document.

Products
processing-core
Affected versions
1.2.1-1, 1.2.1-2, 1.2.1-3, 1.2.1-3build1
Fixed versions
Not specified
CVEs
CVE-2018-1000840
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:22 UTC · Revision 1

Source evidence

UBUNTU-CVE-2018-1000840

core-osv · Original source

Published 20 Dec 2018, 15:29 UTC

Processing Foundation Processing version 3.4 and earlier contains a XML External Entity (XXE) vulnerability in loadXML() function that can result in An attacker can read arbitrary files and exfiltrate their contents via HTTP requests. This attack appear to be exploitable via The victim must use Processing to parse a crafted XML document.

osv:UBUNTU-CVE-2018-1000840

processing-core

Fixed versions: Not specified

processing-core

Fixed versions: Not specified

processing-core

Fixed versions: Not specified

processing-core

Fixed versions: Not specified

processing-core

Fixed versions: Not specified

processing-core

Fixed versions: Not specified

processing-core

Fixed versions: Not specified

processing-core

Fixed versions: Not specified

Complete source record
{
  "id": "9f9408e57350aa68be2d052f739e3b5f978fc4c3ab9e49abd3c4fb519e61e44f",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2018-1000840",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2018-1000840",
    "summary": "Processing Foundation Processing version 3.4 and earlier contains a XML External Entity (XXE) vulnerability in loadXML() function that can result in An attacker can read arbitrary files and exfiltrate their contents via HTTP requests. This attack appear to be exploitable via The victim must use Processing to parse a crafted XML document.",
    "evidence": "osv:UBUNTU-CVE-2018-1000840",
    "products": [
      {
        "name": {
          "value": "processing-core",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.1-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "processing-core",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.1-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.2.1-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "processing-core",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.1-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "processing-core",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.1-2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "processing-core",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.1-2",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "processing-core",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.1-3",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "processing-core",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.1-3build1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "processing-core",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.1-3",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.2.1-3build1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2018-1000840",
      "aliases": [
        "UBUNTU-CVE-2018-1000840"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "processing-core",
            "purl": "pkg:deb/ubuntu/processing-core?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.2.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1000840.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libprocessing-core-java",
                "binary_version": "1.2.1-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "processing-core",
            "purl": "pkg:deb/ubuntu/processing-core?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.2.1-1",
            "1.2.1-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1000840.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libprocessing-core-java",
                "binary_version": "1.2.1-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "processing-core",
            "purl": "pkg:deb/ubuntu/processing-core?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.2.1-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1000840.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libprocessing-core-java",
                "binary_version": "1.2.1-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "processing-core",
            "purl": "pkg:deb/ubuntu/processing-core?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.2.1-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1000840.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libprocessing-core-java",
                "binary_version": "1.2.1-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "processing-core",
            "purl": "pkg:deb/ubuntu/processing-core?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.2.1-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1000840.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libprocessing-core-java",
                "binary_version": "1.2.1-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "processing-core",
            "purl": "pkg:deb/ubuntu/processing-core?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.2.1-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1000840.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libprocessing-core-java",
                "binary_version": "1.2.1-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "processing-core",
            "purl": "pkg:deb/ubuntu/processing-core?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.2.1-3build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1000840.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libprocessing-core-java",
                "binary_version": "1.2.1-3build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "processing-core",
            "purl": "pkg:deb/ubuntu/processing-core?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.2.1-3",
            "1.2.1-3build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1000840.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libprocessing-core-java",
                "binary_version": "1.2.1-3build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:53:25.904275150Z",
      "provider": "osv",
      "upstream": [
        "CVE-2018-1000840"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2018-1000840",
        "https://github.com/processing/processing/issues/5706",
        "https://twitter.com/ben_fry/status/1054333613465059329",
        "https://www.cve.org/CVERecord?id=CVE-2018-1000840"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2018-1000840",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 353443,
  "published_at": "2018-12-20T15:29:00+00:00"
}