Memory corruption via oversized certificate SubjectAltName
Published Sep 4, 2026 · Updated Sep 4, 2026
Stack buffer overflow in PJPROJECT 2.17 and earlier allows remote attackers to corrupt memory via a crafted TLS peer certificate. The SAN-counting loop in tls_cert_get_info() passes a stale 512-byte length to GnuTLS for a 256-byte stack buffer, allowing an oversized SubjectAltName to overwrite adjacent stack memory. Exploitation requires a GnuTLS build and control of the peer certificate during the TLS handshake; outcomes range from application termination to control-flow hijack.
Summary
What happened
Stack buffer overflow in PJPROJECT 2.17 and earlier allows remote attackers to corrupt memory via a crafted TLS peer certificate. The SAN-counting loop in tls_cert_get_info() passes a stale 512-byte length to GnuTLS for a 256-byte stack buffer, allowing an oversized SubjectAltName to overwrite adjacent stack memory. Exploitation requires a GnuTLS build and control of the peer certificate during the TLS handshake; outcomes range from application termination to control-flow hijack.
The record
- CVE
- CVE-2026-57163
- Published
- Sep 4, 2026
- Updated
- Sep 4, 2026
- Vendor
- PJSIP
- Product
- PJPROJECT
- Classifications
- CWE-121, T1499.004, T1203, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 4, 2026CVE publishedPublication date reported by the CVE source.
- Sep 4, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< c4a151af86fadd16d9480b2603eeb2abf4fb4f78
What conditions does exploitation require?
What is affected?
Published CVSS scores
No CVSS assessment is available in this record.
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo