CVE-2018-12102: md4c 0.2.6 has a NULL pointer dereference in the function md_process_line in md4c.c, related to ctx->current_b
CVE-2018-12102 is a medium-severity flaw (CVSS 5.5) affecting md4c. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
md4c 0.2.6 has a NULL pointer dereference in the function md_process_line in md4c.c, related to ctx->current_block.
Why this priority
- No elevated risk signals yet
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.8% (top 42%) |
| CISA exploited list | No |
| Weakness | CWE-476 |
| Published | 2018-06-11 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-12102?
md4c: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2018-12102 being exploited?
CVE-2018-12102 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-12102 affect?
CVE-2018-12102 affects md4c. Severity is medium (CVSS 5.5). md4c 0.2.6 has a NULL pointer dereference in the function md_process_line in md4c.c, related to ctx->current_block.
How urgent is CVE-2018-12102?
Priority 34/100. No elevated risk signals yet.
Related CVEs
- CVE-2021-30027 MEDIUM 5.5 DOWNGRADE md_analyze_line in md4c.c in md4c 0.4.7 allows attackers to trigger use of uninitialized memory, and cause a d
- CVE-2020-26148 HIGH 7.5 DOWNGRADE md_push_block_bytes in md4c.c in md4c 0.4.5 allows attackers to trigger use of uninitialized memory, and cause
- CVE-2018-12112 HIGH 7.8 DOWNGRADE md_build_attribute in md4c.c in md4c 0.2.6 allows remote attackers to cause a denial of service (Segmentation
- CVE-2018-11547 CRITICAL 9.8 DOWNGRADE md_is_link_reference_definition_helper in md4c 0.2.5 has a heap-based buffer over-read because md_is_link_labe
- CVE-2018-11546 CRITICAL 9.8 DOWNGRADE md4c 0.2.5 has a heap-based buffer over-read because md_is_named_entity_contents has an off-by-one error.