{"id":"JLSEC-2025-237","aliases":["JLSEC-2025-237"],"related":["CVE-2022-36227"],"kind":"vulnerability","state":"published","title":"In libarchive before 3.6.2, the software does not check for an error after calling calloc function...","summary":"In libarchive before 3.6.2, the software does not check for an error after calling calloc function that can return with a NULL pointer if the function fails, which leads to a resultant NULL pointer dereference. NOTE: the discoverer cites this CWE-476 remark but third parties dispute the code-execution impact: \"In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution.\"","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"In libarchive before 3.6.2, the software does not check for an error after calling calloc function that can return with a NULL pointer if the function fails, which leads to a resultant NULL pointer dereference. NOTE: the discoverer cites this CWE-476 remark but third parties dispute the code-execution impact: \"In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution.\"","format":"markdown","source":"jlsec"}],"published":"2025-11-25T22:03:17.636Z","modified":"2026-07-23T22:30:22.768Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.7.4+0"}],"ecosystem":"Julia","package":"LibArchive_jll","purl":"pkg:julia/LibArchive_jll?uuid=1e303b3e-d4db-56ce-88c4-91e52606a1a8","source":"jlsec"}],"references":[{"url":"https://bugs.gentoo.org/882521","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/libarchive/libarchive/blob/v3.0.0a/libarchive/archive_write.c#L215","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/libarchive/libarchive/issues/1754","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00034.html","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00007.html","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V67OO2UUQAUJS3IK4JZPF6F3LUCBU6IS/","tags":["web"],"sources":["jlsec"]},{"url":"https://security.gentoo.org/glsa/202309-14","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2025-237","url":"https://osv.dev/vulnerability/JLSEC-2025-237","licence":"CC-BY-4.0","modified":"2026-07-23T22:30:22.768Z"}],"updatedAt":"2026-11-25T22:56:25.778Z"}