Paper published in a book (Scientific congresses, symposiums and conference proceedings)
Hard-to-Find Bugs in Public-Key Cryptographic Software: Classification and Test Methodologies
STEINBACH, Matteo; GROSZSCHÄDL, Johann; ROENNE, Peter
2025In Karfa, Chandan; Navid, Asadi; Chattopadhyay, Anupam (Eds.) Security, Privacy, and Applied Cryptography Engineering, 15th International Conference, SPACE 2025, Guwahati, India, December 16–19, 2025, Proceedings
Peer reviewed
 

Files


Full Text
SPACE2025.pdf
Author preprint (366.75 kB) Creative Commons License - Attribution, Non-Commercial
Request a copy

All documents in ORBilu are protected by a user license.

Send to



Details



Keywords :
Public-Key Cryptography; Cryptographic Software; Hard-to-Find Bugs; Software Testing; Formal Verification
Abstract :
[en] Programming bugs and flaws can have fatal consequences for the security of cryptographic software and may allow an attacker to bypass authentication, forge signatures, decrypt sensitive data, or even completely reveal secret keys. Certain categories of bugs, such as subtle carry-propagation flaws in large-integer or prime-field arithmetic carried out by many public-key cryptosystems, manifest only under very specific and, therefore, extremely rare input conditions, which makes them hard to detect with conventional software testing methodologies. While there exist a few papers that describe such Hard-to-Find Bugs (HFBs) and study their security implications, a more comprehensive treatment and systematization are still lacking. The present paper aims to fill this gap and analyzes the challenges posed by HFBs in software implementations of public-key cryptosystems. More concretely, we define and categorize HFBs, provide a survey of HFBs that have been found in widely-used open-source cryptography libraries (some of which remained undetected for up to 10 years), and discuss the benefits and limitations of common testing and prevention techniques, including differential testing, static analysis, fuzzing, formal verification, and Known Answer Tests (KATs) tailored to HFBs. Raising awareness of HFBs is important for software developers and security auditors who implement and test cryptographic algorithms for mission-critical systems where correctness and robustness are paramount. By shedding light on subtle implementation flaws and how to reduce their occurrence, this paper contributes to improving the real-world security of public-key cryptosystems.
Disciplines :
Computer science
Author, co-author :
STEINBACH, Matteo ;  University of Luxembourg
GROSZSCHÄDL, Johann ;  University of Luxembourg > Faculty of Science, Technology and Medicine (FSTM) > Department of Computer Science (DCS)
ROENNE, Peter  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > APSIA
External co-authors :
no
Language :
English
Title :
Hard-to-Find Bugs in Public-Key Cryptographic Software: Classification and Test Methodologies
Publication date :
December 2025
Event name :
15th International Conference on Security, Privacy and Applied Cryptographic Engineering (SPACE 2025)
Event date :
from 16 to 19 December 2025
Audience :
International
Main work title :
Security, Privacy, and Applied Cryptography Engineering, 15th International Conference, SPACE 2025, Guwahati, India, December 16–19, 2025, Proceedings
Editor :
Karfa, Chandan
Navid, Asadi
Chattopadhyay, Anupam
Publisher :
Springer Verlag, Cham, Switzerland
Collection name :
volume 16406 of Lecture Notes in Computer Science
Peer reviewed :
Peer reviewed
Available on ORBilu :
since 31 January 2026

Statistics


Number of views
16 (3 by Unilu)
Number of downloads
1 (1 by Unilu)

Bibliography


Similar publications



Contact ORBilu