CVE-2020-18750

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-18750
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-18750.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-18750
Published
2021-02-05T19:15:11.917Z
Modified
2025-11-20T11:19:01.082901Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Git / github.com/flexpaper/pdf2json

Affected ranges

Type
GIT
Repo
https://github.com/flexpaper/pdf2json
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.68
v0.69

Database specific

vanir_signatures

[
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "296581558843798303851306365071713045494",
                "156842375972854208427334935431732583780",
                "92492752521683051498147300896232455325",
                "339302248929905311033055208289492706429",
                "289441482887525075529687104148174470621",
                "334157227976643163740249442238578316749",
                "334802747292707895086807105000534193524",
                "65491936683828984062756025459246885514",
                "93862818123020513481704682489478049633",
                "206710189554211156661039158911602161078"
            ]
        },
        "source": "https://github.com/flexpaper/pdf2json/commit/80bf71f16c804108fd933e267fe31692aaa509b4",
        "id": "CVE-2020-18750-3d4e13a5",
        "deprecated": false,
        "target": {
            "file": "xpdf/CharCodeToUnicode.cc"
        },
        "signature_version": "v1",
        "signature_type": "Line"
    },
    {
        "digest": {
            "function_hash": "339837459725287454534915836275858688563",
            "length": 1110.0
        },
        "source": "https://github.com/flexpaper/pdf2json/commit/80bf71f16c804108fd933e267fe31692aaa509b4",
        "id": "CVE-2020-18750-a29248fc",
        "deprecated": false,
        "target": {
            "file": "xpdf/CharCodeToUnicode.cc",
            "function": "CharCodeToUnicode::addMapping"
        },
        "signature_version": "v1",
        "signature_type": "Function"
    }
]