{"id":"CVE-2026-58081","aliases":[],"summary":"Heap based buffer overflow in iconv(3)","published_at":"2026-08-19T07:20:26.88Z","modified_at":"2026-10-31T08:38:35Z","products":[],"rating":{"severity":"critical","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.005189999938011169,"percentile":0.45023998618125916,"date":"2026-11-20T00:00:00Z"},"priority":11.8,"record_count":4,"vendors":["Red Hat","BSI"],"details":"Several encoding modules, including HZ, UTF-7, VIQR, and ZW, did not properly check the size of the caller-supplied output buffer before writing converted characters.\n\nAn application that uses iconv(3) to convert untrusted input to or from one of the affected encodings may be vulnerable to buffer overflows if it uses one of the affected encoding modules.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"FreeBSD/FreeBSD","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"15.1-RELEASE"},{"fixed":"p1"}]},{"type":"ECOSYSTEM","events":[{"introduced":"15.0-RELEASE"},{"fixed":"p11"}]},{"type":"ECOSYSTEM","events":[{"introduced":"14.4-RELEASE"},{"fixed":"p7"}]},{"type":"ECOSYSTEM","events":[{"introduced":"14.3-RELEASE"},{"fixed":"p16"}]}],"fixed":["p1","p11","p7","p16"],"provider":"cvelistv5","source":"CVE-2026-58081","relation":"self"},{"ecosystem":"NVD","package":"freebsd:freebsd","versions":["14.3","14.4","15.0","15.1"],"provider":"nvd","source":"CVE-2026-58081","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"not_affected","packages":["php","php-bcmath","php-cli","php-common","php-dba","php-dbg","php-devel","php-embedded","php-enchant","php-ffi","php-fpm","php-gd","php-gmp","php-intl","php-ldap","php-mbstring","php-mysqlnd","php-odbc","php-opcache","php-pdo","php-pgsql","php-process","php-snmp","php-soap","php-xml"],"package_count":25,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-58081"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-2165","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2165","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-06-30T22:00:00Z","modified_at":"2026-08-19T22:00:00Z","summary":"FreeBSD Project FreeBSD OS: Mehrere Schwachstellen","details":"Ein Angreifer kann mehrere Schwachstellen in FreeBSD Project FreeBSD OS ausnutzen, um seine Privilegien zu erhöhen, um Informationen offenzulegen, um Dateien zu manipulieren, um einen Denial of Service Angriff durchzuführen, und um beliebigen Programmcode auszuführen.\n\nFreeBSD ist ein Open Source Betriebssystem aus der BSD Familie und gehört damit zu den Unix Derivaten.","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2026-2165"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2165.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2165"},{"type":"WEB","url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-26:37.vm.asc"},{"type":"WEB","url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-26:38.jail.asc"},{"type":"WEB","url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-26:39.execve.asc"},{"type":"WEB","url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-26:40.zfs.asc"},{"type":"WEB","url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-26:41.libalias.asc"},{"type":"WEB","url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-26:42.unlinkat.asc"},{"type":"WEB","url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-26:43.tcp.asc"},{"type":"WEB","url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-26:44.posixshm.asc"},{"type":"WEB","url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-26:45.audit.asc"},{"type":"WEB","url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-26:46.ktls.asc"},{"type":"WEB","url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-26:47.linux.asc"},{"type":"WEB","url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-26:48.compat32.asc"},{"type":"WEB","url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-26:49.iconv.asc"}]},{"provider":"cvelistv5","source_id":"CVE-2026-58081","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-58081","license":"CC-BY-4.0","published_at":"2026-08-19T07:20:26.88Z","modified_at":"2026-08-26T17:56:34.487Z","summary":"Heap based buffer overflow in iconv(3)","details":"Several encoding modules, including HZ, UTF-7, VIQR, and ZW, did not properly check the size of the caller-supplied output buffer before writing converted characters.\n\nAn application that uses iconv(3) to convert untrusted input to or from one of the affected encodings may be vulnerable to buffer overflows if it uses one of the affected encoding modules.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP:CVE-2026-58081"}],"affected":[{"ecosystem":"CVE","package":"FreeBSD/FreeBSD","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"15.1-RELEASE"},{"fixed":"p1"}]},{"type":"ECOSYSTEM","events":[{"introduced":"15.0-RELEASE"},{"fixed":"p11"}]},{"type":"ECOSYSTEM","events":[{"introduced":"14.4-RELEASE"},{"fixed":"p7"}]},{"type":"ECOSYSTEM","events":[{"introduced":"14.3-RELEASE"},{"fixed":"p16"}]}],"fixed":["p1","p11","p7","p16"],"provider":"cvelistv5","source":"CVE-2026-58081","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:49.iconv.asc"}]},{"provider":"nvd","source_id":"CVE-2026-58081","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58081","severity":[],"affected":[{"ecosystem":"NVD","package":"freebsd:freebsd","versions":["14.3","14.4","15.0","15.1"],"provider":"nvd","source":"CVE-2026-58081","relation":"self"}],"product_status":[],"references":[]},{"provider":"redhat-vex","source_id":"CVE-2026-58081","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-58081","license":"CC-BY-4.0","published_at":"2026-08-19T07:20:26.88Z","modified_at":"2026-10-31T08:38:35Z","summary":"iconv-freebsd: iconv: Heap-based buffer overflow in encoding modules","details":"A flaw was found in iconv. Several encoding modules, including HZ, UTF-7, VIQR, and ZW, did not properly validate the size of the provided output buffer before writing converted characters. This oversight could allow an application using iconv to convert untrusted input with one of the affected encodings to experience buffer overflows, potentially leading to denial of service or arbitrary code execution.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","source":"CVE-2026-58081"},{"type":"Red Hat","score":"Important","source":"CVE-2026-58081"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"not_affected","packages":["php","php-bcmath","php-cli","php-common","php-dba","php-dbg","php-devel","php-embedded","php-enchant","php-ffi","php-fpm","php-gd","php-gmp","php-intl","php-ldap","php-mbstring","php-mysqlnd","php-odbc","php-opcache","php-pdo","php-pgsql","php-process","php-snmp","php-soap","php-xml"],"package_count":25,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-58081"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-58081.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-58081"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2519413"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-58081"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58081"},{"type":"WEB","url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:49.iconv.asc"}]}],"references":[{"type":"ADVISORY","url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:49.iconv.asc"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-58081.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-58081"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2519413"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-58081"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58081"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-2165","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2165","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-08-19T22:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2026-58081","url":"https://www.cve.org/CVERecord?id=CVE-2026-58081","license":"CC-BY-4.0","modified_at":"2026-08-26T17:56:34.487Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2026-58081","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58081","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-58081","url":"https://access.redhat.com/security/cve/CVE-2026-58081","license":"CC-BY-4.0","modified_at":"2026-10-31T08:38:35Z","relation":"self"}]}
