{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-124077 in the wild and no public exploit code.","exposure":"","fix":"Upgrade to a fixed version.","what":"CVE-2026-124077 is a medium-severity vulnerability in Apache Commons Codec, published on 9 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-124077 and fix it if it is affected.\n\nWhat it is: CVE-2026-124077 is a medium-severity vulnerability in Apache Commons Codec, published on 9 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-124077 in the wild and no public exploit code.\n\nAffected product: Apache Commons Codec. 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-124077/ (Markdown: https://insights.sbomify.com/CVE-2026-124077/index.md)","id":"CVE-2026-124077","markdown":"https://insights.sbomify.com/CVE-2026-124077/index.md","name":"CVE-2026-124077","record":{"aliases":["CLEANSTART-2026-EU04352","GHSA-26mf-gqw6-894w","UBUNTU-CVE-2026-124077"],"analysis":null,"analysis_generated_by":null,"assigner":"apache","cpe":[],"cvss":{"score":4.3,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-158","name":"Improper Neutralization of Null Byte or NUL Character"}],"description":"The GitIdentifiers class in Apache Commons Codec did not reject NUL bytes in tree entry names. Because Git uses a NUL byte to mark the end of each entry name in a tree object, a crafted name could make one tree serialize to the same bytes as a different tree. Two different directory trees could then receive the same Git tree identifier or SWHID.\n\nThe impact is limited: common file systems do not allow NUL bytes in file names, so trees built by walking a file system are not affected. Only applications that build trees from names supplied by other sources, such as entries of archive formats that permit NUL bytes in names (e.g. ZIP) or names passed directly to the API, are exposed.\n\nThis issue affects Apache Commons Codec: from 1.22.0 before 1.23.0.\n\nUsers are recommended to upgrade to version 1.23.0, which fixes the issue.","ecosystems":[],"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":"Apache Commons Codec: NUL bytes in tree entry names cause Git/SWHID identifier collisions (GitIdentifiers class)","id":"CVE-2026-124077","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"plist.js before 5.0.1 Uncontrolled Resource Consumption via Binary Parser","id":"CVE-2026-124078"},"nickname":null,"packages":[],"prev":{"headline":"TOTOLINK CA300-PoE cstecgi.cgi UploadCustomModule buffer overflow","id":"CVE-2026-124060"},"products":["Apache Commons Codec"],"published":"2026-11-09","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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-11-12","vendors":["Apache Software Foundation"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-124077/"}