{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-13151 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-13151 is a high-severity memory corruption vulnerability in GnuTLS libtasn1, published on 7 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-13151 and fix it if it is affected.\n\nWhat it is: CVE-2025-13151 is a high-severity memory corruption vulnerability in GnuTLS libtasn1, published on 7 Jan 2026. 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-2025-13151 in the wild and no public exploit code.\n\nAffected product: GnuTLS libtasn1. 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-2025-13151/ (Markdown: https://insights.sbomify.com/CVE-2025-13151/index.md)","id":"CVE-2025-13151","markdown":"https://insights.sbomify.com/CVE-2025-13151/index.md","name":"CVE-2025-13151","record":{"aliases":["ALPINE-CVE-2025-13151","ALSA-2026:28235","ALSA-2026:28253","ALSA-2026:36728","AZL-73664","AZL-74006","AZL-74046","AZL-74070","BELL-CVE-2025-13151","CLEANSTART-2026-CD76162","CLSA-2026-1776184861","CLSA-2026-1776328800","DEBIAN-CVE-2025-13151","ECHO-3bb0-6190-9618","GHSA-f433-vfwr-65r3","MGASA-2026-0007","MINI-grw5-9f78-8x2q","OESA-2026-1178","OESA-2026-1179","OESA-2026-1180","OESA-2026-1181","OESA-2026-1182","OESA-2026-1183","OESA-2026-1232","RHSA-2026:28235","RHSA-2026:28253","RHSA-2026:36728","RHSA-2026:7500","RLSA-2026:28235","RLSA-2026:28253","RLSA-2026:36728","ROOT-OS-ALPINE-319-CVE-2025-13151","ROOT-OS-DEBIAN-11-CVE-2025-13151","ROOT-OS-DEBIAN-12-CVE-2025-13151","SUSE-SU-2026:0118-1","SUSE-SU-2026:0224-1","SUSE-SU-2026:20051-1","SUSE-SU-2026:20355-1","SUSE-SU-2026:21001-1","SUSE-SU-2026:21142-1","openSUSE-SU-2026:10033-1","openSUSE-SU-2026:20470-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"ASN.1 parsing library","requires_auth":"none","summary":"A stack-based buffer overflow in libtasn1 allows attackers to execute arbitrary code or cause denial of service via malformed ASN.1 data.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"certcc","cpe":[{"product":"libtasn1","vendor":"gnu"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"Stack-based buffer overflow in libtasn1 version: v4.20.0. The function fails to validate the size of input data resulting in a buffer overflow in asn1_expend_octet_string.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:hummingbird:1","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Enterprise Server for SAP applications 16.0","SUSE:Linux Micro 6.0","SUSE:Linux Micro 6.1","SUSE:Linux Micro 6.2","openSUSE:Leap 15.6","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"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":"CVE-2025-13151","id":"CVE-2025-13151","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2025"},"n_packages":53,"n_references":2,"next":{"headline":"Privilege escalation in One Client","id":"CVE-2025-13152"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["4.20.0-5.el10_2"],"introduced":["0"],"last_affected":[],"package":"libtasn1","purl":"pkg:rpm/almalinux/libtasn1","source":"ALSA-2026:28235"},{"ecosystem":"AlmaLinux:10","fixed":["4.20.0-5.el10_2"],"introduced":["0"],"last_affected":[],"package":"libtasn1-devel","purl":"pkg:rpm/almalinux/libtasn1-devel","source":"ALSA-2026:28235"},{"ecosystem":"AlmaLinux:10","fixed":["4.20.0-5.el10_2"],"introduced":["0"],"last_affected":[],"package":"libtasn1-tools","purl":"pkg:rpm/almalinux/libtasn1-tools","source":"ALSA-2026:28235"},{"ecosystem":"AlmaLinux:8","fixed":["4.13-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libtasn1","purl":"pkg:rpm/almalinux/libtasn1","source":"ALSA-2026:36728"},{"ecosystem":"AlmaLinux:8","fixed":["4.13-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libtasn1-devel","purl":"pkg:rpm/almalinux/libtasn1-devel","source":"ALSA-2026:36728"},{"ecosystem":"AlmaLinux:8","fixed":["4.13-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libtasn1-tools","purl":"pkg:rpm/almalinux/libtasn1-tools","source":"ALSA-2026:36728"},{"ecosystem":"AlmaLinux:9","fixed":["4.16.0-10.el9_8"],"introduced":["0"],"last_affected":[],"package":"libtasn1","purl":"pkg:rpm/almalinux/libtasn1","source":"ALSA-2026:28253"},{"ecosystem":"AlmaLinux:9","fixed":["4.16.0-10.el9_8"],"introduced":["0"],"last_affected":[],"package":"libtasn1-devel","purl":"pkg:rpm/almalinux/libtasn1-devel","source":"ALSA-2026:28253"},{"ecosystem":"AlmaLinux:9","fixed":["4.16.0-10.el9_8"],"introduced":["0"],"last_affected":[],"package":"libtasn1-tools","purl":"pkg:rpm/almalinux/libtasn1-tools","source":"ALSA-2026:28253"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:4.20.0-5.el10_2"],"introduced":["0"],"last_affected":[],"package":"libtasn1","purl":"pkg:rpm/redhat/libtasn1","source":"RHSA-2026:28235"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:4.20.0-5.el10_2"],"introduced":["0"],"last_affected":[],"package":"libtasn1-debuginfo","purl":"pkg:rpm/redhat/libtasn1-debuginfo","source":"RHSA-2026:28235"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:4.20.0-5.el10_2"],"introduced":["0"],"last_affected":[],"package":"libtasn1-debugsource","purl":"pkg:rpm/redhat/libtasn1-debugsource","source":"RHSA-2026:28235"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:4.20.0-5.el10_2"],"introduced":["0"],"last_affected":[],"package":"libtasn1-devel","purl":"pkg:rpm/redhat/libtasn1-devel","source":"RHSA-2026:28235"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:4.20.0-5.el10_2"],"introduced":["0"],"last_affected":[],"package":"libtasn1-tools","purl":"pkg:rpm/redhat/libtasn1-tools","source":"RHSA-2026:28235"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:4.20.0-5.el10_2"],"introduced":["0"],"last_affected":[],"package":"libtasn1-tools-debuginfo","purl":"pkg:rpm/redhat/libtasn1-tools-debuginfo","source":"RHSA-2026:28235"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:4.13-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libtasn1-debuginfo","purl":"pkg:rpm/redhat/libtasn1-debuginfo","source":"RHSA-2026:36728"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:4.13-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libtasn1-debugsource","purl":"pkg:rpm/redhat/libtasn1-debugsource","source":"RHSA-2026:36728"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:4.13-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libtasn1-devel","purl":"pkg:rpm/redhat/libtasn1-devel","source":"RHSA-2026:36728"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:4.13-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libtasn1-tools","purl":"pkg:rpm/redhat/libtasn1-tools","source":"RHSA-2026:36728"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:4.13-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libtasn1-tools-debuginfo","purl":"pkg:rpm/redhat/libtasn1-tools-debuginfo","source":"RHSA-2026:36728"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:4.13-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libtasn1","purl":"pkg:rpm/redhat/libtasn1","source":"RHSA-2026:36728"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:4.13-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libtasn1-debuginfo","purl":"pkg:rpm/redhat/libtasn1-debuginfo","source":"RHSA-2026:36728"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:4.13-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libtasn1-debugsource","purl":"pkg:rpm/redhat/libtasn1-debugsource","source":"RHSA-2026:36728"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:4.13-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libtasn1-tools-debuginfo","purl":"pkg:rpm/redhat/libtasn1-tools-debuginfo","source":"RHSA-2026:36728"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:4.16.0-10.el9_8"],"introduced":["0"],"last_affected":[],"package":"libtasn1-debuginfo","purl":"pkg:rpm/redhat/libtasn1-debuginfo","source":"RHSA-2026:28253"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:4.16.0-10.el9_8"],"introduced":["0"],"last_affected":[],"package":"libtasn1-debugsource","purl":"pkg:rpm/redhat/libtasn1-debugsource","source":"RHSA-2026:28253"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:4.16.0-10.el9_8"],"introduced":["0"],"last_affected":[],"package":"libtasn1-devel","purl":"pkg:rpm/redhat/libtasn1-devel","source":"RHSA-2026:28253"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:4.16.0-10.el9_8"],"introduced":["0"],"last_affected":[],"package":"libtasn1-tools","purl":"pkg:rpm/redhat/libtasn1-tools","source":"RHSA-2026:28253"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:4.16.0-10.el9_8"],"introduced":["0"],"last_affected":[],"package":"libtasn1-tools-debuginfo","purl":"pkg:rpm/redhat/libtasn1-tools-debuginfo","source":"RHSA-2026:28253"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:4.16.0-10.el9_8"],"introduced":["0"],"last_affected":[],"package":"libtasn1","purl":"pkg:rpm/redhat/libtasn1","source":"RHSA-2026:28253"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:4.16.0-10.el9_8"],"introduced":["0"],"last_affected":[],"package":"libtasn1-debuginfo","purl":"pkg:rpm/redhat/libtasn1-debuginfo","source":"RHSA-2026:28253"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:4.16.0-10.el9_8"],"introduced":["0"],"last_affected":[],"package":"libtasn1-debugsource","purl":"pkg:rpm/redhat/libtasn1-debugsource","source":"RHSA-2026:28253"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:4.16.0-10.el9_8"],"introduced":["0"],"last_affected":[],"package":"libtasn1-tools-debuginfo","purl":"pkg:rpm/redhat/libtasn1-tools-debuginfo","source":"RHSA-2026:28253"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:4.21.0-1.1.hum1"],"introduced":["0"],"last_affected":[],"package":"libtasn1","purl":"pkg:rpm/redhat/libtasn1","source":"RHSA-2026:7500"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:4.21.0-1.1.hum1"],"introduced":["0"],"last_affected":[],"package":"libtasn1-devel","purl":"pkg:rpm/redhat/libtasn1-devel","source":"RHSA-2026:7500"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:4.21.0-1.1.hum1"],"introduced":["0"],"last_affected":[],"package":"libtasn1-tools","purl":"pkg:rpm/redhat/libtasn1-tools","source":"RHSA-2026:7500"},{"ecosystem":"Rocky Linux:10","fixed":["0:4.20.0-5.el10_2"],"introduced":["0"],"last_affected":[],"package":"libtasn1","purl":"pkg:rpm/rocky-linux/libtasn1?distro=rocky-linux-10\u0026epoch=0","source":"RLSA-2026:28235"},{"ecosystem":"Rocky Linux:8","fixed":["0:4.13-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libtasn1","purl":"pkg:rpm/rocky-linux/libtasn1?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2026:36728"},{"ecosystem":"Rocky Linux:9","fixed":["0:4.16.0-10.el9_8"],"introduced":["0"],"last_affected":[],"package":"libtasn1","purl":"pkg:rpm/rocky-linux/libtasn1?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2026:28253"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["4.13-150000.4.14.1"],"introduced":["0"],"last_affected":[],"package":"libtasn1","purl":"pkg:rpm/suse/libtasn1\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2026:0224-1"}],"prev":{"headline":"Missing authorization in Schedule Post Changes With PublishPress Future: Unpublish, Delete, Change Status, Trash, Change Categories","id":"CVE-2025-13149"},"products":["libtasn1"],"published":"2026-01-07","related":[{"cvss_score":7.5,"headline":"Null dereference in n/a","id":"CVE-2017-10790","kev_date_added":null,"published":"2017-07-02"},{"cvss_score":5.5,"headline":"Denial of service in n/a","id":"CVE-2018-1000654","kev_date_added":null,"published":"2018-08-20"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"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":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-01-20","vendors":["GnuTLS"]},"summary":"A stack-based buffer overflow in libtasn1 allows attackers to execute arbitrary code or cause denial of service via malformed ASN.1 data.","url":"https://insights.sbomify.com/CVE-2025-13151/"}