{"api_version":"1","generated_at":"2026-07-25T00:48:27+00:00","cve":"CVE-2023-22485","urls":{"html":"https://cve.report/CVE-2023-22485","api":"https://cve.report/api/cve/CVE-2023-22485.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-22485","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-22485"},"summary":{"title":"CVE-2023-22485","description":"cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. In versions prior 0.29.0.gfm.7, a crafted markdown document can trigger an out-of-bounds read in the `validate_protocol` function. We believe this bug is harmless in practice, because the out-of-bounds read accesses `malloc` metadata without causing any visible damage.This vulnerability has been patched in 0.29.0.gfm.7.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-01-24 01:15:00","updated_at":"2023-02-02 14:11:00"},"problem_types":["CWE-91"],"metrics":[],"references":[{"url":"https://github.com/github/cmark-gfm/security/advisories/GHSA-c944-cv5f-hpvr","name":"https://github.com/github/cmark-gfm/security/advisories/GHSA-c944-cv5f-hpvr","refsource":"MISC","tags":[],"title":"out-of-bounds read in validate_protocol · Advisory · github/cmark-gfm · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-22485","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22485","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"22485","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"github","cpe5":"cmark-gfm","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-22485","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. In versions prior 0.29.0.gfm.7, a crafted markdown document can trigger an out-of-bounds read in the `validate_protocol` function. We believe this bug is harmless in practice, because the out-of-bounds read accesses `malloc` metadata without causing any visible damage.This vulnerability has been patched in 0.29.0.gfm.7."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-125: Out-of-bounds Read","cweId":"CWE-125"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"github","product":{"product_data":[{"product_name":"cmark-gfm","version":{"version_data":[{"version_value":"< 0.29.0.gfm.7","version_affected":"="}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/github/cmark-gfm/security/advisories/GHSA-c944-cv5f-hpvr","refsource":"MISC","name":"https://github.com/github/cmark-gfm/security/advisories/GHSA-c944-cv5f-hpvr"}]},"source":{"advisory":"GHSA-c944-cv5f-hpvr","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}]}},"nvd":{"publishedDate":"2023-01-24 01:15:00","lastModifiedDate":"2023-02-02 14:11:00","problem_types":["CWE-91"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":3.9,"impactScore":1.4}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:github:cmark-gfm:*:*:*:*:*:*:*:*","versionEndExcluding":"0.29.0.gfm.7","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}