{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-40356 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-40356 is a medium-severity vulnerability in Mit Kerberos 5, published on 28 Apr 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-2026-40356 and fix it if it is affected.\n\nWhat it is: CVE-2026-40356 is a medium-severity vulnerability in Mit Kerberos 5, published on 28 Apr 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-2026-40356 in the wild and no public exploit code.\n\nAffected product: Mit Kerberos 5. 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-2026-40356/ (Markdown: https://insights.sbomify.com/CVE-2026-40356/index.md)","id":"CVE-2026-40356","markdown":"https://insights.sbomify.com/CVE-2026-40356/index.md","name":"CVE-2026-40356","record":{"aliases":["AZL-85238","BELL-CVE-2026-40356","DEBIAN-CVE-2026-40356","ECHO-874c-29e0-d62b","GHSA-f7p3-6rhj-p7jv","JLSEC-2026-1259","RHSA-2026:24683","RHSA-2026:24685","RHSA-2026:24686","UBUNTU-CVE-2026-40356"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Kerberos authentication library","requires_auth":"none","summary":"An unauthenticated remote attacker can cause a denial of service via integer underflow in MIT Kerberos when NegoEx is registered.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"kerberos_5","vendor":"mit"}],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-191","name":"Integer Underflow (Wrap or Wraparound)"}],"description":"In MIT Kerberos 5 (aka krb5) before 1.22.3, there is an integer underflow and resultant out-of-bounds read if an application calls gss_accept_sec_context() on a system with a NegoEx mechanism registered in /etc/gss/mech. An unauthenticated remote attacker can trigger this, possibly causing the process to terminate in parse_message.","ecosystems":["Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_e4s:9.2::baseos","Red Hat:rhel_e4s:9.4::appstream","Red Hat:rhel_e4s:9.4::baseos","Red Hat:rhel_eus:9.6::appstream","Red Hat:rhel_eus:9.6::baseos"],"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":"Integer overflow in Kerberos 5","id":"CVE-2026-40356","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"mit:kerberos_5","products":["mit:kerberos_5"],"type":"integer_overflow","year":"2026"},"n_packages":64,"n_references":3,"next":{"headline":"Microsoft SharePoint Server Remote Code Execution Vulnerability","id":"CVE-2026-40357"},"packages":[{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:1.20.1-9.el9_2.6"],"introduced":["0"],"last_affected":[],"package":"krb5-devel","purl":"pkg:rpm/redhat/krb5-devel","source":"RHSA-2026:24685"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1.20.1-9.el9_2.6"],"introduced":["0"],"last_affected":[],"package":"krb5","purl":"pkg:rpm/redhat/krb5","source":"RHSA-2026:24685"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1.20.1-9.el9_2.6"],"introduced":["0"],"last_affected":[],"package":"krb5-debuginfo","purl":"pkg:rpm/redhat/krb5-debuginfo","source":"RHSA-2026:24685"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1.20.1-9.el9_2.6"],"introduced":["0"],"last_affected":[],"package":"krb5-debugsource","purl":"pkg:rpm/redhat/krb5-debugsource","source":"RHSA-2026:24685"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1.20.1-9.el9_2.6"],"introduced":["0"],"last_affected":[],"package":"krb5-libs","purl":"pkg:rpm/redhat/krb5-libs","source":"RHSA-2026:24685"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1.20.1-9.el9_2.6"],"introduced":["0"],"last_affected":[],"package":"krb5-libs-debuginfo","purl":"pkg:rpm/redhat/krb5-libs-debuginfo","source":"RHSA-2026:24685"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1.20.1-9.el9_2.6"],"introduced":["0"],"last_affected":[],"package":"krb5-pkinit","purl":"pkg:rpm/redhat/krb5-pkinit","source":"RHSA-2026:24685"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1.20.1-9.el9_2.6"],"introduced":["0"],"last_affected":[],"package":"krb5-pkinit-debuginfo","purl":"pkg:rpm/redhat/krb5-pkinit-debuginfo","source":"RHSA-2026:24685"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1.20.1-9.el9_2.6"],"introduced":["0"],"last_affected":[],"package":"krb5-server","purl":"pkg:rpm/redhat/krb5-server","source":"RHSA-2026:24685"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1.20.1-9.el9_2.6"],"introduced":["0"],"last_affected":[],"package":"krb5-server-debuginfo","purl":"pkg:rpm/redhat/krb5-server-debuginfo","source":"RHSA-2026:24685"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1.20.1-9.el9_2.6"],"introduced":["0"],"last_affected":[],"package":"krb5-server-ldap","purl":"pkg:rpm/redhat/krb5-server-ldap","source":"RHSA-2026:24685"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1.20.1-9.el9_2.6"],"introduced":["0"],"last_affected":[],"package":"krb5-server-ldap-debuginfo","purl":"pkg:rpm/redhat/krb5-server-ldap-debuginfo","source":"RHSA-2026:24685"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1.20.1-9.el9_2.6"],"introduced":["0"],"last_affected":[],"package":"krb5-workstation","purl":"pkg:rpm/redhat/krb5-workstation","source":"RHSA-2026:24685"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1.20.1-9.el9_2.6"],"introduced":["0"],"last_affected":[],"package":"krb5-workstation-debuginfo","purl":"pkg:rpm/redhat/krb5-workstation-debuginfo","source":"RHSA-2026:24685"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1.20.1-9.el9_2.6"],"introduced":["0"],"last_affected":[],"package":"libkadm5","purl":"pkg:rpm/redhat/libkadm5","source":"RHSA-2026:24685"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1.20.1-9.el9_2.6"],"introduced":["0"],"last_affected":[],"package":"libkadm5-debuginfo","purl":"pkg:rpm/redhat/libkadm5-debuginfo","source":"RHSA-2026:24685"},{"ecosystem":"Red Hat:rhel_e4s:9.4::appstream","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"krb5-debuginfo","purl":"pkg:rpm/redhat/krb5-debuginfo","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::appstream","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"krb5-debugsource","purl":"pkg:rpm/redhat/krb5-debugsource","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::appstream","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"krb5-devel","purl":"pkg:rpm/redhat/krb5-devel","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::appstream","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"krb5-libs-debuginfo","purl":"pkg:rpm/redhat/krb5-libs-debuginfo","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::appstream","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"krb5-pkinit-debuginfo","purl":"pkg:rpm/redhat/krb5-pkinit-debuginfo","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::appstream","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"krb5-server-debuginfo","purl":"pkg:rpm/redhat/krb5-server-debuginfo","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::appstream","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"krb5-server-ldap-debuginfo","purl":"pkg:rpm/redhat/krb5-server-ldap-debuginfo","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::appstream","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"krb5-workstation-debuginfo","purl":"pkg:rpm/redhat/krb5-workstation-debuginfo","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::appstream","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"libkadm5-debuginfo","purl":"pkg:rpm/redhat/libkadm5-debuginfo","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"krb5","purl":"pkg:rpm/redhat/krb5","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"krb5-debuginfo","purl":"pkg:rpm/redhat/krb5-debuginfo","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"krb5-debugsource","purl":"pkg:rpm/redhat/krb5-debugsource","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"krb5-libs","purl":"pkg:rpm/redhat/krb5-libs","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"krb5-libs-debuginfo","purl":"pkg:rpm/redhat/krb5-libs-debuginfo","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"krb5-pkinit","purl":"pkg:rpm/redhat/krb5-pkinit","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"krb5-pkinit-debuginfo","purl":"pkg:rpm/redhat/krb5-pkinit-debuginfo","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"krb5-server","purl":"pkg:rpm/redhat/krb5-server","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"krb5-server-debuginfo","purl":"pkg:rpm/redhat/krb5-server-debuginfo","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"krb5-server-ldap","purl":"pkg:rpm/redhat/krb5-server-ldap","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"krb5-server-ldap-debuginfo","purl":"pkg:rpm/redhat/krb5-server-ldap-debuginfo","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"krb5-workstation","purl":"pkg:rpm/redhat/krb5-workstation","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"krb5-workstation-debuginfo","purl":"pkg:rpm/redhat/krb5-workstation-debuginfo","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"libkadm5","purl":"pkg:rpm/redhat/libkadm5","source":"RHSA-2026:24686"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:1.21.1-2.el9_4.5"],"introduced":["0"],"last_affected":[],"package":"libkadm5-debuginfo","purl":"pkg:rpm/redhat/libkadm5-debuginfo","source":"RHSA-2026:24686"}],"prev":{"headline":"Null dereference in Kerberos 5","id":"CVE-2026-40355"},"products":["Kerberos 5"],"published":"2026-04-28","related":[{"cvss_score":10,"headline":"Use after free in n/a","id":"CVE-2011-0285","kev_date_added":null,"published":"2011-04-15"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2008-0947","kev_date_added":null,"published":"2008-03-19"},{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2007-5902","kev_date_added":null,"published":"2007-12-06"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2007-4743","kev_date_added":null,"published":"2007-09-06"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2007-3999","kev_date_added":null,"published":"2007-09-05"},{"cvss_score":10,"headline":"Missing authorization in n/a","id":"CVE-2000-0514","kev_date_added":null,"published":"2000-10-13"},{"cvss_score":9.8,"headline":"Memory corruption in krb5 1.5","id":"CVE-2017-15088","kev_date_added":null,"published":"2017-11-23"}],"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-28","vendors":["MIT"]},"summary":"An unauthenticated remote attacker can cause a denial of service via integer underflow in MIT Kerberos when NegoEx is registered.","url":"https://insights.sbomify.com/CVE-2026-40356/"}