# CVE-2024-12797: RFC7250 handshakes with unauthenticated servers don't abort as expected

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.4 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2025-02-11 · Modified: 2026-11-06
- Aliases: ALPINE-CVE-2024-12797, GHSA-79v4-65xg-pq4g, PYSEC-2026-1284, RHBA-2025:6314, RHSA-2025:1330, UBUNTU-CVE-2024-12797, DEBIAN-CVE-2024-12797, CGA-24h4-2fjp-qc3h, CGA-2rx7-xvj2-56rj, CGA-37fp-mmqg-3q9g, CGA-3j64-9qv6-64hf, CGA-3mxj-fmfh-wpc9, CGA-3vgw-w5rx-xc3f, CGA-3x22-m4c5-p86m, CGA-49cr-mm9r-q3p7, CGA-4c67-5j95-95qj, CGA-55w9-xp74-623v, CGA-594m-rhx6-35m3, CGA-5g87-f7m3-c569, CGA-76rr-4qhm-3rgq, CGA-774f-8rq4-86wh, CGA-7j24-mmg7-jvqj, CGA-7mhx-jrfw-ch4p, CGA-7wh2-f62p-6hfw, CGA-87cg-5wcg-ffmg, CGA-87mf-f9m2-45x7, CGA-92qv-rprv-357h, CGA-95p7-74f6-gq84, CGA-9cxq-w645-xm34, CGA-9fj3-xppg-wcjv, CGA-9jvw-6xxq-p3wr, CGA-9v4w-gpp8-7gfq, CGA-c9vm-g6vw-879q, CGA-f9h4-xr8g-3865, CGA-fc8x-4ch4-ccg4, CGA-fchg-4494-99h3, CGA-fh3h-53cp-gv5j, CGA-g4mv-hc56-c983, CGA-g9jv-2rw3-6mmr, CGA-g9p5-5xh6-vgwp, CGA-gc9q-24qc-mj6h, CGA-gwwh-43f5-mr9q, CGA-h6v3-xwpj-mc4j, CGA-h83m-9736-3w6x, CGA-hqv3-jqp9-xqjg, CGA-hx3h-pjxh-589j, CGA-j6c9-7j7g-f8fc, CGA-j846-g7qh-6rgc, CGA-mhjg-86jc-c5p9, CGA-mp5r-429m-hgxq, CGA-mqvx-vm3h-m9q6, CGA-mvvj-r79f-46qv, CGA-ph5q-rqfm-4wmp, CGA-pq63-6gpw-6r68, CGA-q23x-xmqq-3j47, CGA-q36h-xcpv-f4fc, CGA-q5hx-gm99-5r2h, CGA-q8x7-9mpw-xr25, CGA-qfm7-xp8q-m759, CGA-qg9p-hq2h-xcg6, CGA-qvc2-3qcp-7rhj, CGA-r27g-c65r-g5xf, CGA-r298-6q8v-7q3j, CGA-rmmf-p84p-76wc, CGA-rrcv-q2xw-hgmc, CGA-rv3x-j9v6-vg56, CGA-rxrr-phwf-xqr8, CGA-v5xx-q5q6-mjww, CGA-vmcp-73h8-xqvf, CGA-vp62-wxx5-34q7, CGA-vq2j-g4wg-qgq4, CGA-w4x4-5pgx-h7c6, CGA-w7rr-v9fw-7f5h, CGA-x36x-j5jp-35vx, CGA-x44j-9rpv-q228, CGA-x82x-58x4-346h, CGA-xhf2-rwcg-8vrq, CGA-xqv5-gwhp-g2c5, openSUSE-SU-2025:14802-1, CGA-2p8h-3j4m-h4pq, CGA-2qhm-j685-mcj3, CGA-2r4v-xf9f-8hxw, CGA-3xq2-mfhg-896x, CGA-3xr9-vh73-wqvj, CGA-59qh-wrpf-vr7r, CGA-5mrp-839w-p38j, CGA-63cg-7f6w-8gmx, CGA-6h8c-qj58-hwx5, CGA-6m35-72qr-f4xh, CGA-7vm9-qx92-w74j, CGA-833g-p5fv-2c7m, CGA-8r67-3vfr-hc5q, CGA-9qfv-hggj-7f6j, CGA-c358-p4jc-pqw8, CGA-c8q9-wvxh-4cp5, CGA-cg8c-f694-wphp, CGA-chm9-fvxf-xr23, CGA-cp8j-c3hr-gx7q, CGA-cwx5-4x2h-x35c, CGA-cx32-p8w3-fq92, CGA-fcw3-mr5m-3gcj, CGA-fh9f-2xmq-jw7r, CGA-ggp7-gf39-w8wp, CGA-grjg-cx2p-v9h8, CGA-gv4h-x8fm-rmh9, CGA-gvm9-357q-c2mj, CGA-gwvr-f254-86xp, CGA-h4mc-g78r-fvr5, CGA-h9p5-2c2w-rfmr, CGA-hj43-p3hr-w284, CGA-hwf5-cqwr-ghf3, CGA-hxmv-9466-qc44, CGA-j528-mgwj-4gq8, CGA-jpwh-2g7w-9r73, CGA-m57x-h96p-5q6c, CGA-m7m7-jv8w-57w3, CGA-mg23-54mc-3x63, CGA-mm6w-jj3h-mvx3, CGA-mqjj-9jm9-f6gj, CGA-mwcq-9842-v3pp, CGA-p48r-v3gr-c843, CGA-pgp2-hg5v-h556, CGA-pp45-qh2p-36pm, CGA-q3q7-hfp6-wfm2, CGA-q3qh-w5g7-r5gx, CGA-q6c4-x8p7-c358, CGA-q974-xmf9-vv4v, CGA-qqgc-q456-5r7v, CGA-rm58-xg5q-c42h, CGA-rm8m-m67w-pf7h, CGA-rvhm-pvrx-c998, CGA-rxg2-86xf-r3m7, CGA-v6v5-cwwj-542m, CGA-vgc5-m9r4-rmg4, CGA-vj37-62vw-cwj8, CGA-vr3v-fx66-qp4j, CGA-w5gr-9756-p3jm, CGA-wcx7-8j93-rcqh, CGA-wr5q-m9mc-q37x, CGA-wwg3-9p4q-jm5c, CGA-x62x-fvc7-g6cg, CGA-x637-pc87-xq6p, CGA-x96g-c46g-554v, CGA-xh3h-r76w-5v92
- Record: https://cvemate.com/vulnerability/CVE-2024-12797 · JSON: https://cvemate.com/vulnerability/CVE-2024-12797/json

