{"answers":{"affected":"It affects 6 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-0689 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2009-0689 is a medium-severity memory corruption vulnerability in Freebsd Freebsd, published on 1 Jul 2009. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2009-0689 and fix it if it is affected.\n\nWhat it is: CVE-2009-0689 is a medium-severity memory corruption vulnerability in Freebsd Freebsd, published on 1 Jul 2009. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-0689 exists.\n\nAffected product: Freebsd Freebsd. 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-2009-0689/ (Markdown: https://insights.sbomify.com/CVE-2009-0689/index.md)","id":"CVE-2009-0689","markdown":"https://insights.sbomify.com/CVE-2009-0689/index.md","name":"CVE-2009-0689","record":{"aliases":["CVE-2009-1563","DEBIAN-CVE-2009-0689","DLA-1564-1","DLA-376-1","DSA-1998-1","GHSA-99jp-rppc-jgcm","MGASA-2016-0013","RHSA-2009:1601","RHSA-2014:0312"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"libc floating-point library","requires_auth":"none","summary":"A heap-based buffer overflow in libc's dtoa implementation allows attackers to cause denial of service or execute arbitrary code via crafted printf arguments.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"certcc","cpe":[{"product":"freebsd","vendor":"freebsd"},{"product":"k-meleon","vendor":"k-meleon_project"},{"product":"firefox","vendor":"mozilla"},{"product":"seamonkey","vendor":"mozilla"},{"product":"netbsd","vendor":"netbsd"},{"product":"openbsd","vendor":"openbsd"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/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":"Array index error in the (1) dtoa implementation in dtoa.c (aka pdtoa.c) and the (2) gdtoa (aka new dtoa) implementation in gdtoa/misc.c in libc, as used in multiple operating systems and products including in FreeBSD 6.4 and 7.2, NetBSD 5.0, OpenBSD 4.5, Mozilla Firefox 3.0.x before 3.0.15 and 3.5.x before 3.5.4, K-Meleon 1.5.3, SeaMonkey 1.1.8, and other products, allows context-dependent attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a large precision value in the format argument to a printf function, which triggers incorrect memory allocation and a heap-based buffer overflow during conversion to a floating-point number.","ecosystems":["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::client_workstation","Red Hat:enterprise_linux:5::server","Red Hat:rhel_eus:5.9","Red Hat:rhel_mission_critical:5.3","Red Hat:rhel_mission_critical:5.6"],"exploits":{"exploitdb":11,"first_seen":"2009-05-26","github_poc":1,"max_poc_stars":88,"metasploit":0,"nuclei":0,"refs":[{"date":"2018-12-18T04:24:43Z","kind":"github_poc","ref":"https://github.com/Fullmetal5/str2hax","stars":88,"title":"An implementation of CVE-2009-0689 for the Nintendo Wii."},{"date":"2009-05-26","kind":"exploitdb","ref":"33058","stars":null,"title":"BSD (Multiple Distributions) - 'gdtoa/misc.c' Memory Corruption"},{"date":"2009-10-27","kind":"exploitdb","ref":"33312","stars":null,"title":"Mozilla Firefox 3.5.3 - Floating Point Conversion Heap Overflow"},{"date":"2009-11-19","kind":"exploitdb","ref":"10184","stars":null,"title":"KDE KDELibs 4.3.3 - Remote Array Overrun"},{"date":"2009-11-19","kind":"exploitdb","ref":"10185","stars":null,"title":"SeaMonkey 1.1.8 - Remote Array Overrun"},{"date":"2009-11-19","kind":"exploitdb","ref":"10186","stars":null,"title":"K-Meleon 1.5.3 - Remote Array Overrun"},{"date":"2009-11-19","kind":"exploitdb","ref":"10187","stars":null,"title":"Opera 10.01 - Remote Array Overrun"},{"date":"2009-11-20","kind":"exploitdb","ref":"33363","stars":null,"title":"Opera Web Browser 10.01 - 'dtoa()' Remote Code Execution"}],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2009-0689","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"freebsd:freebsd","products":["freebsd:freebsd","mozilla:firefox","mozilla:seamonkey","netbsd:netbsd","openbsd:openbsd"],"type":"memory_corruption","year":"2009"},"n_packages":82,"n_references":53,"next":{"headline":"Memory corruption in n/a","id":"CVE-2009-0690"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["6:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs","purl":"pkg:rpm/redhat/kdelibs","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["6:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs-debuginfo","purl":"pkg:rpm/redhat/kdelibs-debuginfo","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["6:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs-devel","purl":"pkg:rpm/redhat/kdelibs-devel","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["6:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs","purl":"pkg:rpm/redhat/kdelibs","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["6:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs-debuginfo","purl":"pkg:rpm/redhat/kdelibs-debuginfo","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["6:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs-devel","purl":"pkg:rpm/redhat/kdelibs-devel","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["6:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs","purl":"pkg:rpm/redhat/kdelibs","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["6:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs-debuginfo","purl":"pkg:rpm/redhat/kdelibs-debuginfo","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["6:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs-devel","purl":"pkg:rpm/redhat/kdelibs-devel","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["6:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs","purl":"pkg:rpm/redhat/kdelibs","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["6:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs-debuginfo","purl":"pkg:rpm/redhat/kdelibs-debuginfo","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["6:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs-devel","purl":"pkg:rpm/redhat/kdelibs-devel","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["6:3.5.4-25.el5_4.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs","purl":"pkg:rpm/redhat/kdelibs","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["6:3.5.4-25.el5_4.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs-apidocs","purl":"pkg:rpm/redhat/kdelibs-apidocs","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["6:3.5.4-25.el5_4.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs-debuginfo","purl":"pkg:rpm/redhat/kdelibs-debuginfo","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["6:3.5.4-25.el5_4.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs","purl":"pkg:rpm/redhat/kdelibs","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["6:3.5.4-25.el5_4.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs-debuginfo","purl":"pkg:rpm/redhat/kdelibs-debuginfo","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["6:3.5.4-25.el5_4.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs-devel","purl":"pkg:rpm/redhat/kdelibs-devel","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["6:3.5.4-25.el5_4.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs","purl":"pkg:rpm/redhat/kdelibs","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["6:3.5.4-25.el5_4.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs-apidocs","purl":"pkg:rpm/redhat/kdelibs-apidocs","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["6:3.5.4-25.el5_4.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs-debuginfo","purl":"pkg:rpm/redhat/kdelibs-debuginfo","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["6:3.5.4-25.el5_4.1"],"introduced":["0"],"last_affected":[],"package":"kdelibs-devel","purl":"pkg:rpm/redhat/kdelibs-devel","source":"RHSA-2009:1601"},{"ecosystem":"Red Hat:rhel_eus:5.9","fixed":["0:5.1.6-40.el5_9.2"],"introduced":["0"],"last_affected":[],"package":"php","purl":"pkg:rpm/redhat/php","source":"RHSA-2014:0312"},{"ecosystem":"Red Hat:rhel_eus:5.9","fixed":["0:5.1.6-40.el5_9.2"],"introduced":["0"],"last_affected":[],"package":"php-bcmath","purl":"pkg:rpm/redhat/php-bcmath","source":"RHSA-2014:0312"},{"ecosystem":"Red Hat:rhel_eus:5.9","fixed":["0:5.1.6-40.el5_9.2"],"introduced":["0"],"last_affected":[],"package":"php-cli","purl":"pkg:rpm/redhat/php-cli","source":"RHSA-2014:0312"},{"ecosystem":"Red Hat:rhel_eus:5.9","fixed":["0:5.1.6-40.el5_9.2"],"introduced":["0"],"last_affected":[],"package":"php-common","purl":"pkg:rpm/redhat/php-common","source":"RHSA-2014:0312"},{"ecosystem":"Red Hat:rhel_eus:5.9","fixed":["0:5.1.6-40.el5_9.2"],"introduced":["0"],"last_affected":[],"package":"php-dba","purl":"pkg:rpm/redhat/php-dba","source":"RHSA-2014:0312"},{"ecosystem":"Red Hat:rhel_eus:5.9","fixed":["0:5.1.6-40.el5_9.2"],"introduced":["0"],"last_affected":[],"package":"php-debuginfo","purl":"pkg:rpm/redhat/php-debuginfo","source":"RHSA-2014:0312"},{"ecosystem":"Red Hat:rhel_eus:5.9","fixed":["0:5.1.6-40.el5_9.2"],"introduced":["0"],"last_affected":[],"package":"php-devel","purl":"pkg:rpm/redhat/php-devel","source":"RHSA-2014:0312"},{"ecosystem":"Red Hat:rhel_eus:5.9","fixed":["0:5.1.6-40.el5_9.2"],"introduced":["0"],"last_affected":[],"package":"php-gd","purl":"pkg:rpm/redhat/php-gd","source":"RHSA-2014:0312"},{"ecosystem":"Red Hat:rhel_eus:5.9","fixed":["0:5.1.6-40.el5_9.2"],"introduced":["0"],"last_affected":[],"package":"php-imap","purl":"pkg:rpm/redhat/php-imap","source":"RHSA-2014:0312"},{"ecosystem":"Red Hat:rhel_eus:5.9","fixed":["0:5.1.6-40.el5_9.2"],"introduced":["0"],"last_affected":[],"package":"php-ldap","purl":"pkg:rpm/redhat/php-ldap","source":"RHSA-2014:0312"},{"ecosystem":"Red Hat:rhel_eus:5.9","fixed":["0:5.1.6-40.el5_9.2"],"introduced":["0"],"last_affected":[],"package":"php-mbstring","purl":"pkg:rpm/redhat/php-mbstring","source":"RHSA-2014:0312"},{"ecosystem":"Red Hat:rhel_eus:5.9","fixed":["0:5.1.6-40.el5_9.2"],"introduced":["0"],"last_affected":[],"package":"php-mysql","purl":"pkg:rpm/redhat/php-mysql","source":"RHSA-2014:0312"},{"ecosystem":"Red Hat:rhel_eus:5.9","fixed":["0:5.1.6-40.el5_9.2"],"introduced":["0"],"last_affected":[],"package":"php-ncurses","purl":"pkg:rpm/redhat/php-ncurses","source":"RHSA-2014:0312"},{"ecosystem":"Red Hat:rhel_eus:5.9","fixed":["0:5.1.6-40.el5_9.2"],"introduced":["0"],"last_affected":[],"package":"php-odbc","purl":"pkg:rpm/redhat/php-odbc","source":"RHSA-2014:0312"},{"ecosystem":"Red Hat:rhel_eus:5.9","fixed":["0:5.1.6-40.el5_9.2"],"introduced":["0"],"last_affected":[],"package":"php-pdo","purl":"pkg:rpm/redhat/php-pdo","source":"RHSA-2014:0312"},{"ecosystem":"Red Hat:rhel_eus:5.9","fixed":["0:5.1.6-40.el5_9.2"],"introduced":["0"],"last_affected":[],"package":"php-pgsql","purl":"pkg:rpm/redhat/php-pgsql","source":"RHSA-2014:0312"},{"ecosystem":"Red Hat:rhel_eus:5.9","fixed":["0:5.1.6-40.el5_9.2"],"introduced":["0"],"last_affected":[],"package":"php-snmp","purl":"pkg:rpm/redhat/php-snmp","source":"RHSA-2014:0312"},{"ecosystem":"Red Hat:rhel_eus:5.9","fixed":["0:5.1.6-40.el5_9.2"],"introduced":["0"],"last_affected":[],"package":"php-soap","purl":"pkg:rpm/redhat/php-soap","source":"RHSA-2014:0312"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2009-0688"},"products":["n/a"],"published":"2009-07-01","related":[{"cvss_score":10,"headline":"Memory corruption in FreeBSD","id":"CVE-2018-17160","kev_date_added":null,"published":"2018-12-04"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2014-3954","kev_date_added":null,"published":"2014-10-27"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2006-4304","kev_date_added":null,"published":"2006-08-24"},{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2006-0226","kev_date_added":null,"published":"2006-01-19"},{"cvss_score":10,"headline":"Denial of service in n/a","id":"CVE-2004-0002","kev_date_added":null,"published":"2004-02-03"},{"cvss_score":10,"headline":"Security feature bypass in n/a","id":"CVE-2001-0969","kev_date_added":null,"published":"2002-03-09"},{"cvss_score":10,"headline":"Denial of service in n/a","id":"CVE-2001-0388","kev_date_added":null,"published":"2001-09-18"}],"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"A heap-based buffer overflow in libc's dtoa implementation allows attackers to cause denial of service or execute arbitrary code via crafted printf arguments.","url":"https://insights.sbomify.com/CVE-2009-0689/"}