{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2012-5195 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2012-5195 is a high-severity memory corruption vulnerability in n/a, published on 18 Dec 2012."},"fix_prompt":"Check this codebase for CVE-2012-5195 and fix it if it is affected.\n\nWhat it is: CVE-2012-5195 is a high-severity memory corruption vulnerability in n/a, published on 18 Dec 2012. \nExploitation: There is no known exploitation of CVE-2012-5195 in the wild and no public exploit code.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2012-5195/ (Markdown: https://insights.sbomify.com/CVE-2012-5195/index.md)","id":"CVE-2012-5195","markdown":"https://insights.sbomify.com/CVE-2012-5195/index.md","name":"CVE-2012-5195","record":{"aliases":["DEBIAN-CVE-2012-5195","GHSA-6768-qw7m-q528"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"unknown","non_default_config":false,"product_category":"Perl programming language","requires_auth":"unknown","summary":"Heap-based buffer overflow in Perl's repeat operator allows attackers to cause denial of service or execute arbitrary code.","user_interaction":"unknown","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"perl","vendor":"perl"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"Heap-based buffer overflow in the Perl_repeatcpy function in util.c in Perl 5.12.x before 5.12.5, 5.14.x before 5.14.3, and 5.15.x before 15.15.5 allows context-dependent attackers to cause a denial of service (memory consumption and crash) or possibly execute arbitrary code via the 'x' string repeat operator.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2012-5195","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2012"},"n_packages":0,"n_references":16,"next":{"headline":"Memory corruption in n/a","id":"CVE-2012-5196"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2012-5193"},"products":["n/a"],"published":"2012-12-18","related":[{"cvss_score":9.8,"headline":"Supply chain in perl","id":"CVE-2026-4176","kev_date_added":null,"published":"2026-03-29"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2022-48522","kev_date_added":null,"published":"2023-08-22"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-12814","kev_date_added":null,"published":"2017-09-27"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2015-8608","kev_date_added":null,"published":"2017-02-07"},{"cvss_score":9.1,"headline":"Integer overflow in perl:perl","id":"CVE-2026-13221","kev_date_added":null,"published":"2026-07-13"},{"cvss_score":9.1,"headline":"Memory corruption in n/a","id":"CVE-2017-12883","kev_date_added":null,"published":"2017-09-19"},{"cvss_score":8.4,"headline":"Integer overflow in perl:perl","id":"CVE-2026-57432","kev_date_added":null,"published":"2026-07-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Heap-based buffer overflow in Perl's repeat operator allows attackers to cause denial of service or execute arbitrary code.","url":"https://insights.sbomify.com/CVE-2012-5195/"}