{"api_version":"1","generated_at":"2026-04-20T17:26:13+00:00","cve":"CVE-2023-40305","urls":{"html":"https://cve.report/CVE-2023-40305","api":"https://cve.report/api/cve/CVE-2023-40305.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-40305","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-40305"},"summary":{"title":"CVE-2023-40305","description":"GNU indent 2.2.13 has a heap-based buffer overflow in search_brace in indent.c via a crafted file.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2023-08-14 06:15:00","updated_at":"2023-11-07 04:20:00"},"problem_types":["CWE-787"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4MIUH3F63KQJWYR3FLKRZUYYRJOY6FYX/","name":"FEDORA-2023-67d8bcb63c","refsource":"","tags":[],"title":"[SECURITY] Fedora 37 Update: indent-2.2.13-4.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4MIUH3F63KQJWYR3FLKRZUYYRJOY6FYX/","name":"FEDORA-2023-67d8bcb63c","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 37 Update: indent-2.2.13-4.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OB6GB6FUFPV5VJAZIANDG4YNNDW6JNXX/","name":"FEDORA-2023-845edc1181","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 39 Update: indent-2.2.13-5.fc39 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OB6GB6FUFPV5VJAZIANDG4YNNDW6JNXX/","name":"FEDORA-2023-845edc1181","refsource":"","tags":[],"title":"[SECURITY] Fedora 39 Update: indent-2.2.13-5.fc39 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://savannah.gnu.org/bugs/index.php?64503","name":"https://savannah.gnu.org/bugs/index.php?64503","refsource":"MISC","tags":[],"title":"GNU indent - Bugs: bug #64503, heap-buffer-overflow overwrite at... [Savannah]","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3W6SL3NKMH5R4S5PD2O3MTC2UR4SBVHK/","name":"FEDORA-2023-b7f5059ee9","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 38 Update: indent-2.2.13-4.fc38 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://ftp.gnu.org/gnu/indent/","name":"https://ftp.gnu.org/gnu/indent/","refsource":"MISC","tags":[],"title":"Index of /gnu/indent","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3W6SL3NKMH5R4S5PD2O3MTC2UR4SBVHK/","name":"FEDORA-2023-b7f5059ee9","refsource":"","tags":[],"title":"[SECURITY] Fedora 38 Update: indent-2.2.13-4.fc38 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-40305","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40305","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"40305","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gnu","cpe5":"indent","cpe6":"2.2.13","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-40305","qid":"199771","title":"Ubuntu Security Notification for Indent Vulnerability (USN-6389-1)"},{"cve":"CVE-2023-40305","qid":"285281","title":"Fedora Security Update for indent (FEDORA-2023-845edc1181)"},{"cve":"CVE-2023-40305","qid":"296108","title":"Oracle Solaris 11.4 Support Repository Update (SRU) 66.164.1 Missing (CPUJAN2024)"},{"cve":"CVE-2023-40305","qid":"356773","title":"Amazon Linux Security Advisory for indent : ALAS2-2023-2358"},{"cve":"CVE-2023-40305","qid":"673615","title":"EulerOS Security Update for indent (EulerOS-SA-2024-1274)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2023-40305","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"GNU indent 2.2.13 has a heap-based buffer overflow in search_brace in indent.c via a crafted file."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://savannah.gnu.org/bugs/index.php?64503","refsource":"MISC","name":"https://savannah.gnu.org/bugs/index.php?64503"},{"url":"https://ftp.gnu.org/gnu/indent/","refsource":"MISC","name":"https://ftp.gnu.org/gnu/indent/"},{"refsource":"FEDORA","name":"FEDORA-2023-b7f5059ee9","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3W6SL3NKMH5R4S5PD2O3MTC2UR4SBVHK/"},{"refsource":"FEDORA","name":"FEDORA-2023-67d8bcb63c","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4MIUH3F63KQJWYR3FLKRZUYYRJOY6FYX/"},{"refsource":"FEDORA","name":"FEDORA-2023-845edc1181","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OB6GB6FUFPV5VJAZIANDG4YNNDW6JNXX/"}]}},"nvd":{"publishedDate":"2023-08-14 06:15:00","lastModifiedDate":"2023-11-07 04:20:00","problem_types":["CWE-787"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.8,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gnu:indent:2.2.13:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}