CVE-2024-7264
Description
libcurl's ASN1 parser code has the `GTime2str()` function, used for parsing an ASN.1 Generalized Time field. If given an syntactically incorrect field, the parser might end up using -1 for the length of the *time fraction*, leading to a `strlen()` getting performed on a pointer to a heap buffer area that is not (purposely) null terminated. This flaw most likely leads to a crash, but can also lead to heap contents getting returned to the application when [CURLINFO_CERTINFO](https://curl.se/libcurl/c/CURLINFO_CERTINFO.html) is used.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
AlmaLinux Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | mysql-server-8.0.41-2.el9_5.x86_64.rpm |
| 8 | Fixed | mecab-ipadic-2.7.0.20070801-17.module_el8.10.0+3965+b415b607.x86_64.rpm |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 8.9.1-1 |
| sid | Fixed | 8.9.1-1 |
| forky | Fixed | 8.9.1-1 |
| bullseye | Fixed | 7.74.0-1.3+deb11u13 |
| bookworm | Fixed | 7.88.1-10+deb12u7 |
Red Hat Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | โ |
| 8 | Fixed | โ |
Rocky Linux Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | โ |
| 8 | Fixed | โ |
References
- https://access.redhat.com/errata/RHSA-2025:1671
- https://errata.rockylinux.org/RLSA-2025:1673
- https://security-tracker.debian.org/tracker/CVE-2024-7264
- https://www.suse.com/security/cve/CVE-2024-7264.html
- https://errata.rockylinux.org/RLSA-2025:1671
- https://access.redhat.com/errata/RHSA-2025:1673
- https://bugzilla.redhat.com/2294581
- https://bugzilla.redhat.com/2294676
- https://bugzilla.redhat.com/2301888
- https://bugzilla.redhat.com/2318857
- https://bugzilla.redhat.com/2318858
- https://bugzilla.redhat.com/2318870
- https://bugzilla.redhat.com/2318873
- https://bugzilla.redhat.com/2318874
- https://bugzilla.redhat.com/2318876
- https://bugzilla.redhat.com/2318882
- https://bugzilla.redhat.com/2318883
- https://bugzilla.redhat.com/2318884
- https://bugzilla.redhat.com/2318885
- https://bugzilla.redhat.com/2318886
- https://bugzilla.redhat.com/2318897
- https://bugzilla.redhat.com/2318900
- https://bugzilla.redhat.com/2318905
- https://bugzilla.redhat.com/2318914
- https://bugzilla.redhat.com/2318922
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.