{"answers":{"affected":"It affects 4 products.","exploited":"There is no known exploitation of CVE-2007-5116 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2007-5116 is a high-severity memory corruption vulnerability in Redhat Enterprise Linux, published on 7 Nov 2007. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2007-5116 and fix it if it is affected.\n\nWhat it is: CVE-2007-5116 is a high-severity memory corruption vulnerability in Redhat Enterprise Linux, published on 7 Nov 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2007-5116 in the wild and no public exploit code.\n\nAffected product: Redhat Enterprise Linux. 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-2007-5116/ (Markdown: https://insights.sbomify.com/CVE-2007-5116/index.md)","id":"CVE-2007-5116","markdown":"https://insights.sbomify.com/CVE-2007-5116/index.md","name":"CVE-2007-5116","record":{"aliases":["DEBIAN-CVE-2007-5116","DSA-1400-1","DTSA-78-1","GHSA-3wp4-6pwm-vcxj","RHSA-2007:0966","RHSA-2007:1011"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Perl regex engine","requires_auth":"none","summary":"A buffer overflow in Perl's regex engine allows remote attackers to execute arbitrary code via crafted Unicode regular expressions.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"perl","vendor":"larry_wall"},{"product":"mandrake_multi_network_firewall","vendor":"mandrakesoft"},{"product":"openpkg","vendor":"openpkg"},{"product":"enterprise_linux","vendor":"redhat"}],"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":"Buffer overflow in the polymorphic opcode support in the Regular Expression Engine (regcomp.c) in Perl 5.8 allows context-dependent attackers to execute arbitrary code by switching from byte to Unicode (UTF) characters in a regular expression.","ecosystems":["Red Hat:enterprise_linux:3::as","Red Hat:enterprise_linux:3::desktop","Red Hat:enterprise_linux:3::es","Red Hat:enterprise_linux:3::ws","Red Hat:enterprise_linux:4::as","Red Hat:enterprise_linux:4::desktop","Red Hat:enterprise_linux:4::es","Red Hat:enterprise_linux:4::ws","Red Hat:enterprise_linux:5::client","Red Hat:enterprise_linux:5::server","Red Hat:rhel_application_stack:1"],"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-2007-5116","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:enterprise_linux","products":["redhat:enterprise_linux"],"type":"memory_corruption","year":"2007"},"n_packages":45,"n_references":54,"next":{"headline":"Code injection in n/a","id":"CVE-2007-5117"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["2:5.8.0-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl","purl":"pkg:rpm/redhat/perl","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["2:2.89-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl-CGI","purl":"pkg:rpm/redhat/perl-CGI","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["2:1.61-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl-CPAN","purl":"pkg:rpm/redhat/perl-CPAN","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["2:1.806-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl-DB_File","purl":"pkg:rpm/redhat/perl-DB_File","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["2:5.8.0-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl-debuginfo","purl":"pkg:rpm/redhat/perl-debuginfo","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["2:5.8.0-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl-suidperl","purl":"pkg:rpm/redhat/perl-suidperl","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["2:5.8.0-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl","purl":"pkg:rpm/redhat/perl","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["2:2.89-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl-CGI","purl":"pkg:rpm/redhat/perl-CGI","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["2:1.61-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl-CPAN","purl":"pkg:rpm/redhat/perl-CPAN","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["2:1.806-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl-DB_File","purl":"pkg:rpm/redhat/perl-DB_File","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["2:5.8.0-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl-debuginfo","purl":"pkg:rpm/redhat/perl-debuginfo","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["2:5.8.0-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl-suidperl","purl":"pkg:rpm/redhat/perl-suidperl","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["2:5.8.0-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl","purl":"pkg:rpm/redhat/perl","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["2:2.89-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl-CGI","purl":"pkg:rpm/redhat/perl-CGI","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["2:1.61-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl-CPAN","purl":"pkg:rpm/redhat/perl-CPAN","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["2:1.806-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl-DB_File","purl":"pkg:rpm/redhat/perl-DB_File","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["2:5.8.0-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl-debuginfo","purl":"pkg:rpm/redhat/perl-debuginfo","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["2:5.8.0-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl-suidperl","purl":"pkg:rpm/redhat/perl-suidperl","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["2:5.8.0-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl","purl":"pkg:rpm/redhat/perl","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["2:2.89-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl-CGI","purl":"pkg:rpm/redhat/perl-CGI","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["2:1.61-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl-CPAN","purl":"pkg:rpm/redhat/perl-CPAN","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["2:1.806-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl-DB_File","purl":"pkg:rpm/redhat/perl-DB_File","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["2:5.8.0-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl-debuginfo","purl":"pkg:rpm/redhat/perl-debuginfo","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["2:5.8.0-97.EL3"],"introduced":["0"],"last_affected":[],"package":"perl-suidperl","purl":"pkg:rpm/redhat/perl-suidperl","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["3:5.8.5-36.el4_5.2"],"introduced":["0"],"last_affected":[],"package":"perl","purl":"pkg:rpm/redhat/perl","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["3:5.8.5-36.el4_5.2"],"introduced":["0"],"last_affected":[],"package":"perl-debuginfo","purl":"pkg:rpm/redhat/perl-debuginfo","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["3:5.8.5-36.el4_5.2"],"introduced":["0"],"last_affected":[],"package":"perl-suidperl","purl":"pkg:rpm/redhat/perl-suidperl","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["3:5.8.5-36.el4_5.2"],"introduced":["0"],"last_affected":[],"package":"perl","purl":"pkg:rpm/redhat/perl","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["3:5.8.5-36.el4_5.2"],"introduced":["0"],"last_affected":[],"package":"perl-debuginfo","purl":"pkg:rpm/redhat/perl-debuginfo","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["3:5.8.5-36.el4_5.2"],"introduced":["0"],"last_affected":[],"package":"perl-suidperl","purl":"pkg:rpm/redhat/perl-suidperl","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["3:5.8.5-36.el4_5.2"],"introduced":["0"],"last_affected":[],"package":"perl","purl":"pkg:rpm/redhat/perl","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["3:5.8.5-36.el4_5.2"],"introduced":["0"],"last_affected":[],"package":"perl-debuginfo","purl":"pkg:rpm/redhat/perl-debuginfo","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["3:5.8.5-36.el4_5.2"],"introduced":["0"],"last_affected":[],"package":"perl-suidperl","purl":"pkg:rpm/redhat/perl-suidperl","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["3:5.8.5-36.el4_5.2"],"introduced":["0"],"last_affected":[],"package":"perl","purl":"pkg:rpm/redhat/perl","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["3:5.8.5-36.el4_5.2"],"introduced":["0"],"last_affected":[],"package":"perl-debuginfo","purl":"pkg:rpm/redhat/perl-debuginfo","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["3:5.8.5-36.el4_5.2"],"introduced":["0"],"last_affected":[],"package":"perl-suidperl","purl":"pkg:rpm/redhat/perl-suidperl","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["4:5.8.8-10.el5_0.2"],"introduced":["0"],"last_affected":[],"package":"perl","purl":"pkg:rpm/redhat/perl","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["4:5.8.8-10.el5_0.2"],"introduced":["0"],"last_affected":[],"package":"perl-debuginfo","purl":"pkg:rpm/redhat/perl-debuginfo","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["4:5.8.8-10.el5_0.2"],"introduced":["0"],"last_affected":[],"package":"perl-suidperl","purl":"pkg:rpm/redhat/perl-suidperl","source":"RHSA-2007:0966"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["4:5.8.8-10.el5_0.2"],"introduced":["0"],"last_affected":[],"package":"perl","purl":"pkg:rpm/redhat/perl","source":"RHSA-2007:0966"}],"prev":{"headline":"Code injection in n/a","id":"CVE-2007-5115"},"products":["n/a"],"published":"2007-11-07","related":[{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-2005-4278","kev_date_added":null,"published":"2005-12-16"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-2000-0703","kev_date_added":null,"published":"2000-10-13"},{"cvss_score":5,"headline":"Weak cryptography in n/a","id":"CVE-2003-0900","kev_date_added":null,"published":"2005-04-14"},{"cvss_score":4.6,"headline":"Privilege escalation in n/a","id":"CVE-2005-0155","kev_date_added":null,"published":"2005-02-07"},{"cvss_score":2.6,"headline":"Race condition in n/a","id":"CVE-2004-0452","kev_date_added":null,"published":"2004-12-31"},{"cvss_score":2.1,"headline":"Path traversal in n/a","id":"CVE-2004-0976","kev_date_added":null,"published":"2004-10-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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-07","vendors":["n/a"]},"summary":"A buffer overflow in Perl's regex engine allows remote attackers to execute arbitrary code via crafted Unicode regular expressions.","url":"https://insights.sbomify.com/CVE-2007-5116/"}