## Description

```text
Issue summary: Clients using RFC7250 Raw Public Keys (RPKs) to authenticate a
server may fail to notice that the server was not authenticated, because
handshakes don't abort as expected when the SSL_VERIFY_PEER verification mode
is set.

Impact summary: TLS and DTLS connections using raw public keys may be
vulnerable to man-in-middle attacks when server authentication failure is not
detected by clients.

RPKs are disabled by default in both TLS clients and TLS servers.  The issue
only arises when TLS clients explicitly enable RPK use by the server, and the
server, likewise, enables sending of an RPK instead of an X.509 certificate
chain.  The affected clients are those that then rely on the handshake to
fail when the server's RPK fails to match one of the expected public keys,
by setting the verification mode to SSL_VERIFY_PEER.

Clients that enable server-side raw public keys can still find out that raw
public key verification failed by calling SSL_get_verify_result(), and those
that do, and take appropriate action, are not affected.  This issue was
introduced in the initial implementation of RPK support in OpenSSL 3.2.

The FIPS modules in 3.4, 3.3, 3.2, 3.1 and 3.0 are not affected by this issue.
```

## Signals

- CVSS: 7.4 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS: 1.854%, percentile 79.883%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 129)

- alpine openssl (Alpine Linux): \< 3.3.3-r0 \| ≥ 3.2.0, \< 3.3.3-r0 \| ≥ 3.3.0, \< 3.3.3-r0
- chainguard airflow (Chainguard): \< 2.10.5-r1
- chainguard airflow-bitnami-compat (Chainguard): \< 2.10.5-r1
- chainguard airflow-core-3 (Chainguard): \< 3.1.1-r1
- chainguard airflow-core-3-compat (Chainguard): \< 3.1.1-r1
- chainguard airflow-core-3-oci-entrypoint (Chainguard): \< 3.1.1-r1
- chainguard ansible-operator (Chainguard): \< 1.37.1-r3
- chainguard ansible-operator-compat (Chainguard): \< 1.37.1-r3
- chainguard apache-beam-python-3.11-sdk (Chainguard): \< 2.63.0-r0
- chainguard az (Chainguard): \< 2.69.0-r1
- chainguard az-iamguarded-compat (Chainguard): \< 2.69.0-r1
- chainguard barman (Chainguard): \< 3.13.0-r0
- chainguard barman-cloudnative-pg (Chainguard): \< 3.13.0-r0
- chainguard ggshield (Chainguard): \< 1.37.0-r0
- chainguard gitlab-cng-18.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-cng-18.9 (Chainguard): \< 18.9.1-r0
- chainguard gitlab-cng-fips-18.9 (Chainguard): \< 18.9.1-r0
- chainguard gitlab-logger-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-logger-18.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-logger-fips-18.1 (Chainguard): All versions (No fix recorded)

## References (first 20 of 34)

- <https://openssl-library.org/news/secadv/20250211.txt>
- <https://github.com/openssl/openssl/commit/738d4f9fdeaad57660dcba50a619fafced3fd5e9>
- <https://github.com/openssl/openssl/commit/87ebd203feffcf92ad5889df92f90bb0ee10a699>
- <https://github.com/openssl/openssl/commit/798779d43494549b611233f92652f0da5328fbe7>
- <http://www.openwall.com/lists/oss-security/2025/02/11/3>
- <http://www.openwall.com/lists/oss-security/2025/02/11/4>
- <https://security.netapp.com/advisory/ntap-20250214-0001/>
- <https://security.alpinelinux.org/vuln/CVE-2024-12797>
- <https://github.com/pyca/cryptography/security/advisories/GHSA-79v4-65xg-pq4g>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-12797>
- <https://github.com/pyca/cryptography>
- <https://pypi.org/project/cryptography>
- <https://github.com/advisories/GHSA-79v4-65xg-pq4g>
- <https://access.redhat.com/errata/RHBA-2025:6314>
- <https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/10.0_release_notes/index>
- <https://issues.redhat.com/browse/RHEL-58178>
- <https://issues.redhat.com/browse/RHEL-66163>
- <https://issues.redhat.com/browse/RHEL-71132>
- <https://issues.redhat.com/browse/RHEL-71903>
- <https://issues.redhat.com/browse/RHEL-73170>

---

Data as of 2026-12-05T03:10:19.178Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
