Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-18750

Buffer overflow in pdf2json 0.69 allows local users to execute arbitrary code by converting a crafted PDF file.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-18750
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:34 UTC · Revision 1

Source evidence

CVE-2020-18750

core-osv · Original source

Published 5 Feb 2021, 19:15 UTC

Buffer overflow in pdf2json 0.69 allows local users to execute arbitrary code by converting a crafted PDF file.

osv:CVE-2020-18750
Complete source record
{
  "id": "51b5c89a92f7686713be0f4f8f3116c5bf0e9edcf59b4a3d56d6c346b8b78d3d",
  "url": "https://osv.dev/vulnerability/CVE-2020-18750",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-18750",
    "summary": "Buffer overflow in pdf2json 0.69 allows local users to execute arbitrary code by converting a crafted PDF file.",
    "evidence": "osv:CVE-2020-18750",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-18750",
      "aliases": [
        "CVE-2020-18750"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/flexpaper/pdf2json",
              "type": "GIT",
              "events": [
                {
                  "introduced": "490bdce4b4a5fcbe1e5d3b660b1470b857120ed6"
                },
                {
                  "last_affected": "490bdce4b4a5fcbe1e5d3b660b1470b857120ed6"
                },
                {
                  "fixed": "80bf71f16c804108fd933e267fe31692aaa509b4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:flowpaper:pdf2json:0.69:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.69"
                      },
                      {
                        "last_affected": "0.69"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "80bf71f16c804108fd933e267fe31692aaa509b4"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.69",
            "v0.69"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-18750.json",
            "vanir_signatures": [
              {
                "id": "CVE-2020-18750-3d4e13a5",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "296581558843798303851306365071713045494",
                    "156842375972854208427334935431732583780",
                    "92492752521683051498147300896232455325",
                    "339302248929905311033055208289492706429",
                    "289441482887525075529687104148174470621",
                    "334157227976643163740249442238578316749",
                    "334802747292707895086807105000534193524",
                    "65491936683828984062756025459246885514",
                    "93862818123020513481704682489478049633",
                    "206710189554211156661039158911602161078"
                  ]
                },
                "source": "https://github.com/flexpaper/pdf2json/commit/80bf71f16c804108fd933e267fe31692aaa509b4",
                "target": {
                  "file": "xpdf/CharCodeToUnicode.cc"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-18750-a29248fc",
                "digest": {
                  "length": 1110,
                  "function_hash": "339837459725287454534915836275858688563"
                },
                "source": "https://github.com/flexpaper/pdf2json/commit/80bf71f16c804108fd933e267fe31692aaa509b4",
                "target": {
                  "file": "xpdf/CharCodeToUnicode.cc",
                  "function": "CharCodeToUnicode::addMapping"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:52:53Z"
          }
        }
      ],
      "modified": "2026-10-20T13:52:53.752516498Z",
      "provider": "osv",
      "references": [
        "https://github.com/flexpaper/pdf2json/issues/22",
        "https://github.com/flexpaper/pdf2json/commit/80bf71f16c804108fd933e267fe31692aaa509b4"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-18750",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388344,
  "published_at": "2021-02-05T19:15:11.917+00:00"
}