CVE-2018-14946: PDF2JSON - Use After Free
- Cve: CVE-2018-14946
- Name: PDF2JSON - Use After Free
- Description: An issue has been found in PDF2JSON 0.69. The HtmlString class in ImgOutputDev.cc has Mismatched Memory Management Routines (malloc versus operator delete).
- Impact: Potential memory leaks or corruption could lead to application crashes or arbitrary code execution.
- Remediation: Update to the latest version of PDF2JSON or apply patches addressing memory management routines.
- Vulnerability type: use_after_free
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.01605
- Epss percentile: 0.7649
- Assignee: [email protected]
- Published at: 2018-08-05T18:29:00Z
- Age in days: 3033
- Modified at: 2026-06-17T01:41:56Z
- Public exploits total: 2
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-14946
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/flexpaper/pdf2json/issues/19 | nvd | 2018-08-05 |
| https://github.com/fouzhe/security/tree/master/pdf2json#alloc_dealloc_mismatch-in-function-htmlstring | nvd | 2018-08-05 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/flexpaper/pdf2json/issues/19 | nvd | Exploit, Third Party Advisory |
| https://github.com/fouzhe/security/tree/master/pdf2json#alloc_dealloc_mismatch-in-function-htmlstring | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| flowpaper:pdf2json | = 0.69 | no | nvd | /v1/products/flowpaper/pdf2json |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| flexpaper/pdf2json | issues | yes | /v1/repositories/flexpaper/pdf2json |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2018-08-05
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts